9#ifndef INCLUDED_SW_SOURCE_FILTER_WW8_RTFSTRINGBUFFER_HXX
10#define INCLUDED_SW_SOURCE_FILTER_WW8_RTFSTRINGBUFFER_HXX
12#include <rtl/strbuf.hxx>
63 using Values_t = std::vector<RtfStringBufferValue>;
The class that has handlers for various resource types when exporting as RTF.
Contains a buffered string or graphic during RTF export.
const SwGrfNode * m_pGrfNode
OStringBuffer & getBuffer()
OString makeStringAndClear()
This one doesn't.
const OStringBuffer & getBuffer() const
const SwFlyFrameFormat * m_pFlyFrameFormat
RtfStringBufferValue()
Constructor for a string buffering.
Wrapper around OStringBuffers, so less hexdump of graphics have to be kept in memory during RTF expor...
void clear()
Similar to ->setLength(0), but for all buffers.
void append(const SwFlyFrameFormat *pFlyFrameFormat, const SwGrfNode *pGrfNode)
Same as ->append(), but for graphics and without expanding contents to save memory.
OStringBuffer & getLastBuffer()
Access to the last buffer.
void appendAndClear(RtfStringBuffer &rBuf)
Append all contained buffers and clear the argument.
OString makeStringAndClear()
Returns the buffered strings as a string (ignores graphic elements!)
OStringBuffer * operator->()
std::vector< RtfStringBufferValue > Values_t
sal_Int32 getLength() const
Length of all the contained buffers.