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

#include <textuno.hxx>

Public Member Functions

 ScHeaderFooterTextData (const ScHeaderFooterTextData &)=delete
 
const ScHeaderFooterTextDataoperator= (const ScHeaderFooterTextData &)=delete
 
 ScHeaderFooterTextData (css::uno::WeakReference< css::sheet::XHeaderFooterContent > xContent, ScHeaderFooterPart nP, const EditTextObject *pTextObj)
 
 ~ScHeaderFooterTextData ()
 
SvxTextForwarderGetTextForwarder ()
 
void UpdateData ()
 
void UpdateData (EditEngine &rEditEngine)
 
ScEditEngineDefaulterGetEditEngine ()
 
ScHeaderFooterPart GetPart () const
 
css::uno::Reference< css::sheet::XHeaderFooterContent > GetContentObj () const
 
const EditTextObjectGetTextObject () const
 

Private Attributes

std::unique_ptr< EditTextObjectmpTextObj
 
css::uno::WeakReference< css::sheet::XHeaderFooterContent > xContentObj
 
ScHeaderFooterPart nPart
 
std::unique_ptr< ScEditEngineDefaulterpEditEngine
 
std::unique_ptr< SvxEditEngineForwarderpForwarder
 
bool bDataValid
 

Detailed Description

Definition at line 95 of file textuno.hxx.

Constructor & Destructor Documentation

◆ ScHeaderFooterTextData() [1/2]

ScHeaderFooterTextData::ScHeaderFooterTextData ( const ScHeaderFooterTextData )
delete

◆ ScHeaderFooterTextData() [2/2]

ScHeaderFooterTextData::ScHeaderFooterTextData ( css::uno::WeakReference< css::sheet::XHeaderFooterContent >  xContent,
ScHeaderFooterPart  nP,
const EditTextObject pTextObj 
)

◆ ~ScHeaderFooterTextData()

ScHeaderFooterTextData::~ScHeaderFooterTextData ( )

Definition at line 155 of file textuno.cxx.

References pEditEngine, and pForwarder.

Member Function Documentation

◆ GetContentObj()

css::uno::Reference< css::sheet::XHeaderFooterContent > ScHeaderFooterTextData::GetContentObj ( ) const
inline

◆ GetEditEngine()

ScEditEngineDefaulter * ScHeaderFooterTextData::GetEditEngine ( )
inline

Definition at line 116 of file textuno.hxx.

References GetTextForwarder(), and pEditEngine.

Referenced by ScHeaderFooterEditSource::GetEditEngine().

◆ GetPart()

ScHeaderFooterPart ScHeaderFooterTextData::GetPart ( ) const
inline

◆ GetTextForwarder()

SvxTextForwarder * ScHeaderFooterTextData::GetTextForwarder ( )

◆ GetTextObject()

const EditTextObject * ScHeaderFooterTextData::GetTextObject ( ) const
inline

Definition at line 121 of file textuno.hxx.

References mpTextObj.

Referenced by ScHeaderFooterTextObj::GetTextObject().

◆ operator=()

const ScHeaderFooterTextData & ScHeaderFooterTextData::operator= ( const ScHeaderFooterTextData )
delete

◆ UpdateData() [1/2]

void ScHeaderFooterTextData::UpdateData ( )

Definition at line 205 of file textuno.cxx.

References mpTextObj, and pEditEngine.

Referenced by ScHeaderFooterTextObj::setString(), and ScHeaderFooterEditSource::UpdateData().

◆ UpdateData() [2/2]

void ScHeaderFooterTextData::UpdateData ( EditEngine rEditEngine)

Definition at line 213 of file textuno.cxx.

References bDataValid, EditEngine::CreateTextObject(), and mpTextObj.

Member Data Documentation

◆ bDataValid

bool ScHeaderFooterTextData::bDataValid
private

Definition at line 103 of file textuno.hxx.

Referenced by GetTextForwarder(), and UpdateData().

◆ mpTextObj

std::unique_ptr<EditTextObject> ScHeaderFooterTextData::mpTextObj
private

Definition at line 98 of file textuno.hxx.

Referenced by GetTextForwarder(), GetTextObject(), and UpdateData().

◆ nPart

ScHeaderFooterPart ScHeaderFooterTextData::nPart
private

Definition at line 100 of file textuno.hxx.

Referenced by GetPart().

◆ pEditEngine

std::unique_ptr<ScEditEngineDefaulter> ScHeaderFooterTextData::pEditEngine
private

Definition at line 101 of file textuno.hxx.

Referenced by GetEditEngine(), GetTextForwarder(), UpdateData(), and ~ScHeaderFooterTextData().

◆ pForwarder

std::unique_ptr<SvxEditEngineForwarder> ScHeaderFooterTextData::pForwarder
private

Definition at line 102 of file textuno.hxx.

Referenced by GetTextForwarder(), and ~ScHeaderFooterTextData().

◆ xContentObj

css::uno::WeakReference<css::sheet::XHeaderFooterContent> ScHeaderFooterTextData::xContentObj
private

Definition at line 99 of file textuno.hxx.

Referenced by GetContentObj().


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