LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
SwTextAttr Class Reference

A wrapper around SfxPoolItem to store the start position of (usually) a text portion, with an optional end. More...

#include <txatbase.hxx>

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

Public Member Functions

void SetStart (sal_Int32 n)
 start position More...
 
sal_Int32 GetStart () const
 
virtual const sal_Int32 * GetEnd () const
 end position More...
 
virtual void SetEnd (sal_Int32)
 
const sal_Int32 * End () const
 
sal_Int32 GetAnyEnd () const
 end (if available), else start More...
 
void SetDontExpand (bool bDontExpand)
 
bool DontExpand () const
 
bool IsLockExpandFlag () const
 
bool IsDontMoveAttr () const
 
bool IsCharFormatAttr () const
 
bool IsOverlapAllowedAttr () const
 
bool IsPriorityAttr () const
 
void SetPriorityAttr (bool bFlag)
 
bool IsDontExpandStartAttr () const
 
bool IsNesting () const
 
bool HasDummyChar () const
 
bool IsFormatIgnoreStart () const
 
bool IsFormatIgnoreEnd () const
 
void SetFormatIgnoreStart (bool bFlag)
 
void SetFormatIgnoreEnd (bool bFlag)
 
bool HasContent () const
 
const SfxPoolItemGetAttr () const
 
SfxPoolItemGetAttr ()
 
sal_uInt16 Which () const
 
bool operator== (const SwTextAttr &) const
 
const SwFormatCharFormatGetCharFormat () const
 
const SwFormatAutoFormatGetAutoFormat () const
 
const SwFormatFieldGetFormatField () const
 
const SwFormatFootnoteGetFootnote () const
 
const SwFormatLineBreakGetLineBreak () const
 
const SwFormatContentControlGetContentControl () const
 
const SwFormatFlyCntGetFlyCnt () const
 
const SwTOXMarkGetTOXMark () const
 
const SwFormatRefMarkGetRefMark () const
 
const SwFormatINetFormatGetINetFormat () const
 
const SwFormatRubyGetRuby () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Static Public Member Functions

static void Destroy (SwTextAttr *pToDestroy, SfxItemPool &rPool)
 destroy instance More...
 

Protected Member Functions

 SwTextAttr (SfxPoolItem &rAttr, sal_Int32 nStart)
 
virtual ~SwTextAttr () COVERITY_NOEXCEPT_FALSE
 
void SetLockExpandFlag (bool bFlag)
 
void SetDontMoveAttr (bool bFlag)
 
void SetCharFormatAttr (bool bFlag)
 
void SetOverlapAllowedAttr (bool bFlag)
 
void SetDontExpandStartAttr (bool bFlag)
 
void SetNesting (const bool bFlag)
 
void SetHasDummyChar (const bool bFlag)
 
void SetHasContent (const bool bFlag)
 

Protected Attributes

SwpHintsm_pHints = nullptr
 

Private Member Functions

 SwTextAttr (SwTextAttr const &)=delete
 
SwTextAttroperator= (SwTextAttr const &)=delete
 

Private Attributes

SfxPoolItem *const m_pAttr
 
sal_Int32 m_nStart
 
bool m_bDontExpand: 1
 
bool m_bLockExpandFlag: 1
 
bool m_bDontMoveAttr: 1
 
bool m_bCharFormatAttr: 1
 
bool m_bOverlapAllowedAttr: 1
 
bool m_bPriorityAttr: 1
 
bool m_bDontExpandStart: 1
 
bool m_bNesting: 1
 
bool m_bHasDummyChar: 1
 
bool m_bFormatIgnoreStart: 1
 text formatting should ignore start More...
 
bool m_bFormatIgnoreEnd: 1
 text formatting should ignore end More...
 
bool m_bHasContent: 1
 

Friends

class SwpHints
 

Detailed Description

A wrapper around SfxPoolItem to store the start position of (usually) a text portion, with an optional end.

Definition at line 43 of file txatbase.hxx.

Constructor & Destructor Documentation

◆ SwTextAttr() [1/2]

SwTextAttr::SwTextAttr ( SwTextAttr const &  )
privatedelete

◆ SwTextAttr() [2/2]

SwTextAttr::SwTextAttr ( SfxPoolItem rAttr,
sal_Int32  nStart 
)
protected

Definition at line 26 of file txatbase.cxx.

◆ ~SwTextAttr()

SwTextAttr::~SwTextAttr ( )
protectedvirtual

Definition at line 44 of file txatbase.cxx.

Member Function Documentation

◆ Destroy()

