LibreOffice Module editeng (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ContentInfo Class Reference

#include <editobj2.hxx>

Collaboration diagram for ContentInfo:
[legend]

Public Member Functions

 ~ContentInfo ()
 
 ContentInfo (const ContentInfo &)=delete
 
ContentInfooperator= (const ContentInfo &)=delete
 
void NormalizeString (svl::SharedStringPool &rPool)
 
const svl::SharedStringGetSharedString () const
 
OUString GetText () const
 
void SetText (const OUString &rStr)
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 
const std::vector< XEditAttribute > & GetCharAttribs () const
 
std::vector< XEditAttribute > & GetCharAttribs ()
 
const OUString & GetStyle () const
 
SfxStyleFamily GetFamily () const
 
void SetStyle (const OUString &rStyle)
 
void SetFamily (const SfxStyleFamily &rFamily)
 
const SfxItemSetGetParaAttribs () const
 
SfxItemSetGetParaAttribs ()
 
const WrongListGetWrongList () const
 
void SetWrongList (WrongList *p)
 
bool Equals (const ContentInfo &rCompare, bool bComparePool) const
 
bool isWrongListEqual (const ContentInfo &rCompare) const
 

Private Member Functions

 ContentInfo (SfxItemPool &rPool)
 
 ContentInfo (const ContentInfo &rCopyFrom, SfxItemPool &rPoolToUse)
 

Private Attributes

svl::SharedString maText
 
OUString aStyle
 
std::vector< XEditAttributemaCharAttribs
 
SfxStyleFamily eFamily
 
SfxItemSetFixed< EE_PARA_START, EE_CHAR_ENDaParaAttribs
 
std::unique_ptr< WrongListmpWrongs
 

Friends

class EditTextObjectImpl
 

Detailed Description

Definition at line 119 of file editobj2.hxx.

Constructor & Destructor Documentation

◆ ContentInfo() [1/3]

ContentInfo::ContentInfo ( SfxItemPool rPool)
private

Definition at line 95 of file editobj.cxx.

References Para.

◆ ContentInfo() [2/3]

ContentInfo::ContentInfo ( const ContentInfo rCopyFrom,
SfxItemPool rPoolToUse 
)
private

◆ ~ContentInfo()

ContentInfo::~ContentInfo ( )

Definition at line 122 of file editobj.cxx.

References aParaAttribs, SfxItemSet::GetPool(), maCharAttribs, and SfxItemPool::Remove().

◆ ContentInfo() [3/3]

ContentInfo::ContentInfo ( const ContentInfo )
delete

Member Function Documentation

◆ dumpAsXml()

void ContentInfo::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 146 of file editobj.cxx.

References aParaAttribs, aStyle, SfxItemSet::dumpAsXml(), GetText(), and maCharAttribs.

◆ Equals()

bool ContentInfo::Equals ( const ContentInfo rCompare,
bool  bComparePool 
) const

Definition at line 205 of file editobj.cxx.

References aParaAttribs, aStyle, eFamily, SfxItemSet::Equals(), maCharAttribs, and maText.

◆ GetCharAttribs() [1/2]

std::vector< XEditAttribute > & ContentInfo::GetCharAttribs ( )
inline

Definition at line 149 of file editobj2.hxx.

References maCharAttribs.

◆ GetCharAttribs() [2/2]

const std::vector< XEditAttribute > & ContentInfo::GetCharAttribs ( ) const
inline

◆ GetFamily()

SfxStyleFamily ContentInfo::GetFamily ( ) const
inline

◆ GetParaAttribs() [1/2]

SfxItemSet & ContentInfo::GetParaAttribs ( )
inline

Definition at line 158 of file editobj2.hxx.

References aParaAttribs.

◆ GetParaAttribs() [2/2]

const SfxItemSet & ContentInfo::GetParaAttribs ( ) const
inline

◆ GetSharedString()

const svl::SharedString & ContentInfo::GetSharedString ( ) const
inline

Definition at line 142 of file editobj2.hxx.

References maText.

Referenced by EditTextObjectImpl::GetSharedStrings().

◆ GetStyle()

const OUString & ContentInfo::GetStyle ( ) const
inline

◆ GetText()

OUString ContentInfo::GetText ( ) const

◆ GetWrongList()

const WrongList * ContentInfo::GetWrongList ( ) const

Definition at line 167 of file editobj.cxx.

References mpWrongs.

Referenced by ContentInfo(), ImpEditEngine::InsertTextObject(), and isWrongListEqual().

◆ isWrongListEqual()

bool ContentInfo::isWrongListEqual ( const ContentInfo rCompare) const

Definition at line 178 of file editobj.cxx.

References GetWrongList().

◆ NormalizeString()

void ContentInfo::NormalizeString ( svl::SharedStringPool rPool)

◆ operator=()

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

◆ SetFamily()

void ContentInfo::SetFamily ( const SfxStyleFamily rFamily)
inline

◆ SetStyle()

void ContentInfo::SetStyle ( const OUString &  rStyle)
inline

◆ SetText()

void ContentInfo::SetText ( const OUString &  rStr)

Definition at line 141 of file editobj.cxx.

References maText.

Referenced by ImpEditEngine::CreateTextObject().

◆ SetWrongList()

void ContentInfo::SetWrongList ( WrongList p)

Definition at line 172 of file editobj.cxx.

References mpWrongs, and p.

Referenced by ImpEditEngine::CreateTextObject().

Friends And Related Function Documentation

◆ EditTextObjectImpl

friend class EditTextObjectImpl
friend

Definition at line 121 of file editobj2.hxx.

Member Data Documentation

◆ aParaAttribs

SfxItemSetFixed<EE_PARA_START, EE_CHAR_END> ContentInfo::aParaAttribs
private

Definition at line 129 of file editobj2.hxx.

Referenced by ContentInfo(), dumpAsXml(), Equals(), GetParaAttribs(), and ~ContentInfo().

◆ aStyle

OUString ContentInfo::aStyle
private

Definition at line 125 of file editobj2.hxx.

Referenced by dumpAsXml(), Equals(), GetStyle(), and SetStyle().

◆ eFamily

SfxStyleFamily ContentInfo::eFamily
private

Definition at line 128 of file editobj2.hxx.

Referenced by Equals(), GetFamily(), and SetFamily().

◆ maCharAttribs

std::vector<XEditAttribute> ContentInfo::maCharAttribs
private

◆ maText

svl::SharedString ContentInfo::maText
private

Definition at line 124 of file editobj2.hxx.

Referenced by Equals(), GetSharedString(), GetText(), NormalizeString(), and SetText().

◆ mpWrongs

std::unique_ptr<WrongList> ContentInfo::mpWrongs
private

Definition at line 131 of file editobj2.hxx.

Referenced by ContentInfo(), GetWrongList(), and SetWrongList().


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