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 """. Characters 0x01 through 0x1f are also escaped.

Definition at line 1140 of file GString.h.

References GUTF8String(), and GPBase::ptr.

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

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


Generated by  Doxygen 1.6.0   Back to index