void SwTextAttr::Destroy ( SwTextAttr pToDestroy,
SfxItemPool rPool 
)
static

◆ DontExpand()

bool SwTextAttr::DontExpand ( ) const
inline

◆ dumpAsXml()

void SwTextAttr::dumpAsXml ( xmlTextWriterPtr  pWriter) const
virtual

◆ End()

const sal_Int32 * SwTextAttr::End ( ) const
inline

Definition at line 156 of file txatbase.hxx.

References GetEnd().

Referenced by SwLanguageIterator::AddToStack(), SwpHints::BuildPortions(), sw::CalcBreaks(), CanSkipOverRedline(), SwpHints::Check(), SwTextNode::CopyExpandText(), SwTextNode::DeleteAttribute(), SwTextNode::DeleteAttributes(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwXReferenceMark::dispose(), dumpAsXml(), SwCursorShell::EndOfInputFieldAtPos(), SwTOXSortTabBase::equivalent(), SwTOXIndex::FillText(), SwTOXContent::FillText(), sw::FindAttrImpl(), SwXDocumentIndexMark::getAnchor(), SwXReferenceMark::getAnchor(), GetAnyEnd(), SwCursorShell::GetContentAtPos(), SwDoc::GetCurTOXMark(), SwEditShell::GetItemWithPaM(), SwTextNode::GetLang(), SwTextSizeInfo::GetMultiCreator(), SwTextNode::GetOverlappingInputField(), SwTextField::GetPamForTextField(), SwTextNode::GetParaAttr(), SwTOXContent::GetText_Impl(), SwTextNode::GetTextAttrForEndCharAt(), SwCursorShell::GetTextFieldAtCursor(), SwWW8AttrIter::HasTextItem(), SwSelPaintRects::HighlightContentControl(), SwSelPaintRects::HighlightInputField(), SwCallLink::ImplDestroy(), SwTextNode::InsertHint(), SwWW8AttrIter::IsExportableAttr(), lcl_CheckSortNumber(), lcl_CreateRefMarkPortion(), lcl_dbg_out(), lcl_InsertRubyPortion(), lcl_SearchAttr(), lcl_SearchBackward(), SwEditWin::MouseButtonDown(), SwLanguageIterator::Next(), SwURLStateChanged::Notify(), SwWW8AttrIter::OutAttr(), SwWW8AttrIter::OutAttrWithRange(), SwHTMLWriter::OutHeaderAttrs(), OutHTML_SwTextNode(), MSWordExportBase::OutputTextNode(), SwDoc::ResetAttrs(), SwDontExpandItem::RestoreDontExpandItems(), SwTextNode::RstTextAttr(), SwWW8AttrIter::SearchNext(), SwLanguageIterator::SearchNextChg(), SwScriptInfo::selectHiddenTextProperty(), SwCursorShell::SelectNxtPrvHyperlink(), SwCursorShell::SelectTextAttr(), SwXContentControl::SetContentRange(), SwXMeta::SetContentRange(), SwXDocumentIndexMark::setMarkEntry(), SwXReferenceMark::setName(), SwXDocumentIndexMark::setPropertyValue(), SwTOXSortTabBase::sort_lt(), TextAttrContains(), AttributeOutputBase::TOXMark(), SwTextInputField::UpdateFieldContent(), SwTOXBaseSection::UpdatePageNum_(), and SwTextInputField::UpdateTextNodeContent().

◆ GetAnyEnd()

sal_Int32 SwTextAttr::GetAnyEnd ( ) const
inline

◆ GetAttr() [1/2]

SfxPoolItem & SwTextAttr::GetAttr ( void  )
inline

Definition at line 173 of file txatbase.hxx.

References GetAttr().

◆ GetAttr() [2/2]

const SfxPoolItem & SwTextAttr::GetAttr ( void  ) const
inline

Definition at line 167 of file txatbase.hxx.

References m_pAttr.

Referenced by SwAttrHandler::ActivateTop(), SwHTMLParser::AppendTextNode(), SwpHints::BuildPortions(), SwNodes::ChgNode(), SwTextMeta::ChgTextNode(), SwTextContentControl::ChgTextNode(), SwTextNode::CopyAttr(), SwTextNode::CopyText(), SwTextNode::CutImpl(), SwTextNode::DestroyAttr(), SwWW8ImplReader::End_Footnote(), AttributeOutputBase::GenerateBookmarksForSequenceField(), GetAttr(), SwCursorShell::GetContentAtPos(), CharFormat::GetItem(), SwEditShell::GetItemWithPaM(), SwUnoCursorHelper::GetNestedTextContent(), SwTextNode::GetParaAttr(), SwTextContentControl::GetTextNode(), SwWW8AttrIter::HasTextItem(), SwTextNode::impl_FormatToTextAttr(), SwWW8AttrIter::IsExportableAttr(), CharFormat::IsItemIncluded(), lcl_CreateContentControlPortion(), lcl_CreateMetaPortion(), lcl_CreateRefMarkPortion(), lcl_CreateTOXMarkPortion(), lcl_dbg_out(), lcl_GetParagraphMetadataFieldAtIndex(), lcl_NewMetaPortion(), MakeTextAttrNesting(), SwCursorShell::MoveFieldType(), SwFootnoteBossFrame::MoveFootnotes_(), SwTextNode::MoveTextAttr_To_AttrSet(), SwLanguageIterator::Next(), operator==(), SwWW8AttrIter::OutAttr(), SwWW8AttrIter::OutAttrWithRange(), SwHTMLWriter::OutHeaderAttrs(), OutHTML_SwTextNode(), MSWordExportBase::OutputTextNode(), SwAttrHandler::PopAndChg(), SwAttrHandler::PushAndChg(), SwDontExpandItem::RestoreDontExpandItems(), SwTextNode::RstTextAttr(), SwHistorySetText::SwHistorySetText(), SwpHints::TryInsertHint(), SwTextNode::Update(), SwTextContentControl::~SwTextContentControl(), SwTextField::~SwTextField(), and SwTextMeta::~SwTextMeta().

◆ GetAutoFormat()

const SwFormatAutoFormat & SwTextAttr::GetAutoFormat ( ) const
inline

◆ GetCharFormat()

const SwFormatCharFormat & SwTextAttr::GetCharFormat ( ) const
inline

◆ GetContentControl()

const SwFormatContentControl & SwTextAttr::GetContentControl ( ) const
inline

◆ GetEnd()

const sal_Int32 * SwTextAttr::GetEnd ( ) const
virtual

◆ GetFlyCnt()

const SwFormatFlyCnt & SwTextAttr::GetFlyCnt ( ) const
inline

◆ GetFootnote()

const SwFormatFootnote & SwTextAttr::GetFootnote ( ) const
inline

Definition at line 208 of file txatbase.hxx.

References m_pAttr, RES_TXTATR_FTN(), and SfxPoolItem::Which().

Referenced by SwFrame::AdjustNeighbourhood(), SwFootnoteBossFrame::AppendFootnote(), SwXFootnote::attach(), SwDoc::ChgPageDesc(), SwFootnoteBossFrame::CollectFootnotes_(), SwTextFrame::ConnectFootnote(), SwTextNode::CopyExpandText(), SwTextFootnote::CopyFootnote(), sw::CreateParentXText(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwFootnoteContFrame::FindFootNote(), SwFrame::FindNext_(), SwUpdFootnoteEndNtAtEnd::FindSectNdWithEndAttr(), SwTextFormatter::FormatQuoVadis(), SwAccessibleFootnote::getAccessibleDescription(), SwXFootnotes::getByIndex(), SwXFootnotes::getCount(), SwUnoCursorHelper::getCursorPropertyValue(), SwTextNode::GetMinMaxSize(), SwUpdFootnoteEndNtAtEnd::GetNumber(), SwFrame::GetPrevFootnoteLeaf(), SwTextFrame::GetScalingOfSelectedText(), SwEditShell::GetSeqFootnoteList(), SwFootnoteBossFrame::GetVarSpace(), IMPL_LINK(), SwFootnoteBossFrame::InsertFootnote(), SwTextFootnote::InvalidateNumberInLayout(), SwContentNode::IsAnyCondition(), SwAccessibleFootnote::IsEndnote(), lcl_ExportHints(), lcl_FindContentFrame(), lcl_FindEndnote(), lcl_FindFootnotePos(), SwContentFrame::MakeAll(), SwTextFootnote::MakeNewTextSection(), SwFlowFrame::MoveBwd(), SwContentFrame::MoveFootnoteCntFwd(), SwFootnoteBossFrame::MoveFootnotes(), SwTextFormatter::NewErgoSumPortion(), SwTextFormatter::NewFootnoteNumPortion(), SwTextFormatter::NewFootnotePortion(), SwTextFormatter::NewPortion(), SwFootnoteBossFrame::RearrangeFootnotes(), SwTextFrame::RemoveFootnote(), SwWW8FltRefStack::SetAttrInDoc(), SwDoc::SetCurFootnote(), SwDoc::SetEndNoteInfo(), SwDoc::SetFootnoteInfo(), SwHistorySetFootnote::SetInDoc(), SwTextFootnote::SetNumber(), sw_RemoveFootnotes(), SwAccessibleFootnote::SwAccessibleFootnote(), SwFootnoteIdxs::UpdateAllFootnote(), SwGetRefField::UpdateField(), SwFootnoteIdxs::UpdateFootnote(), SwPageFrame::UpdateFootnoteNum(), and WidowsAndOrphans::WidowsAndOrphans().

◆ GetFormatField()

const SwFormatField & SwTextAttr::GetFormatField ( ) const
inline

Definition at line 199 of file txatbase.hxx.

References m_pAttr, RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_INPUTFIELD(), and SfxPoolItem::Which().

Referenced by SwXTextField::attach(), SwTaggedPDFHelper::BeginInlineStructureElements(), SwpHints::CalcFlags(), SwpHints::CalcHiddenParaField(), sw::annotation::SwAnnotationWin::CalcParent(), SwRefPageGetField::ChangeExpansion(), SwNodes::ChgNode(), SwDoc::ConvertFieldsToText(), SwTextField::CopyTextField(), sw::annotation::SwAnnotationWin::CountFollowing(), SwpHints::DeleteAtPos(), SwWrtShell::DelRight(), SwTextNode::DestroyAttr(), SwUndoFieldFromDoc::DoImpl(), dumpAsXml(), SwTextField::ExpandTextField(), sw::DocumentFieldsManager::FieldsToExpand(), AttributeOutputBase::GenerateBookmarksForSequenceField(), SwTextAnnotationField::GetAnnotationMark(), SwAuthorityField::GetAuthority(), SwDocUpdateField::GetBodyNode(), SwCursorShell::GetContentAtPos(), SwUnoCursorHelper::getCursorPropertyValue(), SwInputFieldList::GetField(), SwCursorShell::GetFieldAtCursor(), sw::DocumentFieldsManager::GetFieldAtPos(), SwTextInputField::GetFieldContent(), SwAccessibleParagraph::GetFieldTypeNameAtIndex(), SwTextNode::GetMinMaxSize(), SwPageFrame::GetModelPositionForViewPoint(), SwCursorShell::GetPostItFieldAtCursor(), sw::DocumentFieldsManager::GetRecordsPerDocument(), SwTextFrame::GetScalingOfSelectedText(), SwTableBox::GetValue(), SwPaM::HasReadonlySel(), SwHandleAnchorNodeChg::ImplDestroy(), sw::mark::AnnotationMark::InitDoc(), SwDocUpdateField::InsDelFieldInFieldLst(), SwTextNode::InsertHint(), SwTableBox::IsValidNumTextNd(), lcl_CopyHint(), lcl_ExportHints(), lcl_IsNoEndTextAttrAtPos(), lcl_MakeFieldLst(), MakeTextAttr(), SwEditWin::MouseButtonDown(), SwTextFormatter::NewFieldPortion(), SwFltControlStack::SetAttrInDoc(), SwXTextField::TransmuteLeadToInputField(), SwpHints::TryInsertHint(), SwUndoFieldFromDoc::UndoImpl(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), sw::DocumentFieldsManager::UpdateField(), SwRefPageGetFieldType::UpdateField(), SwTextInputField::UpdateFieldContent(), SwEditShell::UpdateOneField(), SwEditWin::UpdatePointer(), and SwFormatField::UpdateTextNode().

◆ GetINetFormat()

const SwFormatINetFormat & SwTextAttr::GetINetFormat ( ) const
inline

◆ GetLineBreak()

const SwFormatLineBreak & SwTextAttr::GetLineBreak ( ) const
inline

◆ GetRefMark()

const SwFormatRefMark & SwTextAttr::GetRefMark ( ) const
inline

◆ GetRuby()

const SwFormatRuby & SwTextAttr::GetRuby ( ) const
inline

◆ GetStart()

sal_Int32 SwTextAttr::GetStart ( ) const
inline

Definition at line 88 of file txatbase.hxx.

Referenced by SwHistory::Add(), SwHTMLParser::AppendTextNode(), SwXTextField::attach(), SwpHints::BuildPortions(), sw::CalcBreaks(), sw::annotation::SwAnnotationWin::CalcParent(), CanSkipOverRedline(), SwpHints::Check(), CmpL(), CmpLE(), CompareSwpHtStart(), SwDoc::ConvertFieldsToText(), SwHistory::CopyAttr(), SwTextNode::CopyAttr(), SwTextNode::CopyExpandText(), SwTextNode::CopyText(), SwWW8ImplReader::CoreLoad(), sw::annotation::SwAnnotationWin::CountFollowing(), SwTextNode::CutImpl(), SwUndoSaveContent::DelContentIndex(), SwTextNode::DeleteAttribute(), SwTextNode::DeleteAttributes(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwDoc::DeleteTOXMark(), SwXFootnote::dispose(), SwXReferenceMark::dispose(), SwTextNode::DontExpandFormat(), DocxAttributeOutput::EndRun(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwTOXSortTabBase::equivalent(), SwTextNode::EraseText(), SwTOXIndex::FillText(), SwTOXContent::FillText(), SwGetRefFieldType::FindAnchor(), sw::FindAttrImpl(), SwTextFrame::FindFootnoteRef(), SwTextNode::GCAttr(), AttributeOutputBase::GenerateBookmarksForSequenceField(), SwFormatLineBreak::GetAnchor(), SwXDocumentIndexMark::getAnchor(), SwXReferenceMark::getAnchor(), SwFormatFootnote::getAnchor(), SwAnnotationItem::GetAnchorPosition(), sw::ToxTextGenerator::GetAttributesForNode(), GetBkwrdTextHint(), SwDocUpdateField::GetBodyNode(), GetBodyTextNode(), SwCursorShell::GetContentAtPos(), SwUnoCursorHelper::getCursorPropertyValue(), SwDoc::GetCurTOXMark(), SwTextFrame::GetFootnoteLine(), GetFrwrdTextHint(), SwAccessibleParagraph::getHyperLink(), SwAccessibleParagraph::getHyperLinkIndex(), SwEditShell::GetINetAttrs(), SwEditShell::GetItemWithPaM(), SwTextNode::GetLang(), SwTextSizeInfo::GetMultiCreator(), SwUnoCursorHelper::GetNestedTextContent(), GetNextAttrImpl(), SwTextNode::GetOverlappingInputField(), SwTextField::GetPamForTextField(), SwTextNode::GetParaAttr(), SwXTextField::getPropertyValue(), SwGetExpField::GetReferenceTextPos(), SwFootnoteFrame::GetRefFromAttr(), SwTOXMark::GetText(), SwTOXContent::GetText_Impl(), SwTextNode::GetTextAttrForCharAt(), SwCursorShell::GetTextFieldAtCursor(), SwCursor::GotoFootnoteAnchor(), SwCursorShell::GotoFootnoteAnchor(), SwCursorShell::GotoFormatField(), SwCursorShell::GotoINetAttr(), SwCursor::GotoNextFootnoteAnchor(), SwCursor::GotoPrevFootnoteAnchor(), SwDoc::GotoTOXMark(), SwCursorShell::GotoTOXMark(), SwPaM::HasReadonlySel(), SwWW8AttrIter::HasTextItem(), SwSelPaintRects::HighlightContentControl(), SwSelPaintRects::HighlightInputField(), SwCallLink::ImplDestroy(), sw::annotation::SwAnnotationWin::InitAnswer(), sw::sidebarwindows::SwFrameSidebarWinContainer::insert(), SwTextNode::InsertHint(), SwTextNode::InsertText(), SwWW8AttrIter::IsExportableAttr(), sw::IsFieldDeletedInModel(), sw::IsFootnoteDeleted(), sw::IsMarkHintHidden(), SwWW8AttrIter::IsTextAttr(), SwTableBox::IsValidNumTextNd(), lcl_CheckSortNumber(), lcl_CleanStr(), lcl_CopyHint(), lcl_dbg_out(), lcl_ExportHints(), lcl_GetTextAttrs(), lcl_SearchAttr(), lcl_SearchForward(), SwpHints::MergePortions(), ModelToViewHelper::ModelToViewHelper(), SwEditWin::MouseButtonDown(), SwCursorShell::MoveFieldType(), SwTextNode::MoveTextAttr_To_AttrSet(), SwTextFormatter::NewNumberPortion(), sw::MergedAttrIter::NextAttr(), SwURLStateChanged::Notify(), CompareSwpHtEnd::operator()(), CompareSwpHtWhichStart::operator()(), CompareSwFootnoteIdxs::operator()(), SwFormatFlyCnt::operator==(), SwWW8AttrIter::OutAttr(), SwWW8AttrIter::OutAttrWithRange(), SwHTMLWriter::OutHeaderAttrs(), OutHTML_SwFormatField(), OutHTML_SwTextNode(), MSWordExportBase::OutputTextNode(), SwTextFrame::Prepare(), sw::MergedAttrIterReverse::PrevAttr(), sw::RemoveFootnotesForNode(), SwTextNode::ReplaceText(), SwDoc::ResetAttrs(), SwDontExpandItem::RestoreDontExpandItems(), SwTextNode::RstTextAttr(), SwWW8AttrIter::SearchNext(), SwLanguageIterator::SearchNextChg(), SwAttrIter::SeekFwd(), SwScriptInfo::selectHiddenTextProperty(), SwDoc::SelectNextRubyChars(), SwCursorShell::SelectNxtPrvHyperlink(), SwCursorShell::SelectTextAttr(), SwFlyAtContentFrame::SetAbsPos(), SwTextFlyCnt::SetAnchor(), SwXContentControl::SetContentRange(), SwXMeta::SetContentRange(), SwDoc::SetCurFootnote(), SetGetExpField::SetGetExpField(), SwXFootnote::setLabel(), SwXDocumentIndexMark::setMarkEntry(), SwXReferenceMark::setName(), sw::annotation::SwAnnotationWin::SetPosAndSize(), SwXTextField::setPropertyValue(), SwXDocumentIndexMark::setPropertyValue(), SwTOXSortTabBase::sort_lt(), SwTextNode::SplitContentNode(), SwCursorShell::StartOfInputFieldAtPos(), SwTextRuby::SwClientNotify(), SwTextINetFormat::SwClientNotify(), SwFormatField::SwClientNotify(), SwTextFrame::SwClientNotify(), SwHistorySetTextField::SwHistorySetTextField(), SwTOXAuthority::SwTOXAuthority(), SwTOXSortTabBase::SwTOXSortTabBase(), TextAttrContains(), AttributeOutputBase::TOXMark(), SwTextCharFormat::TriggerNodeUpdate(), SwpHints::TryInsertHint(), SwpHints::TryInsertNesting(), SwTextNode::Update(), sw::annotation::SwAnnotationWin::UpdateData(), SwGetRefField::UpdateField(), sw::DocumentFieldsManager::UpdateField(), SwTextInputField::UpdateFieldContent(), SwGetRefFieldType::UpdateGetReferences(), SwIndexMarkPane::UpdateLanguageDependenciesForPhoneticReading(), SwTOXBaseSection::UpdatePageNum_(), SwTOXBaseSection::UpdateSequence(), SwTextInputField::UpdateTextNodeContent(), DocxAttributeOutput::WriteContentControlStart(), and WW8Export::WriteFootnoteBegin().

◆ GetTOXMark()

const SwTOXMark & SwTextAttr::GetTOXMark ( ) const
inline

◆ HasContent()

bool SwTextAttr::HasContent ( ) const
inline

◆ HasDummyChar()

bool SwTextAttr::HasDummyChar ( ) const
inline

◆ IsCharFormatAttr()

bool SwTextAttr::IsCharFormatAttr ( ) const
inline

◆ IsDontExpandStartAttr()

bool SwTextAttr::IsDontExpandStartAttr ( ) const
inline

Definition at line 105 of file txatbase.hxx.

Referenced by SwTextNode::InsertText().

◆ IsDontMoveAttr()

bool SwTextAttr::IsDontMoveAttr ( ) const
inline

Definition at line 100 of file txatbase.hxx.

Referenced by SwTextNode::MoveTextAttr_To_AttrSet().

◆ IsFormatIgnoreEnd()

bool SwTextAttr::IsFormatIgnoreEnd ( ) const
inline

◆ IsFormatIgnoreStart()

bool SwTextAttr::IsFormatIgnoreStart ( ) const
inline

◆ IsLockExpandFlag()

bool SwTextAttr::IsLockExpandFlag ( ) const
inline

Definition at line 99 of file txatbase.hxx.

Referenced by SwTextNode::DontExpandFormat().

◆ IsNesting()

bool SwTextAttr::IsNesting ( ) const
inline

◆ IsOverlapAllowedAttr()

bool SwTextAttr::IsOverlapAllowedAttr ( ) const
inline

Definition at line 102 of file txatbase.hxx.

Referenced by SwpHints::TryInsertHint().

◆ IsPriorityAttr()

bool SwTextAttr::IsPriorityAttr ( ) const
inline

Definition at line 103 of file txatbase.hxx.

Referenced by SwAttrHandler::Push().

◆ operator=()

SwTextAttr & SwTextAttr::operator= ( SwTextAttr const &  )
privatedelete

◆ operator==()

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

Definition at line 66 of file txatbase.cxx.

References GetAttr().

◆ SetCharFormatAttr()

void SwTextAttr::SetCharFormatAttr ( bool  bFlag)
inlineprotected

◆ SetDontExpand()

void SwTextAttr::SetDontExpand ( bool  bDontExpand)
inline

◆ SetDontExpandStartAttr()

void SwTextAttr::SetDontExpandStartAttr ( bool  bFlag)
inlineprotected

Definition at line 76 of file txatbase.hxx.

Referenced by SwTextAttrNesting::SwTextAttrNesting().

◆ SetDontMoveAttr()

void SwTextAttr::SetDontMoveAttr ( bool  bFlag)
inlineprotected

Definition at line 73 of file txatbase.hxx.

Referenced by SwTextRefMark::SwTextRefMark(), and SwTextTOXMark::SwTextTOXMark().

◆ SetEnd()

void SwTextAttr::SetEnd ( sal_Int32  )
virtual

◆ SetFormatIgnoreEnd()

void SwTextAttr::SetFormatIgnoreEnd ( bool  bFlag)
inline

Definition at line 111 of file txatbase.hxx.

Referenced by SwpHints::MergePortions(), and SwHistorySetText::SetInDoc().

◆ SetFormatIgnoreStart()

void SwTextAttr::SetFormatIgnoreStart ( bool  bFlag)
inline

Definition at line 110 of file txatbase.hxx.

Referenced by SwpHints::MergePortions(), and SwHistorySetText::SetInDoc().

◆ SetHasContent()

void SwTextAttr::SetHasContent ( const bool  bFlag)
inlineprotected

Definition at line 79 of file txatbase.hxx.

Referenced by SwTextInputField::SwTextInputField().

◆ SetHasDummyChar()

void SwTextAttr::SetHasDummyChar ( const bool  bFlag)
inlineprotected

◆ SetLockExpandFlag()

void SwTextAttr::SetLockExpandFlag ( bool  bFlag)
inlineprotected

Definition at line 72 of file txatbase.hxx.

Referenced by SwTextAttrNesting::SwTextAttrNesting().

◆ SetNesting()

void SwTextAttr::SetNesting ( const bool  bFlag)
inlineprotected

Definition at line 77 of file txatbase.hxx.

Referenced by SwTextAttrNesting::SwTextAttrNesting().

◆ SetOverlapAllowedAttr()

void SwTextAttr::SetOverlapAllowedAttr ( bool  bFlag)
inlineprotected

Definition at line 75 of file txatbase.hxx.

Referenced by SwTextRefMark::SwTextRefMark(), and SwTextTOXMark::SwTextTOXMark().

◆ SetPriorityAttr()

void SwTextAttr::SetPriorityAttr ( bool  bFlag)
inline

Definition at line 104 of file txatbase.hxx.

Referenced by SwTextFrame::GetScalingOfSelectedText(), and SwRedlineItr::Seek().

◆ SetStart()

void SwTextAttr::SetStart ( sal_Int32  n)
inline

◆ Which()

sal_uInt16 SwTextAttr::Which ( ) const
inline

Definition at line 116 of file txatbase.hxx.

Referenced by SwAttrHandler::ActivateTop(), SwHistory::Add(), SwHTMLParser::AddParSpace(), SwHTMLParser::AppendTextNode(), SwXTextField::attach(), SwTaggedPDFHelper::BeginInlineStructureElements(), SwpHints::BuildPortions(), SwpHints::CalcFlags(), SwpHints::CalcHiddenParaField(), CanSkipOverRedline(), SwpHints::Check(), SwNodes::ChgNode(), SwTextNode::ClearSwpHintsArr(), sw::ToxTextGenerator::CollectAttributesForTox(), CompareSwpHtStart(), SwDoc::ConvertFieldsToText(), SwHistory::CopyAttr(), SwTextNode::CopyAttr(), SwTextNode::CopyExpandText(), SwTextNode::CopyText(), SwWW8ImplReader::CoreLoad(), SwTextNode::CutImpl(), SwpHints::DeleteAtPos(), SwTextNode::DeleteAttribute(), SwTextNode::DeleteAttributes(), SwTextNode::DestroyAttr(), dumpAsXml(), SwTextNode::EraseText(), sw::FindAttrImpl(), SwTextNode::GCAttr(), GetCharOfTextAttr(), SwCursorShell::GetContentAtPos(), SwUnoCursorHelper::getCursorPropertyValue(), SwDoc::GetCurTOXMark(), CharFormat::GetItem(), SwEditShell::GetItemWithPaM(), SwTextNode::GetLang(), SwTextNode::GetMinMaxSize(), SwTextSizeInfo::GetMultiCreator(), SwTextNode::GetParaAttr(), SwTextFrame::GetScalingOfSelectedText(), SwTextNode::GetTextAttrForCharAt(), SwPaM::HasReadonlySel(), SwWW8AttrIter::HasTextItem(), SwTextNode::InsertHint(), SwTransferable::isComplex(), SwTableBox::IsValidNumTextNd(), lcl_ChangeFootnoteRef(), lcl_CheckSortNumber(), lcl_ChgHyperLinkColor(), lcl_CleanStr(), lcl_Compare_Attributes(), lcl_CopyHint(), lcl_CreateMetaPortion(), lcl_ExportHints(), lcl_GetTextAttrs(), lcl_HasComments(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_IsNoEndTextAttrAtPos(), lcl_SearchAttr(), SwTextFormatter::MakeRestPortion(), MakeTextAttrNesting(), SwpHints::MergePortions(), ModelToViewHelper::ModelToViewHelper(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwCursorShell::MoveFieldType(), SwTextFormatter::NewExtraPortion(), SwTextFormatter::NewNumberPortion(), SwLanguageIterator::Next(), CompareSwpHtWhichStart::operator()(), CompareSwpHtEnd::operator()(), SwHTMLWriter::OutHeaderAttrs(), OutHTML_SwTextNode(), SwAttrHandler::Pop(), SwAttrHandler::PopAndChg(), SwAttrHandler::PushAndChg(), SwNodes::RemoveNode(), Replace0xFF(), SwDontExpandItem::RestoreDontExpandItems(), SwUndoFormatAttr::RestoreFlyAnchor(), SwTextNode::RstTextAttr(), SwDoc::SelectNextRubyChars(), sw::DocumentFieldsManager::SetFieldsDirty(), SwDoc::SetFlyFrameAnchor(), SwXShape::setPropertyValue(), SwTextNode::SplitContentNode(), SwBreakPortion::SwBreakPortion(), SwHistorySetText::SwHistorySetText(), SwRubyPortion::SwRubyPortion(), TextAttrDelete(), SwpHints::TryInsertHint(), SwpHints::TryInsertNesting(), SwTextFormatter::TryNewNoLengthPortion(), SwUndoSetFlyFormat::UndoImpl(), SwTextNode::Update(), SwTOXBaseSection::UpdatePageNum_(), and SwEditWin::UpdatePointer().

Friends And Related Function Documentation

◆ SwpHints

friend class SwpHints
friend

Definition at line 45 of file txatbase.hxx.

Member Data Documentation

◆ m_bCharFormatAttr

bool SwTextAttr::m_bCharFormatAttr
private

Definition at line 53 of file txatbase.hxx.

◆ m_bDontExpand

bool SwTextAttr::m_bDontExpand
private

Definition at line 49 of file txatbase.hxx.

Referenced by dumpAsXml(), and SetDontExpand().

◆ m_bDontExpandStart

bool SwTextAttr::m_bDontExpandStart
private

Definition at line 56 of file txatbase.hxx.

◆ m_bDontMoveAttr

bool SwTextAttr::m_bDontMoveAttr
private

Definition at line 52 of file txatbase.hxx.

◆ m_bFormatIgnoreEnd

bool SwTextAttr::m_bFormatIgnoreEnd
private

text formatting should ignore end

Definition at line 60 of file txatbase.hxx.

◆ m_bFormatIgnoreStart

bool SwTextAttr::m_bFormatIgnoreStart
private

text formatting should ignore start

Definition at line 59 of file txatbase.hxx.

◆ m_bHasContent

bool SwTextAttr::m_bHasContent
private

Definition at line 61 of file txatbase.hxx.

◆ m_bHasDummyChar

bool SwTextAttr::m_bHasDummyChar
private

Definition at line 58 of file txatbase.hxx.

◆ m_bLockExpandFlag

bool SwTextAttr::m_bLockExpandFlag
private

Definition at line 50 of file txatbase.hxx.

Referenced by SetDontExpand().

◆ m_bNesting

bool SwTextAttr::m_bNesting
private

Definition at line 57 of file txatbase.hxx.

◆ m_bOverlapAllowedAttr

bool SwTextAttr::m_bOverlapAllowedAttr
private

Definition at line 54 of file txatbase.hxx.

◆ m_bPriorityAttr

bool SwTextAttr::m_bPriorityAttr
private

Definition at line 55 of file txatbase.hxx.

◆ m_nStart

sal_Int32 SwTextAttr::m_nStart
private

Definition at line 48 of file txatbase.hxx.

Referenced by dumpAsXml(), and GetAnyEnd().

◆ m_pAttr

SfxPoolItem* const SwTextAttr::m_pAttr
private

◆ m_pHints

SwpHints* SwTextAttr::m_pHints = nullptr
protected

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