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

#include <editattr.hxx>

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

Public Member Functions

 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 Attributes

const SfxPoolItempItem
 
sal_Int32 nStart
 
sal_Int32 nEnd
 
bool bFeature:1
 
bool bEdge:1
 

Detailed Description

Definition at line 66 of file editattr.hxx.

Constructor & Destructor Documentation

◆ EditCharAttrib() [1/2]

EditCharAttrib::EditCharAttrib ( const SfxPoolItem rAttr,
sal_Int32  nStart,
sal_Int32  nEnd 
)

◆ ~EditCharAttrib()

EditCharAttrib::~EditCharAttrib ( )
virtual

Definition at line 58 of file editattr.cxx.

◆ EditCharAttrib() [2/2]

EditCharAttrib::EditCharAttrib ( const EditCharAttrib )
delete

Member Function Documentation

◆ Collaps()

void EditCharAttrib::Collaps ( sal_Int32  nDiff)
inline

Definition at line 144 of file editattr.hxx.

References bFeature, DBG_ASSERT, nEnd, and nStart.

Referenced by ContentNode::CollapseAttribs().

◆ dumpAsXml()

void EditCharAttrib::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 66 of file editattr.cxx.

References SfxPoolItem::dumpAsXml(), nEnd, nStart, and pItem.

◆ Expand()

void EditCharAttrib::Expand ( sal_Int32  nDiff)
inline

Definition at line 137 of file editattr.hxx.

References bFeature, DBG_ASSERT, nEnd, and SAL_MAX_INT32.

Referenced by ContentNode::ExpandAttribs().

◆ GetEnd() [1/2]

sal_Int32 & EditCharAttrib::GetEnd ( )
inline

◆ GetEnd() [2/2]

sal_Int32 EditCharAttrib::GetEnd ( ) const
inline

Definition at line 91 of file editattr.hxx.

References nEnd.

◆ GetItem()

const SfxPoolItem * EditCharAttrib::GetItem ( ) const
inline

◆ GetLen()

sal_Int32 EditCharAttrib::GetLen ( ) const
inline

◆ GetStart() [1/2]

sal_Int32 & EditCharAttrib::GetStart ( )
inline

◆ GetStart() [2/2]

sal_Int32 EditCharAttrib::GetStart ( ) const
inline

Definition at line 90 of file editattr.hxx.

References nStart.

◆ IsEdge()

bool EditCharAttrib::IsEdge ( ) const
inline

Definition at line 113 of file editattr.hxx.

References bEdge.

Referenced by ContentNode::ExpandAttribs().

◆ IsEmpty()

bool EditCharAttrib::IsEmpty ( ) const
inline

◆ IsFeature()

bool EditCharAttrib::IsFeature ( ) const
inline

◆ IsIn()

bool EditCharAttrib::IsIn ( sal_Int32  nIndex) const
inline

Definition at line 103 of file editattr.hxx.

References nEnd, nIndex, and nStart.

◆ IsInside()

bool EditCharAttrib::IsInside ( sal_Int32  nIndex) const
inline

Definition at line 105 of file editattr.hxx.

References nEnd, nIndex, and nStart.

Referenced by ContentNode::CopyAndCutAttribs(), and EditDoc::InsertAttrib().

◆ MoveBackward()

void EditCharAttrib::MoveBackward ( sal_Int32  nDiff)
inline

Definition at line 130 of file editattr.hxx.

References DBG_ASSERT, nEnd, and nStart.

Referenced by ContentNode::CollapseAttribs(), and ContentNode::CopyAndCutAttribs().

◆ MoveForward()

void EditCharAttrib::MoveForward ( sal_Int32  nDiff)
inline

Definition at line 123 of file editattr.hxx.

References DBG_ASSERT, nEnd, nStart, and SAL_MAX_INT32.

Referenced by ContentNode::ExpandAttribs().

◆ operator=()

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

◆ SetEdge()

void EditCharAttrib::SetEdge ( bool  b)
inline

Definition at line 114 of file editattr.hxx.

References bEdge.

Referenced by ContentNode::ExpandAttribs().

◆ SetFeature()

void EditCharAttrib::SetFeature ( bool  b)
inline

◆ SetFont()

void EditCharAttrib::SetFont ( SvxFont rFont,
OutputDevice pOutDev 
)
virtual

◆ Which()

sal_uInt16 EditCharAttrib::Which ( ) const
inline

Member Data Documentation

◆ bEdge

bool EditCharAttrib::bEdge
private

Definition at line 73 of file editattr.hxx.

Referenced by IsEdge(), and SetEdge().

◆ bFeature

bool EditCharAttrib::bFeature
private

Definition at line 72 of file editattr.hxx.

Referenced by Collaps(), Expand(), IsFeature(), and SetFeature().

◆ nEnd

sal_Int32 EditCharAttrib::nEnd
private

◆ nStart

sal_Int32 EditCharAttrib::nStart
private

◆ pItem

const SfxPoolItem* EditCharAttrib::pItem
private

Definition at line 68 of file editattr.hxx.

Referenced by dumpAsXml(), EditCharAttrib(), GetItem(), and Which().


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