LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
RtfStringBufferValue Class Reference

Contains a buffered string or graphic during RTF export. More...

#include <rtfstringbuffer.hxx>

Collaboration diagram for RtfStringBufferValue:
[legend]

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 SwFlyFrameFormatm_pFlyFrameFormat = nullptr
 
const SwGrfNodem_pGrfNode = nullptr
 

Detailed Description

Contains a buffered string or graphic during RTF export.

Definition at line 20 of file rtfstringbuffer.hxx.

Constructor & Destructor Documentation

RtfStringBufferValue::RtfStringBufferValue ( )
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.

Member Function Documentation

OStringBuffer& RtfStringBufferValue::getBuffer ( )
inline

Definition at line 32 of file rtfstringbuffer.hxx.

References m_aBuffer.

const OStringBuffer& RtfStringBufferValue::getBuffer ( ) const
inline

Definition at line 33 of file rtfstringbuffer.hxx.

References m_aBuffer.

bool RtfStringBufferValue::isGraphic ( ) const

Definition at line 32 of file rtfstringbuffer.cxx.

References m_pFlyFrameFormat, and m_pGrfNode.

Referenced by makeStringAndClear().

void RtfStringBufferValue::makeStringAndClear ( RtfAttributeOutput pAttributeOutput)
OString RtfStringBufferValue::makeStringAndClear ( )

This one doesn't.

Definition at line 30 of file rtfstringbuffer.cxx.

References m_aBuffer.

Member Data Documentation

OStringBuffer RtfStringBufferValue::m_aBuffer
private

Definition at line 36 of file rtfstringbuffer.hxx.

Referenced by getBuffer(), and makeStringAndClear().

const SwFlyFrameFormat* RtfStringBufferValue::m_pFlyFrameFormat = nullptr
private

Definition at line 37 of file rtfstringbuffer.hxx.

Referenced by isGraphic(), and makeStringAndClear().

const SwGrfNode* RtfStringBufferValue::m_pGrfNode = nullptr
private

Definition at line 38 of file rtfstringbuffer.hxx.

Referenced by isGraphic(), and makeStringAndClear().


The documentation for this class was generated from the following files: