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

const pdf_utf16be * PoDoFo::PdfString::GetUnicode (  ) const [inline]

The contents of the strings can be read by this function.

The returned data is never hex encoded any maycontain 0 bytes.

if IsUnicode() returns true, the return value points to a UTF-16BE string buffer with Length() characters. Better use GetUnicode() in this case.

the strings contents which is guaranteed to be zero terminated but might also contain 0 bytes in the string.
See also:

Definition at line 463 of file PdfString.h.

References PoDoFo::PdfRefCountedBuffer::GetBuffer(), and m_buffer.

Referenced by PoDoFo::PdfDifferenceEncoding::ConvertToEncoding(), PoDoFo::PdfDifferenceEncoding::ConvertToUnicode(), PoDoFo::PdfPainter::DrawText(), PoDoFo::PdfPainter::ExpandTabs(), and PoDoFo::PdfFontMetrics::StringWidth().

    return reinterpret_cast<pdf_utf16be*>(m_buffer.GetBuffer());

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index