17    : m_pFlyFrameFormat(pFlyFrameFormat)
 
   18    , m_pGrfNode(pGrfNode)
 
   46        if (!rValue.isGraphic())
 
   47            nRet += rValue.getBuffer().getLength();
 
   54        rValue.makeStringAndClear(pAttributeOutput);
 
   61        if (!rValue.isGraphic())
 
   62            aBuf.append(rValue.makeStringAndClear());
 
   63    return aBuf.makeStringAndClear();
 
   79    m_aValues.emplace_back(pFlyFrameFormat, pGrfNode);
 
The class that has handlers for various resource types when exporting as RTF.
 
RtfExport & m_rExport
Reference to the export, where to get the data from.
 
void FlyFrameGraphic(const SwFlyFrameFormat *pFlyFrameFormat, const SwGrfNode *pGrfNode)
Output graphic fly frames.
 
const SwGrfNode * m_pGrfNode
 
OString makeStringAndClear()
This one doesn't.
 
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->()
 
sal_Int32 getLength() const
Length of all the contained buffers.
 
SvStream & WriteOString(std::string_view rStr)