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

Each of these instances represent, the left, center or right part of the header of footer of a page. More...

#include <textuno.hxx>

Inheritance diagram for ScHeaderFooterTextObj:
[legend]
Collaboration diagram for ScHeaderFooterTextObj:
[legend]

Public Member Functions

 ScHeaderFooterTextObj (const css::uno::WeakReference< css::sheet::XHeaderFooterContent > &xContent, ScHeaderFooterPart nP, const EditTextObject *pTextObj)
 
virtual ~ScHeaderFooterTextObj () override
 
const EditTextObjectGetTextObject () const
 
const SvxUnoTextGetUnoText ()
 
virtual void SAL_CALL insertTextContent (const css::uno::Reference< css::text::XTextRange > &xRange, const css::uno::Reference< css::text::XTextContent > &xContent, sal_Bool bAbsorb) override
 
virtual void SAL_CALL removeTextContent (const css::uno::Reference< css::text::XTextContent > &xContent) override
 
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursor () override
 
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursorByRange (const css::uno::Reference< css::text::XTextRange > &aTextPosition) override
 
virtual void SAL_CALL insertString (const css::uno::Reference< css::text::XTextRange > &xRange, const OUString &aString, sal_Bool bAbsorb) override
 
virtual void SAL_CALL insertControlCharacter (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nControlCharacter, sal_Bool bAbsorb) override
 
virtual css::uno::Reference< css::text::XText > SAL_CALL getText () override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart () override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd () override
 
virtual OUString SAL_CALL getString () override
 
virtual void SAL_CALL setString (const OUString &aString) override
 
virtual void SAL_CALL moveTextRange (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nParagraphs) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Reference< css::container::XEnumerationAccess > SAL_CALL getTextFields () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTextFieldMasters () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Static Public Member Functions

static void FillDummyFieldData (ScHeaderFieldData &rData)
 

Private Member Functions

void CreateUnoText_Impl ()
 

Private Attributes

ScHeaderFooterTextData aTextData
 
rtl::Reference< SvxUnoTextmxUnoText
 

Detailed Description

Each of these instances represent, the left, center or right part of the header of footer of a page.

ScHeaderFooterTextObj changes the text in a ScHeaderFooterContentObj.

Definition at line 138 of file textuno.hxx.

Constructor & Destructor Documentation

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

Definition at line 246 of file textuno.cxx.

ScHeaderFooterTextObj::~ScHeaderFooterTextObj ( )
overridevirtual

Definition at line 264 of file textuno.cxx.

Member Function Documentation

uno::Reference< container::XEnumeration > SAL_CALL ScHeaderFooterTextObj::createEnumeration ( )
overridevirtual

Definition at line 521 of file textuno.cxx.

References CreateUnoText_Impl(), and mxUnoText.

uno::Reference< text::XTextCursor > SAL_CALL ScHeaderFooterTextObj::createTextCursor ( )
overridevirtual

Definition at line 280 of file textuno.cxx.

uno::Reference< text::XTextCursor > SAL_CALL ScHeaderFooterTextObj::createTextCursorByRange ( const css::uno::Reference< css::text::XTextRange > &  aTextPosition)
overridevirtual

like ScCellObj::createTextCursorByRange, if SvxUnoTextRange_getReflection available

Definition at line 286 of file textuno.cxx.

References CreateUnoText_Impl(), and mxUnoText.

void ScHeaderFooterTextObj::CreateUnoText_Impl ( )
private
void ScHeaderFooterTextObj::FillDummyFieldData ( ScHeaderFieldData rData)
static
uno::Type SAL_CALL ScHeaderFooterTextObj::getElementType ( )
overridevirtual

Definition at line 531 of file textuno.cxx.

References CreateUnoText_Impl(), and mxUnoText.

uno::Reference< text::XTextRange > SAL_CALL ScHeaderFooterTextObj::getEnd ( )
overridevirtual

