LibreOffice Module xmloff (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
XMLSetVarFieldImportContext Class Reference

upperclass for variable/user-set, var/user-input, and sequence fields inds field master of appropriate type and attaches field to it. More...

#include <txtvfldi.hxx>

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

Public Member Functions

 XMLSetVarFieldImportContext (SvXMLImport &rImport, XMLTextImportHelper &rHlp, const char *pServiceName, sal_uInt16 nPrfx, const OUString &rLocalName, VarType eVarType, bool bFormula, bool bFormulaDefault, bool bDescription, bool bHelp, bool bHint, bool bVisible, bool bDisplayFormula, bool bType, bool bStyle, bool bValue, bool bPresentation)
 
- Public Member Functions inherited from XMLVarFieldImportContext
 XMLVarFieldImportContext (SvXMLImport &rImport, XMLTextImportHelper &rHlp, const char *pServiceName, sal_uInt16 nPrfx, const OUString &rLocalName, bool bFormula, bool bFormulaDefault, bool bDescription, bool bHelp, bool bHint, bool bVisible, bool bDisplayFormula, bool bType, bool bStyle, bool bValue, bool bPresentation)
 set presentation frm elem. content? More...
 
- Public Member Functions inherited from XMLTextFieldImportContext
 XMLTextFieldImportContext (SvXMLImport &rImport, XMLTextImportHelper &rHlp, const char *pService, sal_uInt16 nPrfx, const OUString &rLocalName)
 whether this field is valid ? More...
 
virtual void Characters (const OUString &sContent) override
 element name w/o prefix More...
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 parses attributes and calls ProcessAttribute More...
 
- Public Member Functions inherited from SvXMLImportContext
bool IsPrefixFilledIn () const
 
sal_uInt16 GetPrefix () const
 
const OUString & GetLocalName () const
 
 SvXMLImportContext (SvXMLImport &rImport, sal_uInt16 nPrfx, const OUString &rLName)
 A contexts constructor does anything that is required if an element starts. More...
 
 SvXMLImportContext (SvXMLImport &rImport)
 
virtual ~SvXMLImportContext ()
 A contexts destructor does anything that is required if an element ends. More...
 
virtual SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 Create a children element context. More...
 
virtual void SAL_CALL startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endFastElement (sal_Int32 Element) override
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) override
 
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () final override throw ()
 
virtual void SAL_CALL release () final override throw ()
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () final override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () final override
 

Protected Member Functions

virtual void EndElement () override
 see XMLTextFieldImportContext More...
 
bool FindFieldMaster (css::uno::Reference< css::beans::XPropertySet > &xMaster)
 find appropriate field master More...
 
- Protected Member Functions inherited from XMLVarFieldImportContext
virtual void ProcessAttribute (sal_uInt16 nAttrToken, const OUString &sAttrValue) override
 set presentation from elem. content More...
 
virtual void PrepareField (const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
 prepare XTextField for insertion into document More...
 
const OUString & GetName () const
 
bool IsStringValue () const
 
- Protected Member Functions inherited from XMLTextFieldImportContext
XMLTextImportHelperGetImportHelper ()
 get helper More...
 
const OUString & GetServiceName () const
 
void SetServiceName (const OUString &sStr)
 
OUString const & GetContent ()
 
bool CreateField (css::uno::Reference< css::beans::XPropertySet > &xField, const OUString &sServiceName)
 create field from ServiceName More...
 
- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Private Attributes

const VarType eFieldType
 

Additional Inherited Members

- Static Public Member Functions inherited from XMLTextFieldImportContext
static XMLTextFieldImportContextCreateTextFieldImportContext (SvXMLImport &rImport, XMLTextImportHelper &rHlp, sal_uInt16 nPrefix, const OUString &rName, sal_uInt16 nToken)
 create the appropriate field context from (for use in paragraph import) More...
 
- Static Protected Member Functions inherited from XMLTextFieldImportContext
static void ForceUpdate (const css::uno::Reference< css::beans::XPropertySet > &rPropertySet)
 force an update of the field's value call update on optional XUpdatable interface; (disable Fixed property) More...
 
- Protected Attributes inherited from XMLTextFieldImportContext
OUString sServicePrefix
 the import helper More...
 
bool bValid
 

Detailed Description

upperclass for variable/user-set, var/user-input, and sequence fields inds field master of appropriate type and attaches field to it.

Definition at line 232 of file txtvfldi.hxx.

Constructor & Destructor Documentation

XMLSetVarFieldImportContext::XMLSetVarFieldImportContext ( SvXMLImport rImport,
XMLTextImportHelper rHlp,
const char *  pServiceName,
sal_uInt16  nPrfx,
const OUString &  rLocalName,
VarType  eVarType,
bool  bFormula,
bool  bFormulaDefault,
bool  bDescription,
bool  bHelp,
bool  bHint,
bool  bVisible,
bool  bDisplayFormula,
bool  bType,
bool  bStyle,
bool  bValue,
bool  bPresentation 
)
Parameters
rHlpsee XMLTextFieldImportContext
pServiceNamesee XMLTextFieldImportContext
nPrfxsee XMLTextFieldImportContext
rLocalNamesee XMLTextFieldImportContext
eVarTypesee XMLTextFieldImportContext
bFormulavariable type
bFormulaDefaultsee XMLTextFieldImportContext
bDescriptionsee XMLTextFieldImportContext
bHelpsee XMLTextFieldImportContext
bHintsee XMLTextFieldImportContext
bVisiblesee XMLTextFieldImportContext
bDisplayFormulasee XMLTextFieldImportContext
bTypesee XMLTextFieldImportContext
bStylesee XMLTextFieldImportContext
bValuesee XMLTextFieldImportContext
bPresentationsee XMLTextFieldImportContext

Definition at line 248 of file txtvfldi.cxx.

Member Function Documentation

void XMLSetVarFieldImportContext::EndElement ( )
overrideprotectedvirtual
bool XMLSetVarFieldImportContext::FindFieldMaster ( css::uno::Reference< css::beans::XPropertySet > &  xMaster)
protected

Member Data Documentation

const VarType XMLSetVarFieldImportContext::eFieldType
private

Definition at line 234 of file txtvfldi.hxx.

Referenced by FindFieldMaster().


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