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:
Collaboration diagram for SwTOXAuthority:

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 void FillText (SwTextNode &rNd, const SwContentIndex &rInsPos, sal_uInt16 nAuthField, SwRootFrame const *pLayout) const
virtual sal_uInt16 GetLevel () const =0
virtual bool equivalent (const SwTOXSortTabBase &)
virtual bool sort_lt (const SwTOXSortTabBase &)
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 SwContentIndex &rInsPos, sal_uInt16 nAuthField, SwRootFrame const *pLayout) const override
virtual TextAndReading GetText_Impl (SwRootFrame const *pLayout) const override

Private Attributes


Additional Inherited Members

- Public Attributes inherited from SwTOXSortTabBase
std::vector< SwTOXSourceaTOXSources
css::lang::Locale aLocale
const SwTextNodepTOXNd
const SwTextTOXMarkpTextMark
const SwTOXInternationalpTOXIntl
SwNodeOffset 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 286 of file txmsrt.hxx.

Constructor & Destructor Documentation

◆ SwTOXAuthority()

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

Member Function Documentation

◆ equivalent()

bool SwTOXAuthority::equivalent ( const SwTOXSortTabBase rCmp)

◆ FillText()

void SwTOXAuthority::FillText ( SwTextNode rNd,
const SwContentIndex rInsPos,
sal_uInt16  nAuthField,
SwRootFrame const *  pLayout 
) const

◆ GetFieldFormat()

SwFormatField & SwTOXAuthority::GetFieldFormat ( )

Definition at line 297 of file txmsrt.hxx.

References m_rField.

Referenced by SwAuthorityFieldType::GetSequencePos().

◆ GetLevel()

sal_uInt16 SwTOXAuthority::GetLevel ( ) const

◆ GetSourceURL()

OUString SwTOXAuthority::GetSourceURL ( const OUString &  rText)

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

Definition at line 851 of file txmsrt.cxx.

References comphelper::getProcessComponentContext(), and SAL_WARN.

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

◆ GetText()

OUString SwTOXAuthority::GetText ( sal_uInt16  nAuthField,
const SwRootFrame pLayout 
) const

◆ GetText_Impl()

TextAndReading SwTOXAuthority::GetText_Impl ( SwRootFrame const *  pLayout) const

Implements SwTOXSortTabBase.

Definition at line 820 of file txmsrt.cxx.

References lcl_GetText(), and m_rField.

◆ sort_lt()

bool SwTOXAuthority::sort_lt ( const SwTOXSortTabBase rBase)

Member Data Documentation

◆ m_rField

SwFormatField& SwTOXAuthority::m_rField

Definition at line 289 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: