LibreOffice Module editeng (master) 1
|
#include <editattr.hxx>
Public Member Functions | |
EditCharAttrib (const SfxPoolItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd) | |
virtual | ~EditCharAttrib () |
EditCharAttrib (const EditCharAttrib &)=delete | |
EditCharAttrib & | operator= (const EditCharAttrib &)=delete |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
sal_uInt16 | Which () const |
const SfxPoolItem * | GetItem () 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 SfxPoolItem * | pItem |
sal_Int32 | nStart |
sal_Int32 | nEnd |
bool | bFeature:1 |
bool | bEdge:1 |
Definition at line 66 of file editattr.hxx.
EditCharAttrib::EditCharAttrib | ( | const SfxPoolItem & | rAttr, |
sal_Int32 | nStart, | ||
sal_Int32 | nEnd | ||
) |
Definition at line 49 of file editattr.cxx.
References EE_FEATURE_END(), EE_FEATURE_START(), EE_ITEMS_END(), EE_ITEMS_START(), pItem, and SfxPoolItem::Which().
|
virtual |
Definition at line 58 of file editattr.cxx.
|
delete |
|
inline |
Definition at line 144 of file editattr.hxx.
References bFeature, DBG_ASSERT, nEnd, and nStart.
Referenced by ContentNode::CollapseAttribs().
void EditCharAttrib::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 66 of file editattr.cxx.
References SfxPoolItem::dumpAsXml(), nEnd, nStart, and pItem.
|
inline |
Definition at line 137 of file editattr.hxx.
References bFeature, DBG_ASSERT, nEnd, and SAL_MAX_INT32.
Referenced by ContentNode::ExpandAttribs().
|
inline |
Definition at line 88 of file editattr.hxx.
References nEnd.
Referenced by ImpEditEngine::AddPortionIterated(), ContentNode::AppendAttribs(), ContentNode::CollapseAttribs(), ContentNode::CopyAndCutAttribs(), ImpEditEngine::CreateTextObject(), ImpEditEngine::CreateTextPortions(), ContentNode::ExpandAttribs(), EditDoc::FindAttribs(), ImpEditView::GetField(), ImpEditEngine::GetLanguage(), CharAttribList::HasBoundingAttrib(), ImpEditEngine::ImpBreakLine(), ImpEditEngine::ImpRemoveChars(), ImpEditEngine::InitScriptTypes(), EditDoc::InsertAttrib(), EditDoc::InsertAttribInSelection(), ImpEditEngine::InsertTextObject(), lcl_FindValidAttribs(), CharAttribList::OptimizeRanges(), ImpEditEngine::Paint(), EditDoc::RemoveAttribs(), EditEngine::RemoveFields(), ImpEditEngine::SeekCursor(), EditUndoSetAttribs::Undo(), and ContentNode::UnExpandPosition().
|
inline |
Definition at line 91 of file editattr.hxx.
References nEnd.
|
inline |
Definition at line 85 of file editattr.hxx.
References pItem.
Referenced by ContentNode::AppendAttribs(), ContentNode::CollapseAttribs(), ContentNode::CopyAndCutAttribs(), ImpEditEngine::CreateLines(), ImpEditEngine::CreateTextObject(), ImpEditEngine::CreateTransferable(), ImpEditEngine::CursorEndOfLine(), ContentNode::ExpandAttribs(), EditDoc::FindAttribs(), ContentNode::GetExpandedText(), ImpEditView::GetField(), EditView::GetFieldAtSelection(), EditEngine::GetFieldInfo(), ImpEditEngine::GetLanguage(), EditDoc::InsertAttrib(), EditDoc::InsertAttribInSelection(), lcl_FindValidAttribs(), CharAttribList::OptimizeRanges(), ImpEditEngine::Paint(), EditDoc::RemoveAttribs(), EditEngine::RemoveFields(), EditDoc::RemoveItemsFromPool(), ImpEditEngine::SeekCursor(), EditCharAttribFont::SetFont(), EditCharAttribWeight::SetFont(), EditCharAttribItalic::SetFont(), EditCharAttribShadow::SetFont(), EditCharAttribEscapement::SetFont(), EditCharAttribOutline::SetFont(), EditCharAttribStrikeout::SetFont(), EditCharAttribCaseMap::SetFont(), EditCharAttribUnderline::SetFont(), EditCharAttribOverline::SetFont(), EditCharAttribEmphasisMark::SetFont(), EditCharAttribRelief::SetFont(), EditCharAttribFontHeight::SetFont(), EditCharAttribColor::SetFont(), EditCharAttribBackgroundColor::SetFont(), EditCharAttribLanguage::SetFont(), EditCharAttribPairKerning::SetFont(), EditCharAttribKerning::SetFont(), EditCharAttribWordLineMode::SetFont(), EditUndoSetAttribs::Undo(), and ImpEditEngine::WriteRTF().
|
inline |
Definition at line 117 of file editattr.hxx.
References DBG_ASSERT, nEnd, and nStart.
Referenced by ContentNode::AppendAttribs(), ContentNode::CollapseAttribs(), and ContentNode::ExpandAttribs().
|
inline |
Definition at line 87 of file editattr.hxx.
References nStart.
Referenced by ImpEditEngine::AddPortionIterated(), ContentNode::AppendAttribs(), ContentNode::CollapseAttribs(), ContentNode::CopyAndCutAttribs(), ImpEditEngine::CreateLines(), ImpEditEngine::CreateTextObject(), ImpEditEngine::CreateTextPortions(), ImpEditEngine::CreateTransferable(), ContentNode::ExpandAttribs(), EditDoc::FindAttribs(), CharAttribList::FindNextAttrib(), ContentNode::GetExpandedText(), ImpEditView::GetField(), EditView::GetFieldAtSelection(), EditEngine::GetFieldInfo(), ImpEditEngine::GetLanguage(), CharAttribList::HasBoundingAttrib(), ImpEditEngine::ImpRemoveChars(), ImpEditEngine::InitScriptTypes(), CharAttribList::InsertAttrib(), EditDoc::InsertAttribInSelection(), lcl_FindValidAttribs(), CharAttribList::OptimizeRanges(), ImpEditEngine::Paint(), EditDoc::RemoveAttribs(), EditEngine::RemoveFields(), ImpEditEngine::SeekCursor(), EditUndoSetAttribs::Undo(), ContentNode::UnExpandPosition(), and ImpEditEngine::WriteRTF().
|
inline |
Definition at line 90 of file editattr.hxx.
References nStart.
|
inline |
Definition at line 113 of file editattr.hxx.
References bEdge.
Referenced by ContentNode::ExpandAttribs().
|
inline |
Definition at line 107 of file editattr.hxx.
Referenced by ContentNode::CollapseAttribs(), ContentNode::ExpandAttribs(), EditDoc::InsertAttrib(), and CharAttribList::InsertAttrib().
|
inline |
Definition at line 110 of file editattr.hxx.
References bFeature.
Referenced by ContentNode::AppendAttribs(), ContentNode::CollapseAttribs(), ContentNode::CopyAndCutAttribs(), ContentNode::ExpandAttribs(), ImpEditEngine::ImpBreakLine(), CharAttribList::OptimizeRanges(), and EditDoc::RemoveAttribs().
|
inline |
Definition at line 103 of file editattr.hxx.
|
inline |
Definition at line 105 of file editattr.hxx.
References nEnd, nIndex, and nStart.
Referenced by ContentNode::CopyAndCutAttribs(), and EditDoc::InsertAttrib().
|
inline |
Definition at line 130 of file editattr.hxx.
References DBG_ASSERT, nEnd, and nStart.
Referenced by ContentNode::CollapseAttribs(), and ContentNode::CopyAndCutAttribs().
|
inline |
Definition at line 123 of file editattr.hxx.
References DBG_ASSERT, nEnd, nStart, and SAL_MAX_INT32.
Referenced by ContentNode::ExpandAttribs().
|
delete |
|
inline |
Definition at line 114 of file editattr.hxx.
References bEdge.
Referenced by ContentNode::ExpandAttribs().
|
inline |
Definition at line 111 of file editattr.hxx.
References bFeature.
Referenced by EditCharAttribField::EditCharAttribField(), EditCharAttribLineBreak::EditCharAttribLineBreak(), and EditCharAttribTab::EditCharAttribTab().
|
virtual |
Reimplemented in EditCharAttribFont, EditCharAttribWeight, EditCharAttribItalic, EditCharAttribShadow, EditCharAttribEscapement, EditCharAttribOutline, EditCharAttribStrikeout, EditCharAttribCaseMap, EditCharAttribUnderline, EditCharAttribOverline, EditCharAttribEmphasisMark, EditCharAttribRelief, EditCharAttribFontHeight, EditCharAttribFontWidth, EditCharAttribColor, EditCharAttribBackgroundColor, EditCharAttribLanguage, EditCharAttribTab, EditCharAttribLineBreak, EditCharAttribField, EditCharAttribPairKerning, EditCharAttribKerning, and EditCharAttribWordLineMode.
Definition at line 62 of file editattr.cxx.
Referenced by ImpEditEngine::SeekCursor().
|
inline |
Definition at line 84 of file editattr.hxx.
References pItem, and SfxPoolItem::Which().
Referenced by ImpEditEngine::AddPortionIterated(), ContentNode::AppendAttribs(), ImpEditEngine::CreateTransferable(), ContentNode::ExpandAttribs(), CharAttribList::FindNextAttrib(), ContentNode::GetExpandedLen(), ImpEditView::GetField(), EditView::GetFieldAtSelection(), EditEngine::GetFieldInfo(), ImpEditEngine::InsertTextObject(), CharAttribList::OptimizeRanges(), EditDoc::RemoveAttribs(), EditEngine::RemoveFields(), ImpEditEngine::SeekCursor(), EditUndoSetAttribs::Undo(), and ContentNode::UnExpandPosition().
|
private |
Definition at line 73 of file editattr.hxx.
|
private |
Definition at line 72 of file editattr.hxx.
Referenced by Collaps(), Expand(), IsFeature(), and SetFeature().
|
private |
Definition at line 71 of file editattr.hxx.
Referenced by Collaps(), dumpAsXml(), Expand(), GetEnd(), GetLen(), IsEmpty(), IsIn(), IsInside(), MoveBackward(), and MoveForward().
|
private |
Definition at line 70 of file editattr.hxx.
Referenced by Collaps(), dumpAsXml(), GetLen(), GetStart(), IsEmpty(), IsIn(), IsInside(), MoveBackward(), and MoveForward().
|
private |
Definition at line 68 of file editattr.hxx.
Referenced by dumpAsXml(), EditCharAttrib(), GetItem(), and Which().