Definition at line 484 of file textuno.cxx.

References CreateUnoText_Impl(), and mxUnoText.

virtual OUString SAL_CALL ScHeaderFooterTextObj::getImplementationName ( )
overridevirtual
uno::Reference< text::XTextRange > SAL_CALL ScHeaderFooterTextObj::getStart ( )
overridevirtual

Definition at line 476 of file textuno.cxx.

References CreateUnoText_Impl(), and mxUnoText.

OUString SAL_CALL ScHeaderFooterTextObj::getString ( )
overridevirtual
virtual css::uno::Sequence< OUString > SAL_CALL ScHeaderFooterTextObj::getSupportedServiceNames ( )
overridevirtual
uno::Reference< text::XText > SAL_CALL ScHeaderFooterTextObj::getText ( )
overridevirtual

Definition at line 468 of file textuno.cxx.

References CreateUnoText_Impl(), and mxUnoText.

uno::Reference< container::XNameAccess > SAL_CALL ScHeaderFooterTextObj::getTextFieldMasters ( )
overridevirtual

Definition at line 501 of file textuno.cxx.

uno::Reference< container::XEnumerationAccess > SAL_CALL ScHeaderFooterTextObj::getTextFields ( )
overridevirtual

Definition at line 494 of file textuno.cxx.

References aTextData.

const EditTextObject * ScHeaderFooterTextObj::GetTextObject ( ) const

Definition at line 266 of file textuno.cxx.

References aTextData, and ScHeaderFooterTextData::GetTextObject().

const SvxUnoText & ScHeaderFooterTextObj::GetUnoText ( )

Definition at line 271 of file textuno.cxx.

References CreateUnoText_Impl(), and mxUnoText.

sal_Bool SAL_CALL ScHeaderFooterTextObj::hasElements ( )
overridevirtual

Definition at line 539 of file textuno.cxx.

References CreateUnoText_Impl(), and mxUnoText.

void SAL_CALL ScHeaderFooterTextObj::insertControlCharacter ( const css::uno::Reference< css::text::XTextRange > &  xRange,
sal_Int16  nControlCharacter,
sal_Bool  bAbsorb 
)
overridevirtual

Definition at line 370 of file textuno.cxx.

References CreateUnoText_Impl(), and mxUnoText.

void SAL_CALL ScHeaderFooterTextObj::insertString ( const css::uno::Reference< css::text::XTextRange > &  xRange,
const OUString &  aString,
sal_Bool  bAbsorb 
)
overridevirtual

Definition at line 361 of file textuno.cxx.

References CreateUnoText_Impl(), and mxUnoText.

void SAL_CALL ScHeaderFooterTextObj::insertTextContent ( const css::uno::Reference< css::text::XTextRange > &  xRange,
const css::uno::Reference< css::text::XTextContent > &  xContent,
sal_Bool  bAbsorb 
)
overridevirtual
void SAL_CALL ScHeaderFooterTextObj::moveTextRange ( const css::uno::Reference< css::text::XTextRange > &  xRange,
sal_Int16  nParagraphs 
)
overridevirtual

Definition at line 509 of file textuno.cxx.

References CreateUnoText_Impl(), and mxUnoText.

void SAL_CALL ScHeaderFooterTextObj::removeTextContent ( const css::uno::Reference< css::text::XTextContent > &  xContent)
overridevirtual

check if the field is in this cell

Definition at line 449 of file textuno.cxx.

References CreateUnoText_Impl(), ScEditFieldObj::DeleteField(), ScEditFieldObj::IsInserted(), and mxUnoText.

void SAL_CALL ScHeaderFooterTextObj::setString ( const OUString &  aString)
overridevirtual
virtual sal_Bool SAL_CALL ScHeaderFooterTextObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

ScHeaderFooterTextData ScHeaderFooterTextObj::aTextData
private
rtl::Reference<SvxUnoText> ScHeaderFooterTextObj::mxUnoText
private

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