LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwTOXAuthority Struct Referencefinal

Represents one row in the bibliography table. More...

#include <txmsrt.hxx>

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

Public Member Functions

 SwTOXAuthority (const SwContentNode &rNd, SwFormatField &rField, const SwTOXInternational &rIntl)
 
SwFormatFieldGetFieldFormat ()
 
virtual bool equivalent (const SwTOXSortTabBase &) override
 
virtual bool sort_lt (const SwTOXSortTabBase &) override
 
virtual sal_uInt16 GetLevel () const override
 
OUString GetText (sal_uInt16 nAuthField, const SwRootFrame *pLayout) const
 
- Public Member Functions inherited from SwTOXSortTabBase
bool operator== (const SwTOXSortTabBase &) const =delete
 
bool operator< (const SwTOXSortTabBase &) const =delete
 
 SwTOXSortTabBase (TOXSortType nType, const SwContentNode *pTOXSrc, const SwTextTOXMark *pTextMark, const SwTOXInternational *pIntl, const css::lang::Locale *pLocale=nullptr)
 
virtual ~SwTOXSortTabBase ()
 
sal_uInt16 GetType () const
 
virtual std::pair< OUString, bool > GetURL (SwRootFrame const *const pLayout) const
 
virtual bool IsFullPara () const
 
void InitText (SwRootFrame const *const pLayout)
 
TextAndReading const & GetText () const
 
const css::lang::Locale & GetLocale () const
 

Static Public Member Functions

static OUString GetSourceURL (const OUString &rText)
 Gets the URL of the underlying SwAuthEntry, ignoring its page number. More...
 
- Static Public Member Functions inherited from SwTOXSortTabBase
static SwTOIOptions GetOptions ()
 

Private Member Functions

virtual void FillText (SwTextNode &rNd, const SwIndex &rInsPos, sal_uInt16 nAuthField, SwRootFrame const *pLayout) const override
 
virtual TextAndReading GetText_Impl (SwRootFrame const *pLayout) const override
 

Private Attributes

SwFormatFieldm_rField
 

Additional Inherited Members

- Public Attributes inherited from SwTOXSortTabBase
std::vector< SwTOXSourceaTOXSources
 
css::lang::Locale aLocale
 
const SwTextNodepTOXNd
 
const SwTextTOXMarkpTextMark
 
const SwTOXInternationalpTOXIntl
 
sal_uLong nPos
 
sal_Int32 nCntPos
 
sal_uInt16 nType
 
- Static Public Attributes inherited from SwTOXSortTabBase
static SwTOIOptions nOpt = SwTOIOptions::NONE
 

Detailed Description

Represents one row in the bibliography table.

Definition at line 283 of file txmsrt.hxx.

Constructor & Destructor Documentation

SwTOXAuthority::SwTOXAuthority ( const SwContentNode rNd,
SwFormatField rField,
const SwTOXInternational rIntl 
)

Member Function Documentation

bool SwTOXAuthority::equivalent ( const SwTOXSortTabBase rCmp)
overridevirtual
void SwTOXAuthority::FillText ( SwTextNode rNd,
const SwIndex rInsPos,
sal_uInt16  nAuthField,
SwRootFrame const *  pLayout 
) const
overrideprivatevirtual
SwFormatField& SwTOXAuthority::GetFieldFormat ( )
inline

Definition at line 294 of file txmsrt.hxx.

References m_rField.

Referenced by SwAuthorityFieldType::GetSequencePos().

sal_uInt16 SwTOXAuthority::GetLevel ( ) const
overridevirtual
OUString SwTOXAuthority::GetSourceURL ( const OUString &  rText)
static

Gets the URL of the underlying SwAuthEntry, ignoring its page number.

Definition at line 850 of file txmsrt.cxx.

References comphelper::getProcessComponentContext(), and SAL_WARN.

Referenced by equivalent(), FillText(), sw::ToxTextGenerator::GenerateText(), and SwFieldMgr::UpdateCurField().

OUString SwTOXAuthority::GetText ( sal_uInt16  nAuthField,
const SwRootFrame pLayout 
) const
TextAndReading SwTOXAuthority::GetText_Impl ( SwRootFrame const *  pLayout) const
overrideprivatevirtual

Implements SwTOXSortTabBase.

Definition at line 819 of file txmsrt.cxx.

References lcl_GetText(), and m_rField.

bool SwTOXAuthority::sort_lt ( const SwTOXSortTabBase rBase)
overridevirtual

Member Data Documentation

SwFormatField& SwTOXAuthority::m_rField
private

Definition at line 286 of file txmsrt.hxx.

Referenced by equivalent(), FillText(), GetFieldFormat(), GetLevel(), GetText(), GetText_Impl(), and sort_lt().


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