LibreOffice Module editeng (master) 1
Public Member Functions | List of all members
EditTextObject Class Referenceabstract

#include <editobj.hxx>

Inheritance diagram for EditTextObject:
[legend]

Public Member Functions

virtual ~EditTextObject ()
 
virtual void NormalizeString (svl::SharedStringPool &rPool)=0
 Set paragraph strings to the shared string pool. More...
 
virtual std::vector< svl::SharedStringGetSharedStrings () const =0
 
virtual const SfxItemPoolGetPool () const =0
 
virtual OutlinerMode GetUserType () const =0
 
virtual void SetUserType (OutlinerMode n)=0
 
virtual bool IsEffectivelyVertical () const =0
 
virtual bool GetVertical () const =0
 
virtual bool IsTopToBottom () const =0
 
virtual void SetVertical (bool bVertical)=0
 
virtual void SetRotation (TextRotation nRotation)=0
 
virtual TextRotation GetRotation () const =0
 
virtual SvtScriptType GetScriptType () const =0
 
virtual std::unique_ptr< EditTextObjectClone () const =0
 
virtual sal_Int32 GetParagraphCount () const =0
 
virtual OUString GetText (sal_Int32 nPara) const =0
 
virtual void ClearPortionInfo ()=0
 
virtual bool HasOnlineSpellErrors () const =0
 
virtual void GetCharAttribs (sal_Int32 nPara, std::vector< EECharAttrib > &rLst) const =0
 
virtual bool RemoveCharAttribs (sal_uInt16 nWhich)=0
 
virtual void GetAllSections (std::vector< editeng::Section > &rAttrs) const =0
 Get all text sections in this content. More...
 
virtual bool IsFieldObject () const =0
 
virtual const SvxFieldItemGetField () const =0
 
virtual const SvxFieldDataGetFieldData (sal_Int32 nPara, size_t nPos, sal_Int32 nType) const =0
 
virtual bool HasField (sal_Int32 nType=css::text::textfield::Type::UNSPECIFIED) const =0
 
virtual const SfxItemSetGetParaAttribs (sal_Int32 nPara) const =0
 
virtual void GetStyleSheet (sal_Int32 nPara, OUString &rName, SfxStyleFamily &eFamily) const =0
 
virtual void SetStyleSheet (sal_Int32 nPara, const OUString &rName, const SfxStyleFamily &eFamily)=0
 
virtual bool ChangeStyleSheets (std::u16string_view rOldName, SfxStyleFamily eOldFamily, const OUString &rNewName, SfxStyleFamily eNewFamily)=0
 
virtual void ChangeStyleSheetName (SfxStyleFamily eFamily, std::u16string_view rOldName, const OUString &rNewName)=0
 
virtual editeng::FieldUpdater GetFieldUpdater ()=0
 
virtual bool operator== (const EditTextObject &rCompare) const =0
 
bool Equals (const EditTextObject &rCompare) const
 Compare, ignoring SfxItemPool pointer. More...
 
virtual bool isWrongListEqual (const EditTextObject &rCompare) const =0
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const =0
 

Detailed Description

Definition at line 57 of file editobj.hxx.

Constructor & Destructor Documentation

◆ ~EditTextObject()

EditTextObject::~EditTextObject ( )
virtualdefault

Member Function Documentation

◆ ChangeStyleSheetName()

virtual void EditTextObject::ChangeStyleSheetName ( SfxStyleFamily  eFamily,
std::u16string_view  rOldName,
const OUString &  rNewName 
)
pure virtual

Implemented in EditTextObjectImpl.

◆ ChangeStyleSheets()

virtual bool EditTextObject::ChangeStyleSheets ( std::u16string_view  rOldName,
SfxStyleFamily  eOldFamily,
const OUString &  rNewName,
SfxStyleFamily  eNewFamily 
)
pure virtual

Implemented in EditTextObjectImpl.

◆ ClearPortionInfo()

virtual void EditTextObject::ClearPortionInfo ( )
pure virtual

Implemented in EditTextObjectImpl.

◆ Clone()

virtual std::unique_ptr< EditTextObject > EditTextObject::Clone ( ) const
pure virtual

Implemented in EditTextObjectImpl.

◆ dumpAsXml()

virtual void EditTextObject::dumpAsXml ( xmlTextWriterPtr  pWriter) const
pure virtual

Implemented in EditTextObjectImpl.

◆ Equals()

bool EditTextObject::Equals ( const EditTextObject rCompare) const

Compare, ignoring SfxItemPool pointer.

Definition at line 219 of file editobj.cxx.

References EditTextObjectImpl::Equals(), and toImpl().

◆ GetAllSections()

virtual void EditTextObject::GetAllSections ( std::vector< editeng::Section > &  rAttrs) const
pure virtual

Get all text sections in this content.

Sections are non-overlapping segments of text split either by paragraph boundaries or format boundaries. Each section object contains all applied formats and/or a field item.

