|
LibreOffice Module sw (master) 1
|
Contains a buffered string or graphic during RTF export. More...
#include <rtfstringbuffer.hxx>
Public Member Functions | |
| RtfStringBufferValue () | |
| Constructor for a string buffering. More... | |
| RtfStringBufferValue (const SwFlyFrameFormat *pFlyFrameFormat, const SwGrfNode *pGrfNode) | |
| Constructor for graphic buffering. More... | |
| void | makeStringAndClear (RtfAttributeOutput *pAttributeOutput) |
| This version handles graphics. More... | |
| OString | makeStringAndClear () |
| This one doesn't. More... | |
| bool | isGraphic () const |
| OStringBuffer & | getBuffer () |
| const OStringBuffer & | getBuffer () const |
Private Attributes | |
| OStringBuffer | m_aBuffer |
| const SwFlyFrameFormat * | m_pFlyFrameFormat = nullptr |
| const SwGrfNode * | m_pGrfNode = nullptr |
Contains a buffered string or graphic during RTF export.
Definition at line 20 of file rtfstringbuffer.hxx.
|
default |
Constructor for a string buffering.
| RtfStringBufferValue::RtfStringBufferValue | ( | const SwFlyFrameFormat * | pFlyFrameFormat, |
| const SwGrfNode * | pGrfNode | ||
| ) |
Constructor for graphic buffering.
Definition at line 15 of file rtfstringbuffer.cxx.
|
inline |
Definition at line 32 of file rtfstringbuffer.hxx.
References m_aBuffer.
|
inline |
Definition at line 33 of file rtfstringbuffer.hxx.
References m_aBuffer.
| bool RtfStringBufferValue::isGraphic | ( | ) | const |
Definition at line 35 of file rtfstringbuffer.cxx.
References m_pFlyFrameFormat, and m_pGrfNode.
Referenced by makeStringAndClear().
| OString RtfStringBufferValue::makeStringAndClear | ( | ) |
| void RtfStringBufferValue::makeStringAndClear | ( | RtfAttributeOutput * | pAttributeOutput | ) |
This version handles graphics.
Definition at line 22 of file rtfstringbuffer.cxx.
References RtfAttributeOutput::FlyFrameGraphic(), isGraphic(), m_aBuffer, m_pFlyFrameFormat, m_pGrfNode, RtfAttributeOutput::m_rExport, RtfExport::Strm(), and SvStream::WriteOString().
|
private |
Definition at line 36 of file rtfstringbuffer.hxx.
Referenced by getBuffer(), and makeStringAndClear().
|
private |
Definition at line 37 of file rtfstringbuffer.hxx.
Referenced by isGraphic(), and makeStringAndClear().
|
private |
Definition at line 38 of file rtfstringbuffer.hxx.
Referenced by isGraphic(), and makeStringAndClear().