LibreOffice Module sw (master) 1
|
Represents one row in the bibliography table. More...
#include <txmsrt.hxx>
Public Member Functions | |
SwTOXAuthority (const SwContentNode &rNd, SwFormatField &rField, const SwTOXInternational &rIntl) | |
SwFormatField & | GetFieldFormat () |
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 | |
SwFormatField & | m_rField |
Additional Inherited Members | |
Public Attributes inherited from SwTOXSortTabBase | |
std::vector< SwTOXSource > | aTOXSources |
css::lang::Locale | aLocale |
const SwTextNode * | pTOXNd |
const SwTextTOXMark * | pTextMark |
const SwTOXInternational * | pTOXIntl |
SwNodeOffset | nPos |
sal_Int32 | nCntPos |
sal_uInt16 | nType |
Static Public Attributes inherited from SwTOXSortTabBase | |
static SwTOIOptions | nOpt = SwTOIOptions::NONE |
Represents one row in the bibliography table.
Definition at line 286 of file txmsrt.hxx.
SwTOXAuthority::SwTOXAuthority | ( | const SwContentNode & | rNd, |
SwFormatField & | rField, | ||
const SwTOXInternational & | rIntl | ||
) |
Definition at line 790 of file txmsrt.cxx.
References SwTextAttr::GetStart(), SwFormatField::GetTextField(), and SwTOXSortTabBase::nCntPos.
|
overridevirtual |
Reimplemented from SwTOXSortTabBase.
Definition at line 918 of file txmsrt.cxx.
References AUTH_FIELD_END, AUTH_FIELD_URL, SwAuthEntry::GetAuthorField(), SwFormatField::GetField(), GetSourceURL(), i, m_rField, and SwTOXSortTabBase::nType.
|
overrideprivatevirtual |
Reimplemented from SwTOXSortTabBase.
Definition at line 876 of file txmsrt.cxx.
References AUTH_FIELD_URL, sw::proofreadingiterator::get(), SwDoc::GetDocShell(), SfxObjectShell::getDocumentBaseURL(), SwFormatField::GetField(), comphelper::getProcessComponentContext(), INetURLObject::GetRelURL(), GetSourceURL(), SwTOXSortTabBase::GetText(), SwField::GetTyp(), SwTextNode::InsertText(), m_rField, and SAL_WARN.
|
inline |
Definition at line 297 of file txmsrt.hxx.
References m_rField.
Referenced by SwAuthorityFieldType::GetSequencePos().
|
overridevirtual |
Implements SwTOXSortTabBase.
Definition at line 799 of file txmsrt.cxx.
References AUTH_FIELD_AUTHORITY_TYPE, AUTH_TYPE_END, SwFormatField::GetField(), SwAuthorityField::GetFieldText(), SwTOXInternational::IsNumeric(), m_rField, and SwTOXSortTabBase::pTOXIntl.
Referenced by GetText().
|
static |
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().
OUString SwTOXAuthority::GetText | ( | sal_uInt16 | nAuthField, |
const SwRootFrame * | pLayout | ||
) | const |
Definition at line 825 of file txmsrt.cxx.
References AUTH_FIELD_AUTHORITY_TYPE, AUTH_FIELD_IDENTIFIER, SwAuthorityFieldType::GetAuthTypeName(), SwFormatField::GetField(), SwAuthorityField::GetFieldText(), GetLevel(), SwAuthorityFieldType::GetPrefix(), SwAuthorityFieldType::GetSuffix(), SwField::GetTyp(), lcl_GetText(), and m_rField.
|
overrideprivatevirtual |
Implements SwTOXSortTabBase.
Definition at line 820 of file txmsrt.cxx.
References lcl_GetText(), and m_rField.
|
overridevirtual |
Reimplemented from SwTOXSortTabBase.
Definition at line 958 of file txmsrt.cxx.
References SwTOXSortKey::bSortAscending, SwTOXInternational::Compare(), SwTOXSortKey::eField, SwFormatField::GetField(), SwAuthorityField::GetFieldText(), SwTOXSortTabBase::GetLocale(), SwAuthorityFieldType::GetSortKey(), SwAuthorityFieldType::GetSortKeyCount(), SwField::GetTyp(), i, SwAuthorityFieldType::IsSortByDocument(), m_rField, SwTOXSortTabBase::pTOXIntl, and SwTOXSortTabBase::sort_lt().
|
private |
Definition at line 289 of file txmsrt.hxx.
Referenced by equivalent(), FillText(), GetFieldFormat(), GetLevel(), GetText(), GetText_Impl(), and sort_lt().