LibreOffice Module sw (master)
1
|
#include <txtinet.hxx>
Public Member Functions | |
SwTextINetFormat (SwFormatINetFormat &rAttr, sal_Int32 nStart, sal_Int32 nEnd) | |
virtual | ~SwTextINetFormat () override |
virtual bool | GetInfo (SfxPoolItem &rInfo) const override |
SAL_DLLPRIVATE void | InitINetFormat (SwTextNode &rNode) |
const SwTextNode * | GetpTextNode () const |
const SwTextNode & | GetTextNode () const |
SwTextNode & | GetTextNode () |
void | ChgTextNode (SwTextNode *pNew) |
SwCharFormat * | GetCharFormat () |
const SwCharFormat * | GetCharFormat () const |
bool | IsVisited () const |
void | SetVisited (bool bNew) |
bool | IsVisitedValid () const |
void | SetVisitedValid (bool bNew) |
bool | IsProtect () const |
![]() | |
SwTextAttrEnd (SfxPoolItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd) | |
virtual const sal_Int32 * | GetEnd () const override |
end position More... | |
virtual void | SetEnd (sal_Int32) override |
![]() | |
void | SetStart (sal_Int32 n) |
start position More... | |
sal_Int32 | GetStart () const |
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 SfxPoolItem & | GetAttr () const |
SfxPoolItem & | GetAttr () |
sal_uInt16 | Which () const |
bool | operator== (const SwTextAttr &) const |
const SwFormatCharFormat & | GetCharFormat () const |
const SwFormatAutoFormat & | GetAutoFormat () const |
const SwFormatField & | GetFormatField () const |
const SwFormatFootnote & | GetFootnote () const |
const SwFormatFlyCnt & | GetFlyCnt () const |
const SwTOXMark & | GetTOXMark () const |
const SwFormatRefMark & | GetRefMark () const |
const SwFormatINetFormat & | GetINetFormat () const |
const SwFormatRuby & | GetRuby () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
![]() | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::unique_ptr< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
![]() | |
bool | IsLast () const |
Private Member Functions | |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
Private Attributes | |
SwTextNode * | m_pTextNode |
bool | m_bVisited: 1 |
bool | m_bVisitedValid: 1 |
Additional Inherited Members | |
![]() | |
static void | Destroy (SwTextAttr *pToDestroy, SfxItemPool &rPool) |
destroy instance More... | |
![]() | |
SwTextAttrNesting (SfxPoolItem &i_rAttr, const sal_Int32 i_nStart, const sal_Int32 i_nEnd) | |
virtual | ~SwTextAttrNesting () override |
![]() | |
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) |
![]() | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
![]() | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
![]() | |
sal_Int32 | m_nEnd |
![]() | |
SwpHints * | m_pHints = nullptr |
Definition at line 28 of file txtinet.hxx.
SwTextINetFormat::SwTextINetFormat | ( | SwFormatINetFormat & | rAttr, |
sal_Int32 | nStart, | ||
sal_Int32 | nEnd | ||
) |
Definition at line 94 of file txtatr2.cxx.
References SwFormatINetFormat::mpTextAttr, and SwTextAttr::SetCharFormatAttr().
|
overridevirtual |
Definition at line 107 of file txtatr2.cxx.
|
inline |
Definition at line 48 of file txtinet.hxx.
Referenced by InitINetFormat(), and lcl_CopyHint().
SwCharFormat * SwTextINetFormat::GetCharFormat | ( | ) |
Definition at line 111 of file txtatr2.cxx.
References SwModify::Add(), SwClient::EndListeningAll(), SwDoc::FindCharFormatByName(), IDocumentStylePoolAccess::GetCharFormatFromPool(), SwNode::GetDoc(), SwDoc::getIDocumentState(), SwDoc::getIDocumentStylePoolAccess(), SwFormatINetFormat::GetINetFormat(), SwTextAttr::GetINetFormat(), SwFormatINetFormat::GetINetFormatId(), SwDoc::GetOle2Link(), GetTextNode(), SwFormatINetFormat::GetValue(), SwFormatINetFormat::GetVisitedFormat(), SwFormatINetFormat::GetVisitedFormatId(), IDocumentState::IsModified(), IsPoolUserFormat(), IsVisited(), SwDoc::IsVisitedURL(), IsVisitedValid(), nId, IDocumentState::ResetModified(), SwDoc::SetOle2Link(), SetVisited(), and SetVisitedValid().
Referenced by lcl_ChgHyperLinkColor(), lcl_CopyHint(), and RtfAttributeOutput::TextINetFormat().
|
inline |
Definition at line 51 of file txtinet.hxx.
References SwTextAttr::GetCharFormat().
|
overridevirtual |
Reimplemented from SwClient.
Definition at line 177 of file txtatr2.cxx.
References SwNode::GetNodes(), m_pTextNode, RES_AUTOFMT_DOCNODE(), and SfxPoolItem::Which().
|
inline |
Definition at line 45 of file txtinet.hxx.
Referenced by SwHTMLWriter::CollectLinkTargets(), MSWordExportBase::CollectOutlineBookmarks(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwDoc::FindINetAttr(), SwCursorShell::GotoINetAttr(), lcl_CopyHint(), and SwURLStateChanged::Notify().
|
inline |
Definition at line 63 of file txtinet.hxx.
References assert(), and m_pTextNode.
Referenced by GetCharFormat().
|
inline |
Definition at line 69 of file txtinet.hxx.
References assert(), and m_pTextNode.
void SwTextINetFormat::InitINetFormat | ( | SwTextNode & | rNode | ) |
Definition at line 210 of file thints.cxx.
References SwModify::Add(), ChgTextNode(), IDocumentStylePoolAccess::GetCharFormatFromPool(), SwNode::GetDoc(), SwDoc::getIDocumentStylePoolAccess(), and RES_POOLCHR_INET_NORMAL.
bool SwTextINetFormat::IsProtect | ( | ) | const |
Definition at line 183 of file txtatr2.cxx.
References SwNode::IsProtect(), and m_pTextNode.
Referenced by SwURLFieldContent::IsProtect().
|
inline |
Definition at line 54 of file txtinet.hxx.
Referenced by GetCharFormat(), and lcl_ChgHyperLinkColor().
|
inline |
Definition at line 57 of file txtinet.hxx.
Referenced by GetCharFormat().
|
inline |
Definition at line 55 of file txtinet.hxx.
Referenced by GetCharFormat(), and lcl_ChgHyperLinkColor().
|
inline |
Definition at line 58 of file txtinet.hxx.
Referenced by GetCharFormat().
|
overrideprivatevirtual |
Reimplemented from SwClient.
Definition at line 161 of file txtatr2.cxx.
References SwTextAttrEnd::GetEnd(), SwTextAttr::GetStart(), sw::LegacyModifyHint::GetWhich(), isCHRATR(), m_pTextNode, RES_ATTRSET_CHG(), RES_FMT_CHG(), RES_OBJECTDYING(), and SwTextNode::TriggerNodeUpdate().
|
private |
Definition at line 32 of file txtinet.hxx.
|
private |
Definition at line 33 of file txtinet.hxx.
|
private |
Definition at line 31 of file txtinet.hxx.
Referenced by GetInfo(), GetTextNode(), IsProtect(), and SwClientNotify().