Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

GUTF8String GUTF8String::toEscaped ( const bool  tosevenbit = false ) const [inline]

Returns a copy of this string with characters used in XML with '<' to "&lt;", '>' to "&gt;", '&' to "&amp;" '\'' to "&apos;", and '"' to "&quot;". Characters 0x01 through 0x1f are also escaped.

Definition at line 1155 of file GString.h.

Referenced by DjVuAnno::get_xmlmap(), DjVuANT::get_xmlmap(), DjVuANT::writeMap(), and DjVuImage::writeXML().

{ return ptr?GUTF8String((*this)->toEscaped(tosevenbit)):(*this); }

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index