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

#include <txtinet.hxx>

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

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 SwTextNodeGetpTextNode () const
 
const SwTextNodeGetTextNode () const
 
SwTextNodeGetTextNode ()
 
void ChgTextNode (SwTextNode *pNew)
 
SwCharFormatGetCharFormat ()
 
const SwCharFormatGetCharFormat () const
 
bool IsVisited () const
 
void SetVisited (bool bNew)
 
bool IsVisitedValid () const
 
void SetVisitedValid (bool bNew)
 
bool IsProtect () const
 
- Public Member Functions inherited from SwTextAttrEnd
 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
 
- Public Member Functions inherited from SwTextAttr
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 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 SwFormatFlyCntGetFlyCnt () const
 
const SwTOXMarkGetTOXMark () const
 
const SwFormatRefMarkGetRefMark () const
 
const SwFormatINetFormatGetINetFormat () const
 
const SwFormatRubyGetRuby () const
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 

Protected Member Functions

virtual void Modify (const SfxPoolItem *pOld, const SfxPoolItem *pNew) override
 
- Protected Member Functions inherited from SwTextAttrNesting
 SwTextAttrNesting (SfxPoolItem &i_rAttr, const sal_Int32 i_nStart, const sal_Int32 i_nEnd)
 
virtual ~SwTextAttrNesting () override
 
- Protected Member Functions inherited from SwTextAttr
 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 Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

SwTextNodem_pTextNode
 
bool m_bVisited: 1
 
bool m_bVisitedValid: 1
 

Additional Inherited Members

- Static Public Member Functions inherited from SwTextAttr
static void Destroy (SwTextAttr *pToDestroy, SfxItemPool &rPool)
 destroy instance More...
 
- Protected Attributes inherited from SwTextAttrEnd
sal_Int32 m_nEnd
 
- Protected Attributes inherited from SwTextAttr
SwpHintsm_pHints = nullptr
 

Detailed Description

Definition at line 28 of file txtinet.hxx.

Constructor & Destructor Documentation

SwTextINetFormat::SwTextINetFormat ( SwFormatINetFormat rAttr,
sal_Int32  nStart,
sal_Int32  nEnd 
)

Definition at line 93 of file txtatr2.cxx.

References SwFormatINetFormat::mpTextAttr, and SwTextAttr::SetCharFormatAttr().

SwTextINetFormat::~SwTextINetFormat ( )
overridevirtual

Definition at line 106 of file txtatr2.cxx.

Member Function Documentation

void SwTextINetFormat::ChgTextNode ( SwTextNode pNew)
inline

Definition at line 49 of file txtinet.hxx.

Referenced by InitINetFormat(), and lcl_CopyHint().

SwCharFormat * SwTextINetFormat::GetCharFormat ( )
const SwCharFormat* SwTextINetFormat::GetCharFormat ( ) const
inline

Definition at line 52 of file txtinet.hxx.

References SwTextAttr::GetCharFormat().

bool SwTextINetFormat::GetInfo ( SfxPoolItem rInfo) const
overridevirtual

Reimplemented from SwClient.

Definition at line 178 of file txtatr2.cxx.

References SwNode::GetNodes(), m_pTextNode, RES_AUTOFMT_DOCNODE, and SfxPoolItem::Which().

const SwTextNode* SwTextINetFormat::GetpTextNode ( ) const
inline
const SwTextNode & SwTextINetFormat::GetTextNode ( ) const
inline

Definition at line 64 of file txtinet.hxx.

References m_pTextNode.

Referenced by GetCharFormat().

SwTextNode & SwTextINetFormat::GetTextNode ( )
inline

Definition at line 70 of file txtinet.hxx.

References m_pTextNode.

void SwTextINetFormat::InitINetFormat ( SwTextNode rNode)
bool SwTextINetFormat::IsProtect ( ) const

Definition at line 184 of file txtatr2.cxx.

References SwNode::IsProtect(), and m_pTextNode.

Referenced by SwURLFieldContent::IsProtect().

bool SwTextINetFormat::IsVisited ( ) const
inline

Definition at line 55 of file txtinet.hxx.

Referenced by GetCharFormat(), and lcl_ChgHyperLinkColor().

bool SwTextINetFormat::IsVisitedValid ( ) const
inline

Definition at line 58 of file txtinet.hxx.

Referenced by GetCharFormat().

void SwTextINetFormat::Modify ( const SfxPoolItem pOld,
const SfxPoolItem pNew 
)
overrideprotectedvirtual
void SwTextINetFormat::SetVisited ( bool  bNew)
inline

Definition at line 56 of file txtinet.hxx.

Referenced by GetCharFormat(), and lcl_ChgHyperLinkColor().

void SwTextINetFormat::SetVisitedValid ( bool  bNew)
inline

Definition at line 59 of file txtinet.hxx.

Referenced by GetCharFormat().

Member Data Documentation

bool SwTextINetFormat::m_bVisited
private

Definition at line 31 of file txtinet.hxx.

bool SwTextINetFormat::m_bVisitedValid
private

Definition at line 32 of file txtinet.hxx.

SwTextNode* SwTextINetFormat::m_pTextNode
private

Definition at line 30 of file txtinet.hxx.

Referenced by GetInfo(), GetTextNode(), IsProtect(), and Modify().


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