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() [1/2]

RtfStringBufferValue::RtfStringBufferValue ( )
default

Constructor for a string buffering.

◆ RtfStringBufferValue() [2/2]

RtfStringBufferValue::RtfStringBufferValue ( const SwFlyFrameFormat pFlyFrameFormat,
const SwGrfNode pGrfNode 
)

Constructor for graphic buffering.

Definition at line 15 of file rtfstringbuffer.cxx.

Member Function Documentation

◆ getBuffer() [1/2]

OStringBuffer & RtfStringBufferValue::getBuffer ( )
inline

Definition at line 32 of file rtfstringbuffer.hxx.

References m_aBuffer.

◆ getBuffer() [2/2]

const OStringBuffer & RtfStringBufferValue::getBuffer ( ) const
inline

Definition at line 33 of file rtfstringbuffer.hxx.

References m_aBuffer.

◆ isGraphic()

bool RtfStringBufferValue::isGraphic ( ) const

Definition at line 35 of file rtfstringbuffer.cxx.

References m_pFlyFrameFormat, and m_pGrfNode.

Referenced by makeStringAndClear().

◆ makeStringAndClear() [1/2]

OString RtfStringBufferValue::makeStringAndClear ( )

This one doesn't.

Definition at line 33 of file rtfstringbuffer.cxx.

References m_aBuffer.

◆ makeStringAndClear() [2/2]

void RtfStringBufferValue::makeStringAndClear ( RtfAttributeOutput pAttributeOutput)

Member Data Documentation

◆ m_aBuffer

OStringBuffer RtfStringBufferValue::m_aBuffer
private

Definition at line 36 of file rtfstringbuffer.hxx.

Referenced by getBuffer(), and makeStringAndClear().

◆ m_pFlyFrameFormat

const SwFlyFrameFormat* RtfStringBufferValue::m_pFlyFrameFormat = nullptr
private

Definition at line 37 of file rtfstringbuffer.hxx.

Referenced by isGraphic(), and makeStringAndClear().

◆ m_pGrfNode

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: