LibreOffice Module editeng (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
EditCharAttribField Class Referencefinal

#include <editattr.hxx>

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

Public Member Functions

 EditCharAttribField (const SvxFieldItem &rAttr, sal_Int32 nPos)
 
 EditCharAttribField (const EditCharAttribField &rAttr)
 
virtual ~EditCharAttribField () override
 
bool operator== (const EditCharAttribField &rAttr) const
 
bool operator!= (const EditCharAttribField &rAttr) const
 
virtual void SetFont (SvxFont &rFont, OutputDevice *pOutDev) override
 
std::optional< Color > & GetTextColor ()
 
std::optional< Color > & GetFieldColor ()
 
std::optional< FontLineStyle > & GetFldLineStyle ()
 
const OUString & GetFieldValue () const
 
void SetFieldValue (const OUString &rVal)
 
void Reset ()
 
- Public Member Functions inherited from EditCharAttrib
 EditCharAttrib (const SfxPoolItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
 
virtual ~EditCharAttrib ()
 
 EditCharAttrib (const EditCharAttrib &)=delete
 
EditCharAttriboperator= (const EditCharAttrib &)=delete
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 
sal_uInt16 Which () const
 
const SfxPoolItemGetItem () const
 
sal_Int32 & GetStart ()
 
sal_Int32 & GetEnd ()
 
sal_Int32 GetStart () const
 
sal_Int32 GetEnd () const
 
sal_Int32 GetLen () const
 
void MoveForward (sal_Int32 nDiff)
 
void MoveBackward (sal_Int32 nDiff)
 
void Expand (sal_Int32 nDiff)
 
void Collaps (sal_Int32 nDiff)
 
virtual void SetFont (SvxFont &rFont, OutputDevice *pOutDev)
 
bool IsIn (sal_Int32 nIndex) const
 
bool IsInside (sal_Int32 nIndex) const
 
bool IsEmpty () const
 
bool IsFeature () const
 
void SetFeature (bool b)
 
bool IsEdge () const
 
void SetEdge (bool b)
 

Private Member Functions

EditCharAttribFieldoperator= (const EditCharAttribField &rAttr)=delete
 

Private Attributes

OUString aFieldValue
 
std::optional< ColormxTxtColor
 
std::optional< ColormxFldColor
 
std::optional< FontLineStylemxFldLineStyle
 

Detailed Description

Definition at line 342 of file editattr.hxx.

Constructor & Destructor Documentation

◆ EditCharAttribField() [1/2]

EditCharAttribField::EditCharAttribField ( const SvxFieldItem rAttr,
sal_Int32  nPos 
)

Definition at line 317 of file editattr.cxx.

References nPos, and EditCharAttrib::SetFeature().

◆ EditCharAttribField() [2/2]

EditCharAttribField::EditCharAttribField ( const EditCharAttribField rAttr)

Definition at line 350 of file editattr.cxx.

References GetItem(), mxFldColor, mxFldLineStyle, and mxTxtColor.

◆ ~EditCharAttribField()

EditCharAttribField::~EditCharAttribField ( )
overridevirtual

Definition at line 360 of file editattr.cxx.

References Reset().

Member Function Documentation

◆ GetFieldColor()

std::optional< Color > & EditCharAttribField::GetFieldColor ( )
inline

Definition at line 362 of file editattr.hxx.

References mxFldColor.

◆ GetFieldValue()

const OUString & EditCharAttribField::GetFieldValue ( ) const
inline

Definition at line 365 of file editattr.hxx.

References aFieldValue.

◆ GetFldLineStyle()

std::optional< FontLineStyle > & EditCharAttribField::GetFldLineStyle ( )
inline

Definition at line 363 of file editattr.hxx.

References mxFldLineStyle.

◆ GetTextColor()

std::optional< Color > & EditCharAttribField::GetTextColor ( )
inline

Definition at line 361 of file editattr.hxx.

References mxTxtColor.

◆ operator!=()

bool EditCharAttribField::operator!= ( const EditCharAttribField rAttr) const
inline

Definition at line 357 of file editattr.hxx.

References operator==().

◆ operator=()

EditCharAttribField & EditCharAttribField::operator= ( const EditCharAttribField rAttr)
privatedelete

◆ operator==()

bool EditCharAttribField::operator== ( const EditCharAttribField rAttr) const

Definition at line 365 of file editattr.cxx.

References aFieldValue, mxFldColor, mxFldLineStyle, and mxTxtColor.

Referenced by operator!=().

◆ Reset()

void EditCharAttribField::Reset ( void  )

Definition at line 342 of file editattr.cxx.

References aFieldValue, mxFldColor, mxFldLineStyle, and mxTxtColor.

Referenced by ~EditCharAttribField().

◆ SetFieldValue()

void EditCharAttribField::SetFieldValue ( const OUString &  rVal)

Definition at line 337 of file editattr.cxx.

References aFieldValue.

◆ SetFont()

void EditCharAttribField::SetFont ( SvxFont rFont,
OutputDevice pOutDev 
)
overridevirtual

Member Data Documentation

◆ aFieldValue

OUString EditCharAttribField::aFieldValue
private

Definition at line 344 of file editattr.hxx.

Referenced by GetFieldValue(), operator==(), Reset(), and SetFieldValue().

◆ mxFldColor

std::optional<Color> EditCharAttribField::mxFldColor
private

Definition at line 346 of file editattr.hxx.

Referenced by EditCharAttribField(), GetFieldColor(), operator==(), Reset(), and SetFont().

◆ mxFldLineStyle

std::optional<FontLineStyle> EditCharAttribField::mxFldLineStyle
private

Definition at line 347 of file editattr.hxx.

Referenced by EditCharAttribField(), GetFldLineStyle(), operator==(), Reset(), and SetFont().

◆ mxTxtColor

std::optional<Color> EditCharAttribField::mxTxtColor
private

Definition at line 345 of file editattr.hxx.

Referenced by EditCharAttribField(), GetTextColor(), operator==(), Reset(), and SetFont().


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