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

char * PoDoFo::PdfRefCountedBuffer::GetBuffer (  ) const [inline]

Append to the current buffers contents. If the buffer is referenced by another PdfRefCountedBuffer this object detaches from this buffer and allocates an own buffer. Otherwise the internal buffer is used and resized if necessary.

Parameters:
pszStringa buffer
lLenlength of the buffer Get access to the buffer
Returns:
the buffer

Definition at line 239 of file PdfRefCountedBuffer.h.

Referenced by PoDoFo::PdfParser::FindToken(), PoDoFo::PdfParser::FindToken2(), PoDoFo::PdfMemStream::FlateCompressStreamData(), PoDoFo::PdfMemStream::Get(), PoDoFo::PdfMemStream::GetCopy(), PoDoFo::PdfFontMetricsFreetype::GetFontData(), PoDoFo::PdfMemStream::GetInternalBuffer(), PoDoFo::PdfTokenizer::GetNextToken(), PoDoFo::PdfString::GetString(), PoDoFo::PdfString::GetUnicode(), PoDoFo::PdfParser::HasLinearizationDict(), PoDoFo::PdfString::Init(), PoDoFo::PdfFontMetricsFreetype::InitFromBuffer(), PoDoFo::PdfMemDocument::InitFromParser(), PoDoFo::PdfString::InitFromUtf8(), PoDoFo::PdfString::InitUtf8(), PoDoFo::PdfParser::IsPdfFile(), PoDoFo::PdfString::IsValid(), PoDoFo::PdfFontMetricsFreetype::PdfFontMetricsFreetype(), PoDoFo::PdfString::PdfString(), PoDoFo::PdfOutputDevice::Print(), PoDoFo::PdfParser::ReadXRefSubsection(), ReallyDetach(), PoDoFo::PdfContentsTokenizer::SetCurrentContentsStream(), PoDoFo::PdfString::SetHexData(), PoDoFo::PdfString::Write(), PoDoFo::PdfBufferOutputStream::Write(), PoDoFo::PdfOutputDevice::Write(), PoDoFo::PdfFont::WriteStringToStream(), and PoDoFo::NonPublic::PdfTTFWriter::WriteTable().

{
    if (!m_pBuffer) return NULL;
    return m_pBuffer->GetRealBuffer();
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index