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

const char * PoDoFo::PdfString::GetString (  ) const [inline]

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

The returned data is never hex encoded may contain 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.

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

Definition at line 455 of file PdfString.h.

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

Referenced by TextExtractor::AddTextElement(), PoDoFo::PdfFontType1::AddUsedSubsettingGlyphs(), PoDoFo::PdfEncrypt::Authenticate(), PoDoFo::PdfPainter::DrawMultiLineText(), PoDoFo::PdfPainter::DrawText(), PoDoFo::PdfPainter::ExpandTabs(), PoDoFo::PdfEncrypt::GenerateEncryptionKey(), operator<(), operator>(), PoDoFo::PdfTextField::SetText(), PoDoFo::PdfFontMetrics::StringWidth(), and Write().

{
    return 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