LibreOffice Module sw (master) 1
|
#include <unofield.hxx>
Classes | |
class | Impl |
Public Member Functions | |
SwFieldType * | GetFieldType (bool bDontCreate=false) const |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &rServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &rPropertyName, const css::uno::Any &rValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &rPropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override |
Static Public Member Functions | |
static rtl::Reference< SwXFieldMaster > | CreateXFieldMaster (SwDoc *pDoc, SwFieldType *pType, SwFieldIds nResId=SwFieldIds::Unknown) |
static OUString | GetProgrammaticName (const SwFieldType &rType, SwDoc &rDoc) |
static OUString | LocalizeFormula (const SwSetExpField &rField, const OUString &rFormula, bool bQuery) |
Private Member Functions | |
virtual | ~SwXFieldMaster () override |
SwXFieldMaster (SwFieldType &rType, SwDoc *pDoc) | |
SwXFieldMaster (SwDoc &rDoc, SwFieldIds nResId) | |
descriptor More... | |
Private Attributes | |
::sw::UnoImplPtr< Impl > | m_pImpl |
Definition at line 44 of file unofield.hxx.
|
overrideprivatevirtual |
Definition at line 519 of file unofield.cxx.
|
private |
Definition at line 514 of file unofield.cxx.
References m_pImpl.
Referenced by CreateXFieldMaster().
|
private |
|
overridevirtual |
Definition at line 957 of file unofield.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 914 of file unofield.cxx.
|
overridevirtual |
Definition at line 924 of file unofield.cxx.
|
static |
Definition at line 524 of file unofield.cxx.
References unotools::WeakReference< class interface_type >::get(), SwFieldType::GetXObject(), m_pImpl, SwFieldType::SetXObject(), and SwXFieldMaster().
Referenced by SwXTextFieldMasters::getByName(), SwXTextField::getTextFieldMaster(), and SwXServiceProvider::MakeInstance().
|
overridevirtual |
Definition at line 934 of file unofield.cxx.
References SwTextField::DeleteTextField(), SwFieldType::GatherFields(), sw::proofreadingiterator::get(), GetFieldType(), i, and m_pImpl.
SwFieldType * SwXFieldMaster::GetFieldType | ( | bool | bDontCreate = false | ) | const |
Definition at line 764 of file unofield.cxx.
References SL::aData, Database, svx::DatabaseLocation, svx::DataSource, svx::ODataAccessDescriptor::getDataSource(), and m_pImpl.
Referenced by SwXTextField::attachTextFieldMaster(), dispose(), getPropertyValue(), and setPropertyValue().
|
overridevirtual |
Definition at line 461 of file unofield.cxx.
|
static |
Definition at line 988 of file unofield.cxx.
References IDocumentFieldsAccess::GetFieldTypes(), SwDoc::getIDocumentFieldsAccess(), SwFieldType::GetName(), SwStyleNameMapper::GetProgName(), i, INIT_FLDTYPES, o3tl::make_unsigned(), SetExp, sName, TxtColl, and SwFieldType::Which().
Referenced by getPropertyValue().
|
overridevirtual |
Definition at line 550 of file unofield.cxx.
References aSwMapProvider, SwUnoPropertyMapProvider::GetPropertySet(), SfxItemPropertySet::getPropertySetInfo(), lcl_GetPropMapIdForFieldType(), and m_pImpl.
|
overridevirtual |
Definition at line 790 of file unofield.cxx.
References aSeq, sfx2::cTokenSeparator, Database, Dde, SwFieldType::GatherFields(), GetFieldType(), GetFieldTypeMId(), SwXTextFieldMasters::getInstanceName(), GetProgrammaticName(), INetURLObject::GetProtocol(), lcl_PropName2TokenPos(), m_pImpl, SwFieldType::QueryValue(), SetExp, INetURLObject::SetURL(), sName, UNO_NAME_CHAPTER_NUMBERING_LEVEL, UNO_NAME_CONTENT, UNO_NAME_DATA_BASE_NAME, UNO_NAME_DATA_BASE_URL, UNO_NAME_DATA_COLUMN_NAME, UNO_NAME_DATA_COMMAND_TYPE, UNO_NAME_DATA_TABLE_NAME, UNO_NAME_DEPENDENT_TEXT_FIELDS, UNO_NAME_INSTANCE_NAME, UNO_NAME_IS_EXPRESSION, UNO_NAME_NAME, UNO_NAME_NUMBERING_SEPARATOR, UNO_NAME_VALUE, and User.
|
overridevirtual |
Definition at line 504 of file unofield.cxx.
References m_pImpl.
|
static |
Definition at line 1005 of file unofield.cxx.
References SwFieldType::GetName(), SwStyleNameMapper::GetProgName(), SwField::GetTyp(), and TxtColl.
Referenced by SwSetExpField::PutValue(), and SwSetExpField::QueryValue().
|
overridevirtual |
Definition at line 964 of file unofield.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 919 of file unofield.cxx.
|
overridevirtual |
Definition at line 929 of file unofield.cxx.
|
overridevirtual |
Definition at line 559 of file unofield.cxx.
References sfx2::cTokenSeparator, Database, Dde, SwStyleNameMapper::GetExtraUINameArray(), GetFieldType(), GetFieldTypeMId(), SwFieldType::GetName(), nsSwGetSetExpType::GSE_EXPR, nsSwGetSetExpType::GSE_STRING, lcl_PropName2TokenPos(), m_pImpl, MAXLEVEL, nIndex, SwFieldType::PutValue(), RES_POOLCOLL_EXTRA_BEGIN, RES_POOLCOLL_LABEL_ABB, RES_POOLCOLL_LABEL_DRAWING, RES_POOLCOLL_LABEL_FIGURE, RES_POOLCOLL_LABEL_FRAME, RES_POOLCOLL_LABEL_TABLE, SwSetExpFieldType::SetDelimiter(), SetExp, SwSetExpFieldType::SetOutlineLvl(), SetValue(), SwResId(), UNO_NAME_CHAPTER_NUMBERING_LEVEL, UNO_NAME_CONTENT, UNO_NAME_DATA_BASE_NAME, UNO_NAME_DATA_BASE_URL, UNO_NAME_DATA_COLUMN_NAME, UNO_NAME_DATA_COMMAND_TYPE, UNO_NAME_DATA_TABLE_NAME, UNO_NAME_IS_EXPRESSION, UNO_NAME_NAME, UNO_NAME_NUMBERING_SEPARATOR, UNO_NAME_SUB_TYPE, UNO_NAME_VALUE, SwFieldType::UpdateFields(), User, and SwFieldType::Which().
|
overridevirtual |
Definition at line 498 of file unofield.cxx.
References cppu::supportsService().
|
private |
Definition at line 50 of file unofield.hxx.
Referenced by addEventListener(), CreateXFieldMaster(), dispose(), GetFieldType(), getPropertySetInfo(), getPropertyValue(), getSupportedServiceNames(), removeEventListener(), and setPropertyValue().