Implemented in EditTextObjectImpl.

◆ GetCharAttribs()

virtual void EditTextObject::GetCharAttribs ( sal_Int32  nPara,
std::vector< EECharAttrib > &  rLst 
) const
pure virtual

Implemented in EditTextObjectImpl.

◆ GetField()

virtual const SvxFieldItem * EditTextObject::GetField ( ) const
pure virtual

Implemented in EditTextObjectImpl.

◆ GetFieldData()

virtual const SvxFieldData * EditTextObject::GetFieldData ( sal_Int32  nPara,
size_t  nPos,
sal_Int32  nType 
) const
pure virtual

Implemented in EditTextObjectImpl.

◆ GetFieldUpdater()

virtual editeng::FieldUpdater EditTextObject::GetFieldUpdater ( )
pure virtual

Implemented in EditTextObjectImpl.

◆ GetParaAttribs()

virtual const SfxItemSet & EditTextObject::GetParaAttribs ( sal_Int32  nPara) const
pure virtual

Implemented in EditTextObjectImpl.

◆ GetParagraphCount()

virtual sal_Int32 EditTextObject::GetParagraphCount ( ) const
pure virtual

Implemented in EditTextObjectImpl.

◆ GetPool()

virtual const SfxItemPool * EditTextObject::GetPool ( ) const
pure virtual

Implemented in EditTextObjectImpl.

◆ GetRotation()

virtual TextRotation EditTextObject::GetRotation ( ) const
pure virtual

Implemented in EditTextObjectImpl.

Referenced by ImpEditEngine::SetText().

◆ GetScriptType()

virtual SvtScriptType EditTextObject::GetScriptType ( ) const
pure virtual

Implemented in EditTextObjectImpl.

◆ GetSharedStrings()

virtual std::vector< svl::SharedString > EditTextObject::GetSharedStrings ( ) const
pure virtual

Implemented in EditTextObjectImpl.

◆ GetStyleSheet()

virtual void EditTextObject::GetStyleSheet ( sal_Int32  nPara,
OUString &  rName,
SfxStyleFamily eFamily 
) const
pure virtual

Implemented in EditTextObjectImpl.

◆ GetText()

virtual OUString EditTextObject::GetText ( sal_Int32  nPara) const
pure virtual

◆ GetUserType()

virtual OutlinerMode EditTextObject::GetUserType ( ) const
pure virtual

Implemented in EditTextObjectImpl.

◆ GetVertical()

virtual bool EditTextObject::GetVertical ( ) const
pure virtual

Implemented in EditTextObjectImpl.

Referenced by ImpEditEngine::SetText().

◆ HasField()

virtual bool EditTextObject::HasField ( sal_Int32  nType = css::text::textfield::Type::UNSPECIFIED) const
pure virtual

Implemented in EditTextObjectImpl.

◆ HasOnlineSpellErrors()

virtual bool EditTextObject::HasOnlineSpellErrors ( ) const
pure virtual

Implemented in EditTextObjectImpl.

◆ IsEffectivelyVertical()

virtual bool EditTextObject::IsEffectivelyVertical ( ) const
pure virtual

Implemented in EditTextObjectImpl.

◆ IsFieldObject()

virtual bool EditTextObject::IsFieldObject ( ) const
pure virtual

Implemented in EditTextObjectImpl.

◆ IsTopToBottom()

virtual bool EditTextObject::IsTopToBottom ( ) const
pure virtual

Implemented in EditTextObjectImpl.

◆ isWrongListEqual()

virtual bool EditTextObject::isWrongListEqual ( const EditTextObject rCompare) const
pure virtual

Implemented in EditTextObjectImpl.

◆ NormalizeString()

virtual void EditTextObject::NormalizeString ( svl::SharedStringPool rPool)
pure virtual

Set paragraph strings to the shared string pool.

Parameters
rPoolshared string pool.

Implemented in EditTextObjectImpl.

◆ operator==()

virtual bool EditTextObject::operator== ( const EditTextObject rCompare) const
pure virtual

Implemented in EditTextObjectImpl.

◆ RemoveCharAttribs()

virtual bool EditTextObject::RemoveCharAttribs ( sal_uInt16  nWhich)
pure virtual

Implemented in EditTextObjectImpl.

◆ SetRotation()

virtual void EditTextObject::SetRotation ( TextRotation  nRotation)
pure virtual

Implemented in EditTextObjectImpl.

◆ SetStyleSheet()

virtual void EditTextObject::SetStyleSheet ( sal_Int32  nPara,
const OUString &  rName,
const SfxStyleFamily eFamily 
)
pure virtual

Implemented in EditTextObjectImpl.

◆ SetUserType()

virtual void EditTextObject::SetUserType ( OutlinerMode  n)
pure virtual

Implemented in EditTextObjectImpl.

◆ SetVertical()

virtual void EditTextObject::SetVertical ( bool  bVertical)
pure virtual

Implemented in EditTextObjectImpl.


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