LibreOffice Module sw (master) 1
|
#include <docufld.hxx>
Public Member Functions | |
SwRefPageGetField (SwRefPageGetFieldType *, sal_uInt32 nFormat) | |
virtual OUString | ExpandImpl (SwRootFrame const *pLayout) const override |
virtual std::unique_ptr< SwField > | Copy () const override |
void | SetText (const OUString &rText, SwRootFrame const *pLayout) |
void | ChangeExpansion (const SwFrame &rFrame, const SwTextField *pField) |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt16 nWhich) const override |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt16 nWhich) override |
Public Member Functions inherited from SwField | |
virtual | ~SwField () |
SwField (SwField const &)=default | |
SwField (SwField &&)=default | |
SwField & | operator= (SwField const &)=default |
SwField & | operator= (SwField &&)=default |
SwFieldType * | GetTyp () const |
virtual SwFieldType * | ChgTyp (SwFieldType *) |
Set new type (used for copying among documents). More... | |
OUString | ExpandField (bool bCached, SwRootFrame const *pLayout) const |
expand the field. More... | |
virtual OUString | GetFieldName () const |
get name or content More... | |
std::unique_ptr< SwField > | CopyField () const |
SwFieldIds | Which () const |
ResId. More... | |
SwFieldTypesEnum | GetTypeId () const |
virtual sal_uInt16 | GetSubType () const |
virtual void | SetSubType (sal_uInt16) |
LanguageType | GetLanguage () const |
Language at field position. More... | |
virtual void | SetLanguage (LanguageType nLng) |
sal_uInt32 | GetFormat () const |
Query parameters for dialog and for BASIC. More... | |
virtual OUString | GetPar1 () const |
virtual OUString | GetPar2 () const |
virtual OUString | GetFormula () const |
void | ChangeFormat (sal_uInt32 n) |
virtual void | SetPar1 (const OUString &rStr) |
virtual void | SetPar2 (const OUString &rStr) |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt16 nWhichId) const |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt16 nWhichId) |
bool | HasClickHdl () const |
Does the field possess an action on its ClickHandler? (e.g. INetFields, ...). More... | |
bool | IsFixed () const |
bool | IsAutomaticLanguage () const |
void | SetAutomaticLanguage (bool const bSet) |
virtual OUString | GetDescription () const |
bool | IsClickable () const |
Is this field clickable? More... | |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
const OUString & | GetTitle () const |
void | SetTitle (const OUString &rTitle) |
Private Attributes | |
OUString | m_sText |
OUString | m_sTextRLHidden |
hidden redlines More... | |
Additional Inherited Members | |
Protected Member Functions inherited from SwField | |
void | SetFormat (sal_uInt32 const nSet) |
SwField (SwFieldType *pTyp, sal_uInt32 nFormat=0, LanguageType nLang=LANGUAGE_SYSTEM, bool m_bUseFieldValueCache=true) | |
Definition at line 641 of file docufld.hxx.
SwRefPageGetField::SwRefPageGetField | ( | SwRefPageGetFieldType * | pTyp, |
sal_uInt32 | nFormat | ||
) |
Definition at line 2380 of file docufld.cxx.
Referenced by Copy().
void SwRefPageGetField::ChangeExpansion | ( | const SwFrame & | rFrame, |
const SwTextField * | pField | ||
) |
Definition at line 2413 of file docufld.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), SwFrame::FindPageFrame(), FormatNumber(), GetBodyTextNode(), SwPosition::GetContentIndex(), SwRefPageGetFieldType::GetDoc(), SwNodes::GetEndOfExtras(), SwFormatField::GetField(), SwField::GetFormat(), SwTextAttr::GetFormatField(), SwNode::GetIndex(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwDoc::GetNodes(), SvxNumberType::GetNumberingType(), SwPageDesc::GetNumType(), SwRefPageSetField::GetOffset(), SwPageFrame::GetPageDesc(), SwPageFrame::GetPhyPageNum(), SwFrame::getRootFrame(), SwTextField::GetTextNode(), SwField::GetTyp(), SwRootFrame::IsHideRedlines(), SwFrame::IsInDocBody(), SwRefPageSetField::IsOn(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::lower_bound(), m_sText, m_sTextRLHidden, SwRefPageGetFieldType::MakeSetList(), SetText(), SwNode::StartOfSectionIndex(), and SVX_NUM_PAGEDESC.
|
overridevirtual |
Implements SwField.
Definition at line 2404 of file docufld.cxx.
References SwField::GetFormat(), SwField::GetTyp(), m_sText, m_sTextRLHidden, and SwRefPageGetField().
|
overridevirtual |
Implements SwField.
Definition at line 2399 of file docufld.cxx.
References SwRootFrame::IsHideRedlines(), m_sText, and m_sTextRLHidden.
|
overridevirtual |
Reimplemented from SwField.
Definition at line 2490 of file docufld.cxx.
References FIELD_PROP_PAR1, FIELD_PROP_USHORT1, m_sText, m_sTextRLHidden, SwField::SetFormat(), and SVX_NUM_PAGEDESC.
|
overridevirtual |
Reimplemented from SwField.
Definition at line 2474 of file docufld.cxx.
References FIELD_PROP_PAR1, FIELD_PROP_USHORT1, SwField::GetFormat(), and m_sText.
void SwRefPageGetField::SetText | ( | const OUString & | rText, |
SwRootFrame const * | pLayout | ||
) |
Definition at line 2386 of file docufld.cxx.
References SwRootFrame::IsHideRedlines(), m_sText, and m_sTextRLHidden.
Referenced by SwXTextField::attach(), ChangeExpansion(), and SwRefPageGetFieldType::UpdateField().
|
private |
Definition at line 643 of file docufld.hxx.
Referenced by ChangeExpansion(), Copy(), ExpandImpl(), PutValue(), QueryValue(), and SetText().
|
private |
hidden redlines
Definition at line 644 of file docufld.hxx.
Referenced by ChangeExpansion(), Copy(), ExpandImpl(), PutValue(), and SetText().