LibreOffice Module sc (master) 1
|
Each of these instances represent, the left, center or right part of the header of footer of a page. More...
#include <textuno.hxx>
Public Member Functions | |
ScHeaderFooterTextObj (const css::uno::WeakReference< css::sheet::XHeaderFooterContent > &xContent, ScHeaderFooterPart nP, const EditTextObject *pTextObj) | |
virtual | ~ScHeaderFooterTextObj () override |
const EditTextObject * | GetTextObject () const |
const SvxUnoText & | GetUnoText () |
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< SvxUnoText > | mxUnoText |
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 130 of file textuno.hxx.
ScHeaderFooterTextObj::ScHeaderFooterTextObj | ( | const css::uno::WeakReference< css::sheet::XHeaderFooterContent > & | xContent, |
ScHeaderFooterPart | nP, | ||
const EditTextObject * | pTextObj | ||
) |
Definition at line 219 of file textuno.cxx.
|
overridevirtual |
Definition at line 237 of file textuno.cxx.
|
overridevirtual |
Definition at line 494 of file textuno.cxx.
References CreateUnoText_Impl(), and mxUnoText.
|
overridevirtual |
Definition at line 253 of file textuno.cxx.
|
overridevirtual |
like ScCellObj::createTextCursorByRange, if SvxUnoTextRange_getReflection available
Definition at line 259 of file textuno.cxx.
References CreateUnoText_Impl(), and mxUnoText.
|
private |
Definition at line 227 of file textuno.cxx.
References aTextData, lcl_GetHdFtPropertySet(), and mxUnoText.
Referenced by createEnumeration(), createTextCursorByRange(), getElementType(), getEnd(), getStart(), getText(), GetUnoText(), hasElements(), insertControlCharacter(), insertString(), insertTextContent(), moveTextRange(), and removeTextContent().
|
static |
Definition at line 269 of file textuno.cxx.
References ScHeaderFieldData::aLongDocName, ScHeaderFieldData::aShortDocName, ScHeaderFieldData::aTabName, ScHeaderFieldData::aTitle, ScHeaderFieldData::nPageNo, and ScHeaderFieldData::nTotalPages.
Referenced by getString(), ScHeaderFooterTextData::GetTextForwarder(), and ScAccessibleHeaderTextData::GetTextForwarder().
|
overridevirtual |
Definition at line 504 of file textuno.cxx.
References CreateUnoText_Impl(), and mxUnoText.
|
overridevirtual |
Definition at line 457 of file textuno.cxx.
References CreateUnoText_Impl(), and mxUnoText.
|
overridevirtual |
|
overridevirtual |
Definition at line 449 of file textuno.cxx.
References CreateUnoText_Impl(), and mxUnoText.
|
overridevirtual |
Definition at line 280 of file textuno.cxx.
References aData, aTextData, CENTER, EditEngine::CreatePool(), FillDummyFieldData(), get(), ScHeaderFooterTextData::GetContentObj(), ScHeaderFooterContentObj::getImplementation(), ScHeaderFooterTextData::GetPart(), ScEditUtil::GetSpaceDelimitedString(), LEFT, pData, RIGHT, SAL_WARN, ScHeaderEditEngine::SetData(), and ScEditEngineDefaulter::SetTextCurrentDefaults().
|
overridevirtual |
|
overridevirtual |
Definition at line 441 of file textuno.cxx.
References CreateUnoText_Impl(), and mxUnoText.
|
overridevirtual |
Definition at line 474 of file textuno.cxx.
|
overridevirtual |
Definition at line 467 of file textuno.cxx.
References aTextData.
const EditTextObject * ScHeaderFooterTextObj::GetTextObject | ( | ) | const |
Definition at line 239 of file textuno.cxx.
References aTextData, and ScHeaderFooterTextData::GetTextObject().
const SvxUnoText & ScHeaderFooterTextObj::GetUnoText | ( | ) |
Definition at line 244 of file textuno.cxx.
References CreateUnoText_Impl(), and mxUnoText.
|
overridevirtual |
Definition at line 512 of file textuno.cxx.
References CreateUnoText_Impl(), and mxUnoText.
|
overridevirtual |
Definition at line 343 of file textuno.cxx.
References CreateUnoText_Impl(), and mxUnoText.
|
overridevirtual |
Definition at line 334 of file textuno.cxx.
References CreateUnoText_Impl(), and mxUnoText.
|
overridevirtual |
Definition at line 353 of file textuno.cxx.
References ESelection::Adjust(), aTextData, CENTER, ScEditFieldObj::CreateFieldItem(), CreateUnoText_Impl(), ScHeaderFooterTextData::GetContentObj(), ScHeaderFooterTextData::GetPart(), SvxEditSource::GetTextForwarder(), ScEditFieldObj::InitDoc(), ScEditFieldObj::IsInserted(), LEFT, mxUnoText, ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, SvxTextForwarder::QuickInsertField(), RIGHT, and SvxEditSource::UpdateData().
|
overridevirtual |
Definition at line 482 of file textuno.cxx.
References CreateUnoText_Impl(), and mxUnoText.
|
overridevirtual |
check if the field is in this cell
Definition at line 422 of file textuno.cxx.
References CreateUnoText_Impl(), ScEditFieldObj::DeleteField(), ScEditFieldObj::IsInserted(), and mxUnoText.
|
overridevirtual |
Definition at line 324 of file textuno.cxx.
References aTextData, EditEngine::CreatePool(), get(), ScEditEngineDefaulter::SetTextCurrentDefaults(), and ScHeaderFooterTextData::UpdateData().
|
overridevirtual |
|
private |
Definition at line 138 of file textuno.hxx.
Referenced by CreateUnoText_Impl(), getString(), getTextFields(), GetTextObject(), insertTextContent(), and setString().
|
private |
Definition at line 139 of file textuno.hxx.
Referenced by createEnumeration(), createTextCursorByRange(), CreateUnoText_Impl(), getElementType(), getEnd(), getStart(), getText(), GetUnoText(), hasElements(), insertControlCharacter(), insertString(), insertTextContent(), moveTextRange(), and removeTextContent().