From 74ecac1facda055f1c30977bc580c31242dad9e2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Oct 2006 08:03:38 +0000 Subject: [PATCH] fixed bad DetachRoot link git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/xmldocument.tex | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/docs/latex/wx/xmldocument.tex b/docs/latex/wx/xmldocument.tex index 9eafe3d020..cdc5ed9ad4 100644 --- a/docs/latex/wx/xmldocument.tex +++ b/docs/latex/wx/xmldocument.tex @@ -86,6 +86,7 @@ doc.Save(wxT("myfile2.xml")); // myfile2.xml != myfile.xml \latexignore{\rtfignore{\wxheading{Members}}} + \membersection{wxXmlDocument::wxXmlDocument}\label{wxxmldocumentwxxmldocument} \func{}{wxXmlDocument}{\void} @@ -103,6 +104,7 @@ Loads the XML document from given stream using the given encoding. See \helpref{ Copy constructor. + \membersection{wxXmlDocument::\destruct{wxXmlDocument}}\label{wxxmldocumentdtor} \func{}{\destruct{wxXmlDocument}}{\void} @@ -110,6 +112,7 @@ Copy constructor. Virtual destructor. Frees the document root node. + \membersection{wxXmlDocument::DetachRoot}\label{wxxmldocumentdetachroot} \func{wxXmlNode*}{DetachRoot}{\void} @@ -120,6 +123,7 @@ and thus \helpref{IsOk}{wxxmldocumentisok} will return \false after calling this Note that the caller is reponsible for deleting the returned node in order to avoid memory leaks. + \membersection{wxXmlDocument::GetEncoding}\label{wxxmldocumentgetencoding} \constfunc{wxString}{GetEncoding}{\void} @@ -130,6 +134,7 @@ Returns encoding of in-memory representation of the document NB: this is meaningless in Unicode build where data are stored as wchar\_t*. + \membersection{wxXmlDocument::GetFileEncoding}\label{wxxmldocumentgetfileencoding} \constfunc{wxString}{GetFileEncoding}{\void} @@ -140,6 +145,7 @@ Note: this is the encoding original file was saved in, *not* the encoding of in-memory representation! + \membersection{wxXmlDocument::GetRoot}\label{wxxmldocumentgetroot} \constfunc{wxXmlNode*}{GetRoot}{\void} @@ -147,6 +153,7 @@ encoding of in-memory representation! Returns the root node of the document. + \membersection{wxXmlDocument::GetVersion}\label{wxxmldocumentgetversion} \constfunc{wxString}{GetVersion}{\void} @@ -157,6 +164,7 @@ If the version property was not explicitely given in the header, this function returns an empty string. + \membersection{wxXmlDocument::IsOk}\label{wxxmldocumentisok} \constfunc{bool}{IsOk}{\void} @@ -164,6 +172,7 @@ returns an empty string. Returns \true if the document has been loaded successfully. + \membersection{wxXmlDocument::Load}\label{wxxmldocumentload} \func{bool}{Load}{\param{const wxString\& }{filename}, \param{const wxString\& }{encoding = wxT("UTF-8")}, \param{int }{flags = wxXMLDOC\_NONE}} @@ -183,6 +192,7 @@ Returns \true on success, \false otherwise. Like above but takes the data from given input stream. + \membersection{wxXmlDocument::Save}\label{wxxmldocumentsave} \constfunc{bool}{Save}{\param{const wxString\& }{filename}, \param{int }{indentstep = 1}} @@ -197,25 +207,29 @@ If {\tt indentstep} is {\tt wxXML\_NO\_INDENTATION}, then, automatic indentation Saves XML tree in the given output stream. See other overload for a description of {\tt indentstep}. + \membersection{wxXmlDocument::SetEncoding}\label{wxxmldocumentsetencoding} \func{void}{SetEncoding}{\param{const wxString\& }{enc}} Sets the enconding of the document. + \membersection{wxXmlDocument::SetFileEncoding}\label{wxxmldocumentsetfileencoding} \func{void}{SetFileEncoding}{\param{const wxString\& }{encoding}} Sets the enconding of the file which will be used to save the document. + \membersection{wxXmlDocument::SetRoot}\label{wxxmldocumentsetroot} \func{void}{SetRoot}{\param{wxXmlNode* }{node}} Sets the root node of this document. Deletes previous root node. -Use \helpref{DetachRoot}{wxxmlnodedetachroot} and then SetRoot if you want to -replace the root node without deleting the old document tree. +Use \helpref{DetachRoot}{wxxmldocumentdetachroot} and then SetRoot if you want +to replace the root node without deleting the old document tree. + \membersection{wxXmlDocument::SetVersion}\label{wxxmldocumentsetversion} @@ -223,6 +237,7 @@ replace the root node without deleting the old document tree. Sets the version of the XML file which will be used to save the document. + \membersection{wxXmlDocument::operator=}\label{wxxmldocumentoperatorassign} \func{wxXmlDocument\& operator}{operator=}{\param{const wxXmlDocument\& }{doc}} -- 2.45.2