loplugin:finalclasses in xmloff
Change-Id: I389824999e8e24c27e5d6f36180ae0fd8032c482 Reviewed-on: https://gerrit.libreoffice.org/85699 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
/**
|
/**
|
||||||
PropertyHandler for the XML-data-type:
|
PropertyHandler for the XML-data-type:
|
||||||
*/
|
*/
|
||||||
class XMLAttributeContainerHandler : public XMLPropertyHandler
|
class XMLAttributeContainerHandler final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~XMLAttributeContainerHandler() override;
|
virtual ~XMLAttributeContainerHandler() override;
|
||||||
|
@@ -41,7 +41,7 @@ class SvXMLImportContext;
|
|||||||
/**
|
/**
|
||||||
* DomBuilderContext creates a DOM tree suitable for in-memory processing of
|
* DomBuilderContext creates a DOM tree suitable for in-memory processing of
|
||||||
* XML data from a sequence of SAX events */
|
* XML data from a sequence of SAX events */
|
||||||
class DomBuilderContext : public SvXMLImportContext
|
class DomBuilderContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
css::uno::Reference<css::xml::dom::XNode> mxNode;
|
css::uno::Reference<css::xml::dom::XNode> mxNode;
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include <xmloff/xmlexp.hxx>
|
#include <xmloff/xmlexp.hxx>
|
||||||
|
|
||||||
class XMLMetaExportComponent : public SvXMLExport
|
class XMLMetaExportComponent final : public SvXMLExport
|
||||||
{
|
{
|
||||||
css::uno::Reference< css::document::XDocumentProperties > mxDocProps;
|
css::uno::Reference< css::document::XDocumentProperties > mxDocProps;
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ public:
|
|||||||
|
|
||||||
virtual ~XMLMetaExportComponent() override;
|
virtual ~XMLMetaExportComponent() override;
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
// export the events off all autotexts
|
// export the events off all autotexts
|
||||||
virtual ErrCode exportDoc(
|
virtual ErrCode exportDoc(
|
||||||
enum ::xmloff::token::XMLTokenEnum eClass = xmloff::token::XML_TOKEN_INVALID ) override;
|
enum ::xmloff::token::XMLTokenEnum eClass = xmloff::token::XML_TOKEN_INVALID ) override;
|
||||||
|
@@ -23,14 +23,12 @@
|
|||||||
#include <xmloff/prstylei.hxx>
|
#include <xmloff/prstylei.hxx>
|
||||||
#include <xmloff/xmlimp.hxx>
|
#include <xmloff/xmlimp.hxx>
|
||||||
|
|
||||||
class PageStyleContext : public XMLPropStyleContext
|
class PageStyleContext final : public XMLPropStyleContext
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
OUString sPageUsage;
|
OUString sPageUsage;
|
||||||
bool m_bIsFillStyleAlreadyConverted : 1;
|
bool m_bIsFillStyleAlreadyConverted : 1;
|
||||||
|
|
||||||
protected:
|
|
||||||
|
|
||||||
virtual void SetAttribute( sal_uInt16 nPrefixKey,
|
virtual void SetAttribute( sal_uInt16 nPrefixKey,
|
||||||
const OUString& rLocalName,
|
const OUString& rLocalName,
|
||||||
const OUString& rValue ) override;
|
const OUString& rValue ) override;
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
class SchXMLExport;
|
class SchXMLExport;
|
||||||
|
|
||||||
class SchXMLAutoStylePoolP : public SvXMLAutoStylePoolP
|
class SchXMLAutoStylePoolP final : public SvXMLAutoStylePoolP
|
||||||
{
|
{
|
||||||
SchXMLExport& mrSchXMLExport;
|
SchXMLExport& mrSchXMLExport;
|
||||||
|
|
||||||
|
@@ -146,12 +146,11 @@ enum SchXMLRegEquationAttrMap
|
|||||||
XML_TOK_REGEQ_POS_Y
|
XML_TOK_REGEQ_POS_Y
|
||||||
};
|
};
|
||||||
|
|
||||||
class SchXMLImport : public SvXMLImport
|
class SchXMLImport final : public SvXMLImport
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
rtl::Reference<SchXMLImportHelper> maImportHelper;
|
rtl::Reference<SchXMLImportHelper> maImportHelper;
|
||||||
|
|
||||||
protected:
|
|
||||||
virtual SvXMLImportContext *CreateDocumentContext(
|
virtual SvXMLImportContext *CreateDocumentContext(
|
||||||
sal_uInt16 nPrefix,
|
sal_uInt16 nPrefix,
|
||||||
const OUString& rLocalName,
|
const OUString& rLocalName,
|
||||||
|
@@ -61,7 +61,7 @@ inline bool StyleNameHash_Impl::operator()(
|
|||||||
return r1.m_nFamily == r2.m_nFamily && r1.m_aName == r2.m_aName;
|
return r1.m_nFamily == r2.m_nFamily && r1.m_aName == r2.m_aName;
|
||||||
}
|
}
|
||||||
|
|
||||||
class StyleMap :
|
class StyleMap final :
|
||||||
public ::cppu::WeakImplHelper< css::lang::XUnoTunnel>,
|
public ::cppu::WeakImplHelper< css::lang::XUnoTunnel>,
|
||||||
public std::unordered_map< StyleNameKey_Impl, OUString,
|
public std::unordered_map< StyleNameKey_Impl, OUString,
|
||||||
StyleNameHash_Impl, StyleNameHash_Impl >
|
StyleNameHash_Impl, StyleNameHash_Impl >
|
||||||
|
@@ -27,7 +27,7 @@ namespace com { namespace sun { namespace star {
|
|||||||
namespace io { class XOutputStream; }
|
namespace io { class XOutputStream; }
|
||||||
} } }
|
} } }
|
||||||
|
|
||||||
class XMLBackgroundImageContext : public XMLElementPropertyContext
|
class XMLBackgroundImageContext final : public XMLElementPropertyContext
|
||||||
{
|
{
|
||||||
XMLPropertyState aPosProp;
|
XMLPropertyState aPosProp;
|
||||||
sal_Int32 const m_nBitmapModeIdx;
|
sal_Int32 const m_nBitmapModeIdx;
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
typedef ::cppu::WeakImplHelper<
|
typedef ::cppu::WeakImplHelper<
|
||||||
css::xml::sax::XDocumentHandler > XMLBasicExportFilter_BASE;
|
css::xml::sax::XDocumentHandler > XMLBasicExportFilter_BASE;
|
||||||
|
|
||||||
class XMLBasicExportFilter : public XMLBasicExportFilter_BASE
|
class XMLBasicExportFilter final : public XMLBasicExportFilter_BASE
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
css::uno::Reference< css::xml::sax::XDocumentHandler > m_xHandler;
|
css::uno::Reference< css::xml::sax::XDocumentHandler > m_xHandler;
|
||||||
|
@@ -28,7 +28,7 @@ template<typename EnumT> struct SvXMLEnumMapEntry;
|
|||||||
/** Abstract base-class for different XML-types. Derivations of this class
|
/** Abstract base-class for different XML-types. Derivations of this class
|
||||||
knows how to compare, im/export a special XML-type
|
knows how to compare, im/export a special XML-type
|
||||||
*/
|
*/
|
||||||
class XMLBitmapLogicalSizePropertyHandler: public XMLPropertyHandler
|
class XMLBitmapLogicalSizePropertyHandler final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@ template<typename EnumT> struct SvXMLEnumMapEntry;
|
|||||||
/** Abstract base-class for different XML-types. Derivations of this class
|
/** Abstract base-class for different XML-types. Derivations of this class
|
||||||
knows how to compare, im/export a special XML-type
|
knows how to compare, im/export a special XML-type
|
||||||
*/
|
*/
|
||||||
class XMLBitmapRepeatOffsetPropertyHandler: public XMLPropertyHandler
|
class XMLBitmapRepeatOffsetPropertyHandler final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
bool const mbX;
|
bool const mbX;
|
||||||
OUString const msVertical;
|
OUString const msVertical;
|
||||||
|
@@ -29,33 +29,31 @@ extern const XMLPropertyMapEntry aXMLChartPropMap[];
|
|||||||
|
|
||||||
class SvXMLExport;
|
class SvXMLExport;
|
||||||
|
|
||||||
class XMLChartPropHdlFactory : public XMLPropertyHandlerFactory
|
class XMLChartPropHdlFactory final : public XMLPropertyHandlerFactory
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~XMLChartPropHdlFactory() override;
|
virtual ~XMLChartPropHdlFactory() override;
|
||||||
virtual const XMLPropertyHandler* GetPropertyHandler( sal_Int32 nType ) const override;
|
virtual const XMLPropertyHandler* GetPropertyHandler( sal_Int32 nType ) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
class XMLChartPropertySetMapper : public XMLPropertySetMapper
|
class XMLChartPropertySetMapper final : public XMLPropertySetMapper
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit XMLChartPropertySetMapper( bool bForExport );
|
explicit XMLChartPropertySetMapper( bool bForExport );
|
||||||
virtual ~XMLChartPropertySetMapper() override;
|
virtual ~XMLChartPropertySetMapper() override;
|
||||||
};
|
};
|
||||||
|
|
||||||
class XMLChartExportPropertyMapper : public SvXMLExportPropertyMapper
|
class XMLChartExportPropertyMapper final : public SvXMLExportPropertyMapper
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
SvXMLExport& mrExport;
|
SvXMLExport& mrExport;
|
||||||
css::uno::Reference< css::chart2::XChartDocument > mxChartDoc;
|
css::uno::Reference< css::chart2::XChartDocument > mxChartDoc;
|
||||||
|
|
||||||
protected:
|
|
||||||
virtual void ContextFilter(
|
virtual void ContextFilter(
|
||||||
bool bEnableFoFontFamily,
|
bool bEnableFoFontFamily,
|
||||||
::std::vector< XMLPropertyState >& rProperties,
|
::std::vector< XMLPropertyState >& rProperties,
|
||||||
const css::uno::Reference<css::beans::XPropertySet >& rPropSet ) const override;
|
const css::uno::Reference<css::beans::XPropertySet >& rPropSet ) const override;
|
||||||
|
|
||||||
private:
|
|
||||||
/// this method is called for every item that has the MID_FLAG_ELEMENT_EXPORT flag set
|
/// this method is called for every item that has the MID_FLAG_ELEMENT_EXPORT flag set
|
||||||
virtual void handleElementItem(
|
virtual void handleElementItem(
|
||||||
SvXMLExport& rExport,
|
SvXMLExport& rExport,
|
||||||
@@ -78,7 +76,7 @@ public:
|
|||||||
void setChartDoc( const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc );
|
void setChartDoc( const css::uno::Reference< css::chart2::XChartDocument >& xChartDoc );
|
||||||
};
|
};
|
||||||
|
|
||||||
class XMLChartImportPropertyMapper : public SvXMLImportPropertyMapper
|
class XMLChartImportPropertyMapper final : public SvXMLImportPropertyMapper
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
SvXMLImport& mrImport;
|
SvXMLImport& mrImport;
|
||||||
|
@@ -21,14 +21,13 @@
|
|||||||
|
|
||||||
#include <xmloff/XMLShapeStyleContext.hxx>
|
#include <xmloff/XMLShapeStyleContext.hxx>
|
||||||
|
|
||||||
class XMLChartStyleContext : public XMLShapeStyleContext
|
class XMLChartStyleContext final : public XMLShapeStyleContext
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
OUString msDataStyleName;
|
OUString msDataStyleName;
|
||||||
OUString msPercentageDataStyleName;
|
OUString msPercentageDataStyleName;
|
||||||
SvXMLStylesContext& mrStyles;
|
SvXMLStylesContext& mrStyles;
|
||||||
|
|
||||||
protected:
|
|
||||||
/// is called when an attribute at the (auto)style element is found
|
/// is called when an attribute at the (auto)style element is found
|
||||||
virtual void SetAttribute( sal_uInt16 nPrefixKey,
|
virtual void SetAttribute( sal_uInt16 nPrefixKey,
|
||||||
const OUString& rLocalName,
|
const OUString& rLocalName,
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
/**
|
/**
|
||||||
PropertyHandler for the XML-data-type:
|
PropertyHandler for the XML-data-type:
|
||||||
*/
|
*/
|
||||||
class XMLClipPropertyHandler : public XMLPropertyHandler
|
class XMLClipPropertyHandler final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
bool const m_bODF11;
|
bool const m_bODF11;
|
||||||
public:
|
public:
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
namespace com { namespace sun { namespace star { namespace lang {
|
namespace com { namespace sun { namespace star { namespace lang {
|
||||||
class XComponent; } } } }
|
class XComponent; } } } }
|
||||||
|
|
||||||
class XMLEmbeddedObjectImportContext : public SvXMLImportContext
|
class XMLEmbeddedObjectImportContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
css::uno::Reference<css::xml::sax::XDocumentHandler > xHandler;
|
css::uno::Reference<css::xml::sax::XDocumentHandler > xHandler;
|
||||||
css::uno::Reference<css::lang::XComponent > xComp;
|
css::uno::Reference<css::lang::XComponent > xComp;
|
||||||
|
@@ -28,7 +28,7 @@ template<typename EnumT> struct SvXMLEnumMapEntry;
|
|||||||
/** Abstract base-class for different XML-types. Derivations of this class
|
/** Abstract base-class for different XML-types. Derivations of this class
|
||||||
knows how to compare, im/export a special XML-type
|
knows how to compare, im/export a special XML-type
|
||||||
*/
|
*/
|
||||||
class XMLFillBitmapSizePropertyHandler: public XMLPropertyHandler
|
class XMLFillBitmapSizePropertyHandler final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@ namespace com { namespace sun { namespace star {
|
|||||||
class SvXMLImport;
|
class SvXMLImport;
|
||||||
|
|
||||||
/// import footnote and endnote configuration elements
|
/// import footnote and endnote configuration elements
|
||||||
class XMLFootnoteConfigurationImportContext : public SvXMLStyleContext
|
class XMLFootnoteConfigurationImportContext final : public SvXMLStyleContext
|
||||||
{
|
{
|
||||||
OUString sCitationStyle;
|
OUString sCitationStyle;
|
||||||
OUString sAnchorStyle;
|
OUString sAnchorStyle;
|
||||||
|
@@ -31,7 +31,7 @@ namespace com { namespace sun { namespace star {
|
|||||||
} } }
|
} } }
|
||||||
|
|
||||||
|
|
||||||
class XMLImageMapContext : public SvXMLImportContext
|
class XMLImageMapContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
/// the image map to be imported
|
/// the image map to be imported
|
||||||
css::uno::Reference< css::container::XIndexContainer> xImageMap;
|
css::uno::Reference< css::container::XIndexContainer> xImageMap;
|
||||||
|
@@ -40,7 +40,7 @@ namespace com { namespace sun { namespace star {
|
|||||||
*
|
*
|
||||||
* Little cheat: Cover all child elements in CreateChildContext.
|
* Little cheat: Cover all child elements in CreateChildContext.
|
||||||
*/
|
*/
|
||||||
class XMLIndexBibliographyConfigurationContext : public SvXMLStyleContext
|
class XMLIndexBibliographyConfigurationContext final : public SvXMLStyleContext
|
||||||
{
|
{
|
||||||
OUString sSuffix;
|
OUString sSuffix;
|
||||||
OUString sPrefix;
|
OUString sPrefix;
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
This is a handler that returns true for import if the attribute string
|
This is a handler that returns true for import if the attribute string
|
||||||
contains a '%' value. For export this is only usable for filtering.
|
contains a '%' value. For export this is only usable for filtering.
|
||||||
*/
|
*/
|
||||||
class XMLIsPercentagePropertyHandler : public XMLPropertyHandler
|
class XMLIsPercentagePropertyHandler final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~XMLIsPercentagePropertyHandler () override;
|
virtual ~XMLIsPercentagePropertyHandler () override;
|
||||||
|
@@ -48,7 +48,7 @@ enum LineNumberingToken
|
|||||||
|
|
||||||
|
|
||||||
/** import <text:linenumbering-configuration> elements */
|
/** import <text:linenumbering-configuration> elements */
|
||||||
class XMLLineNumberingImportContext : public SvXMLStyleContext
|
class XMLLineNumberingImportContext final : public SvXMLStyleContext
|
||||||
{
|
{
|
||||||
OUString sStyleName;
|
OUString sStyleName;
|
||||||
OUString sNumFormat;
|
OUString sNumFormat;
|
||||||
@@ -78,7 +78,7 @@ public:
|
|||||||
void SetSeparatorText(const OUString& sText);
|
void SetSeparatorText(const OUString& sText);
|
||||||
void SetSeparatorIncrement(sal_Int16 nIncr);
|
void SetSeparatorIncrement(sal_Int16 nIncr);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
|
|
||||||
virtual void StartElement(
|
virtual void StartElement(
|
||||||
const css::uno::Reference<css::xml::sax::XAttributeList> & xAttrList) override;
|
const css::uno::Reference<css::xml::sax::XAttributeList> & xAttrList) override;
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
struct SdXMLFixedDataStyle;
|
struct SdXMLFixedDataStyle;
|
||||||
class SdXMLImport;
|
class SdXMLImport;
|
||||||
|
|
||||||
class SdXMLNumberFormatImportContext : public SvXMLNumFormatContext
|
class SdXMLNumberFormatImportContext final : public SvXMLNumFormatContext
|
||||||
{
|
{
|
||||||
friend class SdXMLNumberFormatMemberImportContext;
|
friend class SdXMLNumberFormatMemberImportContext;
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
/**
|
/**
|
||||||
This is a handler either only import/exports percent or measure.
|
This is a handler either only import/exports percent or measure.
|
||||||
*/
|
*/
|
||||||
class XMLPercentOrMeasurePropertyHandler : public XMLPropertyHandler
|
class XMLPercentOrMeasurePropertyHandler final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
XMLPercentOrMeasurePropertyHandler();
|
XMLPercentOrMeasurePropertyHandler();
|
||||||
|
@@ -28,7 +28,7 @@ template<typename EnumT> struct SvXMLEnumMapEntry;
|
|||||||
/** Abstract base-class for different XML-types. Derivations of this class
|
/** Abstract base-class for different XML-types. Derivations of this class
|
||||||
knows how to compare, im/export a special XML-type
|
knows how to compare, im/export a special XML-type
|
||||||
*/
|
*/
|
||||||
class XMLRectangleMembersHdl: public XMLPropertyHandler
|
class XMLRectangleMembersHdl final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
sal_Int32 const mnType;
|
sal_Int32 const mnType;
|
||||||
|
@@ -27,7 +27,7 @@ namespace com { namespace sun { namespace star {
|
|||||||
namespace beans { class XPropertySet; }
|
namespace beans { class XPropertySet; }
|
||||||
namespace io { class XOutputStream; } } } }
|
namespace io { class XOutputStream; } } } }
|
||||||
|
|
||||||
class XMLReplacementImageContext : public SvXMLImportContext
|
class XMLReplacementImageContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
css::uno::Reference < css::io::XOutputStream > m_xBase64Stream;
|
css::uno::Reference < css::io::XOutputStream > m_xBase64Stream;
|
||||||
css::uno::Reference < css::beans::XPropertySet > m_xPropSet;
|
css::uno::Reference < css::beans::XPropertySet > m_xPropSet;
|
||||||
|
@@ -30,7 +30,7 @@ namespace com { namespace sun { namespace star {
|
|||||||
class SvXMLImport;
|
class SvXMLImport;
|
||||||
class XMLEventsImportContext;
|
class XMLEventsImportContext;
|
||||||
|
|
||||||
class XMLScriptContextFactory : public XMLEventContextFactory
|
class XMLScriptContextFactory final : public XMLEventContextFactory
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
XMLScriptContextFactory();
|
XMLScriptContextFactory();
|
||||||
|
@@ -29,7 +29,7 @@ namespace com { namespace sun { namespace star {
|
|||||||
namespace beans { struct PropertyValue; }
|
namespace beans { struct PropertyValue; }
|
||||||
} } }
|
} } }
|
||||||
|
|
||||||
class XMLScriptExportHandler : public XMLEventExportHandler
|
class XMLScriptExportHandler final : public XMLEventExportHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
XMLScriptExportHandler();
|
XMLScriptExportHandler();
|
||||||
|
@@ -31,7 +31,7 @@ class SvXMLImport;
|
|||||||
class XMLEventsImportContext;
|
class XMLEventsImportContext;
|
||||||
|
|
||||||
|
|
||||||
class XMLStarBasicContextFactory : public XMLEventContextFactory
|
class XMLStarBasicContextFactory final : public XMLEventContextFactory
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
XMLStarBasicContextFactory();
|
XMLStarBasicContextFactory();
|
||||||
|
@@ -29,7 +29,7 @@ namespace com { namespace sun { namespace star {
|
|||||||
namespace beans { struct PropertyValue; }
|
namespace beans { struct PropertyValue; }
|
||||||
} } }
|
} } }
|
||||||
|
|
||||||
class XMLStarBasicExportHandler : public XMLEventExportHandler
|
class XMLStarBasicExportHandler final : public XMLEventExportHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
XMLStarBasicExportHandler();
|
XMLStarBasicExportHandler();
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
* Import all text into a string buffer. Paragraph elements (<text:p>)
|
* Import all text into a string buffer. Paragraph elements (<text:p>)
|
||||||
* are recognized and cause a return character (0x0a) to be added.
|
* are recognized and cause a return character (0x0a) to be added.
|
||||||
*/
|
*/
|
||||||
class XMLStringBufferImportContext : public SvXMLImportContext
|
class XMLStringBufferImportContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
OUStringBuffer& rTextBuffer;
|
OUStringBuffer& rTextBuffer;
|
||||||
|
|
||||||
|
@@ -32,7 +32,7 @@ class SvXMLTokenMap;
|
|||||||
|
|
||||||
typedef std::vector<rtl::Reference<XMLTextColumnContext_Impl>> XMLTextColumnsArray_Impl;
|
typedef std::vector<rtl::Reference<XMLTextColumnContext_Impl>> XMLTextColumnsArray_Impl;
|
||||||
|
|
||||||
class XMLTextColumnsContext :public XMLElementPropertyContext
|
class XMLTextColumnsContext final :public XMLElementPropertyContext
|
||||||
{
|
{
|
||||||
std::unique_ptr<XMLTextColumnsArray_Impl> pColumns;
|
std::unique_ptr<XMLTextColumnsArray_Impl> pColumns;
|
||||||
rtl::Reference<XMLTextColumnSepContext_Impl> mxColumnSep;
|
rtl::Reference<XMLTextColumnSepContext_Impl> mxColumnSep;
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
/**
|
/**
|
||||||
PropertyHandler for the XML-data-type:
|
PropertyHandler for the XML-data-type:
|
||||||
*/
|
*/
|
||||||
class XMLTextColumnsPropertyHandler : public XMLPropertyHandler
|
class XMLTextColumnsPropertyHandler final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~XMLTextColumnsPropertyHandler () override;
|
virtual ~XMLTextColumnsPropertyHandler () override;
|
||||||
|
@@ -27,7 +27,7 @@ namespace com { namespace sun { namespace star {
|
|||||||
namespace beans { class XPropertySet; }
|
namespace beans { class XPropertySet; }
|
||||||
} } }
|
} } }
|
||||||
|
|
||||||
class XMLTextHeaderFooterContext: public SvXMLImportContext
|
class XMLTextHeaderFooterContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
css::uno::Reference< css::text::XTextCursor > xOldTextCursor;
|
css::uno::Reference< css::text::XTextCursor > xOldTextCursor;
|
||||||
css::uno::Reference< css::beans::XPropertySet > xPropSet;
|
css::uno::Reference< css::beans::XPropertySet > xPropSet;
|
||||||
|
@@ -32,7 +32,7 @@ namespace xmloff
|
|||||||
{
|
{
|
||||||
class AnimationsImportHelperImpl;
|
class AnimationsImportHelperImpl;
|
||||||
|
|
||||||
class AnimationNodeContext : public SvXMLImportContext
|
class AnimationNodeContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
std::shared_ptr<AnimationsImportHelperImpl> mpHelper;
|
std::shared_ptr<AnimationsImportHelperImpl> mpHelper;
|
||||||
css::uno::Reference< css::animations::XAnimationNode > mxNode;
|
css::uno::Reference< css::animations::XAnimationNode > mxNode;
|
||||||
|
@@ -28,7 +28,7 @@ class AnimImpImpl;
|
|||||||
|
|
||||||
// presentations:animations
|
// presentations:animations
|
||||||
|
|
||||||
class XMLAnimationsContext : public SvXMLImportContext
|
class XMLAnimationsContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
std::shared_ptr<AnimImpImpl> mpImpl;
|
std::shared_ptr<AnimImpImpl> mpImpl;
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
// graphic property Stroke
|
// graphic property Stroke
|
||||||
|
|
||||||
class XMLDurationPropertyHdl : public XMLPropertyHandler
|
class XMLDurationPropertyHdl final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~XMLDurationPropertyHdl() override;
|
virtual ~XMLDurationPropertyHdl() override;
|
||||||
@@ -33,7 +33,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
class SvXMLImport;
|
class SvXMLImport;
|
||||||
class XMLOpacityPropertyHdl : public XMLPropertyHandler
|
class XMLOpacityPropertyHdl final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
SvXMLImport* const mpImport;
|
SvXMLImport* const mpImport;
|
||||||
@@ -44,7 +44,7 @@ public:
|
|||||||
virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
|
virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
class XMLTextAnimationStepPropertyHdl : public XMLPropertyHandler
|
class XMLTextAnimationStepPropertyHdl final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~XMLTextAnimationStepPropertyHdl() override;
|
virtual ~XMLTextAnimationStepPropertyHdl() override;
|
||||||
@@ -53,7 +53,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
class SvXMLExport;
|
class SvXMLExport;
|
||||||
class XMLDateTimeFormatHdl : public XMLPropertyHandler
|
class XMLDateTimeFormatHdl final : public XMLPropertyHandler
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
SvXMLExport* mpExport;
|
SvXMLExport* mpExport;
|
||||||
|
@@ -213,7 +213,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** inherit sender field because of fixed attribute in ProcessAttributes */
|
/** inherit sender field because of fixed attribute in ProcessAttributes */
|
||||||
class XMLAuthorFieldImportContext : public XMLSenderFieldImportContext
|
class XMLAuthorFieldImportContext final : public XMLSenderFieldImportContext
|
||||||
{
|
{
|
||||||
bool bAuthorFullName;
|
bool bAuthorFullName;
|
||||||
const OUString sPropertyFixed;
|
const OUString sPropertyFixed;
|
||||||
@@ -228,7 +228,7 @@ public:
|
|||||||
const OUString& sLocalName, /// element name w/o prefix
|
const OUString& sLocalName, /// element name w/o prefix
|
||||||
sal_uInt16 nToken); /// element token
|
sal_uInt16 nToken); /// element token
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// start element
|
/// start element
|
||||||
virtual void StartElement(
|
virtual void StartElement(
|
||||||
const css::uno::Reference< css::xml::sax::XAttributeList> & xAttrList) override;
|
const css::uno::Reference< css::xml::sax::XAttributeList> & xAttrList) override;
|
||||||
@@ -242,7 +242,7 @@ protected:
|
|||||||
const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
|
const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
class XMLPlaceholderFieldImportContext : public XMLTextFieldImportContext
|
class XMLPlaceholderFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
const OUString sPropertyHint;
|
const OUString sPropertyHint;
|
||||||
|
|
||||||
@@ -258,7 +258,7 @@ public:
|
|||||||
sal_uInt16 nPrfx, /// namespace prefix
|
sal_uInt16 nPrfx, /// namespace prefix
|
||||||
const OUString& sLocalName); /// element name w/o prefix
|
const OUString& sLocalName); /// element name w/o prefix
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -307,7 +307,7 @@ public:
|
|||||||
|
|
||||||
/** import date fields (<text:date>);
|
/** import date fields (<text:date>);
|
||||||
inherit from TimeField to reuse implementation */
|
inherit from TimeField to reuse implementation */
|
||||||
class XMLDateFieldImportContext : public XMLTimeFieldImportContext
|
class XMLDateFieldImportContext final : public XMLTimeFieldImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@@ -323,7 +323,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import page continuation fields (<text:page-continuation-string>) */
|
/** import page continuation fields (<text:page-continuation-string>) */
|
||||||
class XMLPageContinuationImportContext : public XMLTextFieldImportContext
|
class XMLPageContinuationImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
const OUString sPropertySubType;
|
const OUString sPropertySubType;
|
||||||
const OUString sPropertyNumberingType;
|
const OUString sPropertyNumberingType;
|
||||||
@@ -351,7 +351,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import page number fields (<text:page-number>) */
|
/** import page number fields (<text:page-number>) */
|
||||||
class XMLPageNumberImportContext : public XMLTextFieldImportContext
|
class XMLPageNumberImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
const OUString sPropertySubType;
|
const OUString sPropertySubType;
|
||||||
const OUString sPropertyNumberingType;
|
const OUString sPropertyNumberingType;
|
||||||
@@ -428,7 +428,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import database name fields (<text:database-name>) */
|
/** import database name fields (<text:database-name>) */
|
||||||
class XMLDatabaseNameImportContext : public XMLDatabaseFieldImportContext
|
class XMLDatabaseNameImportContext final : public XMLDatabaseFieldImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@@ -475,7 +475,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import database select fields (<text:database-select>) */
|
/** import database select fields (<text:database-select>) */
|
||||||
class XMLDatabaseSelectImportContext : public XMLDatabaseNextImportContext
|
class XMLDatabaseSelectImportContext final : public XMLDatabaseNextImportContext
|
||||||
{
|
{
|
||||||
const OUString sPropertySetNumber;
|
const OUString sPropertySetNumber;
|
||||||
sal_Int32 nNumber;
|
sal_Int32 nNumber;
|
||||||
@@ -499,7 +499,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import database display number fields (<text:database-row-number>) */
|
/** import database display number fields (<text:database-row-number>) */
|
||||||
class XMLDatabaseNumberImportContext : public XMLDatabaseFieldImportContext
|
class XMLDatabaseNumberImportContext final : public XMLDatabaseFieldImportContext
|
||||||
{
|
{
|
||||||
const OUString sPropertyNumberingType;
|
const OUString sPropertyNumberingType;
|
||||||
const OUString sPropertySetNumber;
|
const OUString sPropertySetNumber;
|
||||||
@@ -560,7 +560,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import docinfo fields with date or time attributes and numberformats */
|
/** import docinfo fields with date or time attributes and numberformats */
|
||||||
class XMLDateTimeDocInfoImportContext : public XMLSimpleDocInfoImportContext
|
class XMLDateTimeDocInfoImportContext final : public XMLSimpleDocInfoImportContext
|
||||||
{
|
{
|
||||||
const OUString sPropertyNumberFormat;
|
const OUString sPropertyNumberFormat;
|
||||||
const OUString sPropertyIsDate;
|
const OUString sPropertyIsDate;
|
||||||
@@ -580,7 +580,7 @@ public:
|
|||||||
const OUString& sLocalName,
|
const OUString& sLocalName,
|
||||||
sal_uInt16 nToken);
|
sal_uInt16 nToken);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -591,7 +591,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import revision field (<text:editing-cycles>) */
|
/** import revision field (<text:editing-cycles>) */
|
||||||
class XMLRevisionDocInfoImportContext : public XMLSimpleDocInfoImportContext
|
class XMLRevisionDocInfoImportContext final : public XMLSimpleDocInfoImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@@ -601,14 +601,14 @@ public:
|
|||||||
const OUString& sLocalName,
|
const OUString& sLocalName,
|
||||||
sal_uInt16 nToken);
|
sal_uInt16 nToken);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// prepare XTextField for insertion into document
|
/// prepare XTextField for insertion into document
|
||||||
virtual void PrepareField(
|
virtual void PrepareField(
|
||||||
const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
|
const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
/** import user docinfo field (<text:user-defined>) */
|
/** import user docinfo field (<text:user-defined>) */
|
||||||
class XMLUserDocInfoImportContext : public XMLSimpleDocInfoImportContext
|
class XMLUserDocInfoImportContext final : public XMLSimpleDocInfoImportContext
|
||||||
{
|
{
|
||||||
OUString aName;
|
OUString aName;
|
||||||
const OUString sPropertyName;
|
const OUString sPropertyName;
|
||||||
@@ -626,7 +626,7 @@ public:
|
|||||||
const OUString& sLocalName,
|
const OUString& sLocalName,
|
||||||
sal_uInt16 nToken);
|
sal_uInt16 nToken);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -635,7 +635,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import hidden paragraph fields (<text:hidden-paragraph>) */
|
/** import hidden paragraph fields (<text:hidden-paragraph>) */
|
||||||
class XMLHiddenParagraphImportContext : public XMLTextFieldImportContext
|
class XMLHiddenParagraphImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
const OUString sPropertyCondition;
|
const OUString sPropertyCondition;
|
||||||
const OUString sPropertyIsHidden;
|
const OUString sPropertyIsHidden;
|
||||||
@@ -650,7 +650,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -661,7 +661,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import conditional text fields (<text:conditional-text>) */
|
/** import conditional text fields (<text:conditional-text>) */
|
||||||
class XMLConditionalTextImportContext : public XMLTextFieldImportContext
|
class XMLConditionalTextImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
const OUString sPropertyCondition;
|
const OUString sPropertyCondition;
|
||||||
const OUString sPropertyCurrentPresentation;
|
const OUString sPropertyCurrentPresentation;
|
||||||
@@ -682,7 +682,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -693,7 +693,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import conditional text fields (<text:hidden-text>) */
|
/** import conditional text fields (<text:hidden-text>) */
|
||||||
class XMLHiddenTextImportContext : public XMLTextFieldImportContext
|
class XMLHiddenTextImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
const OUString sPropertyCondition;
|
const OUString sPropertyCondition;
|
||||||
const OUString sPropertyContent;
|
const OUString sPropertyContent;
|
||||||
@@ -713,7 +713,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -724,7 +724,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import file name fields (<text:file-name>) */
|
/** import file name fields (<text:file-name>) */
|
||||||
class XMLFileNameImportContext : public XMLTextFieldImportContext
|
class XMLFileNameImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
const OUString sPropertyFixed;
|
const OUString sPropertyFixed;
|
||||||
const OUString sPropertyFileFormat;
|
const OUString sPropertyFileFormat;
|
||||||
@@ -740,7 +740,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -751,7 +751,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import document template name fields (<text:template-name>) */
|
/** import document template name fields (<text:template-name>) */
|
||||||
class XMLTemplateNameImportContext : public XMLTextFieldImportContext
|
class XMLTemplateNameImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
const OUString sPropertyFileFormat;
|
const OUString sPropertyFileFormat;
|
||||||
|
|
||||||
@@ -764,7 +764,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -775,7 +775,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import chapter fields (<text:chapter>) */
|
/** import chapter fields (<text:chapter>) */
|
||||||
class XMLChapterImportContext : public XMLTextFieldImportContext
|
class XMLChapterImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
sal_Int16 nFormat;
|
sal_Int16 nFormat;
|
||||||
sal_Int8 nLevel;
|
sal_Int8 nLevel;
|
||||||
@@ -787,7 +787,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -798,7 +798,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import count fields (<text:[XXX]-count>) */
|
/** import count fields (<text:[XXX]-count>) */
|
||||||
class XMLCountFieldImportContext : public XMLTextFieldImportContext
|
class XMLCountFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
const OUString sPropertyNumberingType;
|
const OUString sPropertyNumberingType;
|
||||||
|
|
||||||
@@ -828,7 +828,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import page variable fields (<text:get-page-variable>) */
|
/** import page variable fields (<text:get-page-variable>) */
|
||||||
class XMLPageVarGetFieldImportContext : public XMLTextFieldImportContext
|
class XMLPageVarGetFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
OUString sNumberFormat;
|
OUString sNumberFormat;
|
||||||
OUString sLetterSync;
|
OUString sLetterSync;
|
||||||
@@ -842,7 +842,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -853,7 +853,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import page variable fields (<text:get-page-variable>) */
|
/** import page variable fields (<text:get-page-variable>) */
|
||||||
class XMLPageVarSetFieldImportContext : public XMLTextFieldImportContext
|
class XMLPageVarSetFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
sal_Int16 nAdjust;
|
sal_Int16 nAdjust;
|
||||||
bool bActive;
|
bool bActive;
|
||||||
@@ -865,7 +865,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -876,7 +876,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import macro fields (<text:execute-macro>) */
|
/** import macro fields (<text:execute-macro>) */
|
||||||
class XMLMacroFieldImportContext : public XMLTextFieldImportContext
|
class XMLMacroFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
OUString sDescription;
|
OUString sDescription;
|
||||||
SvXMLImportContextRef xEventContext;
|
SvXMLImportContextRef xEventContext;
|
||||||
@@ -892,7 +892,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// for <office:events> children
|
/// for <office:events> children
|
||||||
virtual SvXMLImportContextRef CreateChildContext(
|
virtual SvXMLImportContextRef CreateChildContext(
|
||||||
sal_uInt16 nPrefix,
|
sal_uInt16 nPrefix,
|
||||||
@@ -909,7 +909,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import reference fields (<text:reference-get>) */
|
/** import reference fields (<text:reference-get>) */
|
||||||
class XMLReferenceFieldImportContext : public XMLTextFieldImportContext
|
class XMLReferenceFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
OUString sName;
|
OUString sName;
|
||||||
OUString sLanguage;
|
OUString sLanguage;
|
||||||
@@ -928,7 +928,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// start element
|
/// start element
|
||||||
virtual void StartElement(
|
virtual void StartElement(
|
||||||
const css::uno::Reference<css::xml::sax::XAttributeList> & xAttrList) override;
|
const css::uno::Reference<css::xml::sax::XAttributeList> & xAttrList) override;
|
||||||
@@ -943,7 +943,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import dde field declaration container (<text:dde-connection-decls>) */
|
/** import dde field declaration container (<text:dde-connection-decls>) */
|
||||||
class XMLDdeFieldDeclsImportContext : public SvXMLImportContext
|
class XMLDdeFieldDeclsImportContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@@ -958,7 +958,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import dde field declaration (<text:dde-connection-decl>) */
|
/** import dde field declaration (<text:dde-connection-decl>) */
|
||||||
class XMLDdeFieldDeclImportContext : public SvXMLImportContext
|
class XMLDdeFieldDeclImportContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
const SvXMLTokenMap& rTokenMap;
|
const SvXMLTokenMap& rTokenMap;
|
||||||
|
|
||||||
@@ -975,7 +975,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import dde fields (<text:dde-connection>) */
|
/** import dde fields (<text:dde-connection>) */
|
||||||
class XMLDdeFieldImportContext : public XMLTextFieldImportContext
|
class XMLDdeFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
OUString sName;
|
OUString sName;
|
||||||
OUString const sPropertyContent;
|
OUString const sPropertyContent;
|
||||||
@@ -987,7 +987,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -1001,7 +1001,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import sheet name fields (Calc) dde fields (<text:sheet-name>) */
|
/** import sheet name fields (Calc) dde fields (<text:sheet-name>) */
|
||||||
class XMLSheetNameImportContext : public XMLTextFieldImportContext
|
class XMLSheetNameImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -1011,7 +1011,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// no attributes -> empty method
|
/// no attributes -> empty method
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -1022,7 +1022,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import page|slide name fields (<text:page-name>) */
|
/** import page|slide name fields (<text:page-name>) */
|
||||||
class XMLPageNameFieldImportContext : public XMLTextFieldImportContext
|
class XMLPageNameFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@@ -1042,7 +1042,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import hyperlinks as URL fields (Calc, Impress, Draw) (<office:a>) */
|
/** import hyperlinks as URL fields (Calc, Impress, Draw) (<office:a>) */
|
||||||
class XMLUrlFieldImportContext : public XMLTextFieldImportContext
|
class XMLUrlFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
OUString sURL;
|
OUString sURL;
|
||||||
OUString sFrame;
|
OUString sFrame;
|
||||||
@@ -1055,7 +1055,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// no attributes -> empty method
|
/// no attributes -> empty method
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -1066,7 +1066,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import bibliography info fields (<text:bibliography-mark>) */
|
/** import bibliography info fields (<text:bibliography-mark>) */
|
||||||
class XMLBibliographyFieldImportContext : public XMLTextFieldImportContext
|
class XMLBibliographyFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
::std::vector< css::beans::PropertyValue> aValues;
|
::std::vector< css::beans::PropertyValue> aValues;
|
||||||
|
|
||||||
@@ -1094,7 +1094,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** Import an annotation field (<text:annotation>) */
|
/** Import an annotation field (<text:annotation>) */
|
||||||
class XMLAnnotationImportContext : public XMLTextFieldImportContext
|
class XMLAnnotationImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
OUStringBuffer aAuthorBuffer;
|
OUStringBuffer aAuthorBuffer;
|
||||||
OUStringBuffer aInitialsBuffer;
|
OUStringBuffer aInitialsBuffer;
|
||||||
@@ -1117,7 +1117,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attributes
|
/// process attributes
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -1134,7 +1134,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** Import a script field (<text:script>) */
|
/** Import a script field (<text:script>) */
|
||||||
class XMLScriptImportContext : public XMLTextFieldImportContext
|
class XMLScriptImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
OUString sContent;
|
OUString sContent;
|
||||||
OUString sScriptType;
|
OUString sScriptType;
|
||||||
@@ -1148,7 +1148,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attributes
|
/// process attributes
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -1159,7 +1159,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import measure fields (<text:measure>) */
|
/** import measure fields (<text:measure>) */
|
||||||
class XMLMeasureFieldImportContext : public XMLTextFieldImportContext
|
class XMLMeasureFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
sal_Int16 mnKind;
|
sal_Int16 mnKind;
|
||||||
|
|
||||||
@@ -1170,7 +1170,7 @@ public:
|
|||||||
sal_uInt16 nPrfx,
|
sal_uInt16 nPrfx,
|
||||||
const OUString& sLocalName);
|
const OUString& sLocalName);
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -1181,7 +1181,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** dropdown field (filter legacy) */
|
/** dropdown field (filter legacy) */
|
||||||
class XMLDropDownFieldImportContext : public XMLTextFieldImportContext
|
class XMLDropDownFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
std::vector<OUString> aLabels;
|
std::vector<OUString> aLabels;
|
||||||
OUString sName;
|
OUString sName;
|
||||||
@@ -1204,7 +1204,7 @@ public:
|
|||||||
const OUString& rLocalName,
|
const OUString& rLocalName,
|
||||||
const css::uno::Reference<css::xml::sax::XAttributeList >& xAttrList ) override;
|
const css::uno::Reference<css::xml::sax::XAttributeList >& xAttrList ) override;
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
const OUString& sAttrValue ) override;
|
const OUString& sAttrValue ) override;
|
||||||
@@ -1215,7 +1215,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import header fields (<draw:header>) */
|
/** import header fields (<draw:header>) */
|
||||||
class XMLHeaderFieldImportContext : public XMLTextFieldImportContext
|
class XMLHeaderFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@@ -1235,7 +1235,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import footer fields (<draw:footer>) */
|
/** import footer fields (<draw:footer>) */
|
||||||
class XMLFooterFieldImportContext : public XMLTextFieldImportContext
|
class XMLFooterFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@@ -1255,7 +1255,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** import footer fields (<draw:date-and-time>) */
|
/** import footer fields (<draw:date-and-time>) */
|
||||||
class XMLDateTimeFieldImportContext : public XMLTextFieldImportContext
|
class XMLDateTimeFieldImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@@ -170,7 +170,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
/** import variable get fields (<text:variable-get>) */
|
/** import variable get fields (<text:variable-get>) */
|
||||||
class XMLVariableGetFieldImportContext : public XMLVarFieldImportContext
|
class XMLVariableGetFieldImportContext final : public XMLVarFieldImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@@ -182,7 +182,7 @@ public:
|
|||||||
const OUString& rLocalName); /// element name w/o prefix
|
const OUString& rLocalName); /// element name w/o prefix
|
||||||
|
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// prepare XTextField for insertion into document
|
/// prepare XTextField for insertion into document
|
||||||
virtual void PrepareField(
|
virtual void PrepareField(
|
||||||
const css::uno::Reference<
|
const css::uno::Reference<
|
||||||
@@ -191,7 +191,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
/** import expression fields (<text:expression>) */
|
/** import expression fields (<text:expression>) */
|
||||||
class XMLExpressionFieldImportContext : public XMLVarFieldImportContext
|
class XMLExpressionFieldImportContext final : public XMLVarFieldImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@@ -201,14 +201,14 @@ public:
|
|||||||
sal_uInt16 nPrfx, /// namespace prefix
|
sal_uInt16 nPrfx, /// namespace prefix
|
||||||
const OUString& sLocalName); /// element name w/o prefix
|
const OUString& sLocalName); /// element name w/o prefix
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
virtual void PrepareField(
|
virtual void PrepareField(
|
||||||
const css::uno::Reference<
|
const css::uno::Reference<
|
||||||
css::beans::XPropertySet> & xPropertySet) override;
|
css::beans::XPropertySet> & xPropertySet) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*** import text input fields (<text:text-input>) */
|
/*** import text input fields (<text:text-input>) */
|
||||||
class XMLTextInputFieldImportContext : public XMLVarFieldImportContext
|
class XMLTextInputFieldImportContext final : public XMLVarFieldImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@@ -218,7 +218,7 @@ public:
|
|||||||
sal_uInt16 nPrfx, /// namespace prefix
|
sal_uInt16 nPrfx, /// namespace prefix
|
||||||
const OUString& sLocalName); /// element name w/o prefix
|
const OUString& sLocalName); /// element name w/o prefix
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
virtual void PrepareField(
|
virtual void PrepareField(
|
||||||
const css::uno::Reference<
|
const css::uno::Reference<
|
||||||
css::beans::XPropertySet> & xPropertySet) override;
|
css::beans::XPropertySet> & xPropertySet) override;
|
||||||
@@ -272,7 +272,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
/** import variable set fields (<text:variable-set>) */
|
/** import variable set fields (<text:variable-set>) */
|
||||||
class XMLVariableSetFieldImportContext : public XMLSetVarFieldImportContext
|
class XMLVariableSetFieldImportContext final : public XMLSetVarFieldImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@@ -282,7 +282,7 @@ public:
|
|||||||
sal_uInt16 nPrfx, /// namespace prefix
|
sal_uInt16 nPrfx, /// namespace prefix
|
||||||
const OUString& rLocalName); /// element name w/o prefix
|
const OUString& rLocalName); /// element name w/o prefix
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
/// prepare XTextField for insertion into document
|
/// prepare XTextField for insertion into document
|
||||||
virtual void PrepareField(
|
virtual void PrepareField(
|
||||||
const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
|
const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
|
||||||
@@ -290,7 +290,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
/** variable input fields (<text:variable-input>) */
|
/** variable input fields (<text:variable-input>) */
|
||||||
class XMLVariableInputFieldImportContext : public XMLSetVarFieldImportContext
|
class XMLVariableInputFieldImportContext final : public XMLSetVarFieldImportContext
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@@ -301,7 +301,7 @@ public:
|
|||||||
sal_uInt16 nPrfx, /// namespace prefix
|
sal_uInt16 nPrfx, /// namespace prefix
|
||||||
const OUString& rLocalName); /// element name w/o prefix
|
const OUString& rLocalName); /// element name w/o prefix
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
|
|
||||||
/// prepare XTextField for insertion into document
|
/// prepare XTextField for insertion into document
|
||||||
virtual void PrepareField(
|
virtual void PrepareField(
|
||||||
@@ -310,7 +310,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
/** user fields (<text:user-field-get>) */
|
/** user fields (<text:user-field-get>) */
|
||||||
class XMLUserFieldImportContext : public XMLSetVarFieldImportContext
|
class XMLUserFieldImportContext final : public XMLSetVarFieldImportContext
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -324,7 +324,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** user input fields (<text:user-field-input>) */
|
/** user input fields (<text:user-field-input>) */
|
||||||
class XMLUserFieldInputImportContext : public XMLVarFieldImportContext
|
class XMLUserFieldInputImportContext final : public XMLVarFieldImportContext
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -342,7 +342,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
/** sequence fields (<text:sequence>) */
|
/** sequence fields (<text:sequence>) */
|
||||||
class XMLSequenceFieldImportContext : public XMLSetVarFieldImportContext
|
class XMLSequenceFieldImportContext final : public XMLSetVarFieldImportContext
|
||||||
{
|
{
|
||||||
OUString sNumFormat;
|
OUString sNumFormat;
|
||||||
OUString sNumFormatSync;
|
OUString sNumFormatSync;
|
||||||
@@ -359,7 +359,7 @@ public:
|
|||||||
sal_uInt16 nPrfx, /// namespace prefix
|
sal_uInt16 nPrfx, /// namespace prefix
|
||||||
const OUString& rLocalName); /// element name w/o prefix
|
const OUString& rLocalName); /// element name w/o prefix
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
|
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
@@ -375,7 +375,7 @@ protected:
|
|||||||
* variable declaration container for all variable fields
|
* variable declaration container for all variable fields
|
||||||
* (variable-decls, user-field-decls, sequence-decls)
|
* (variable-decls, user-field-decls, sequence-decls)
|
||||||
*/
|
*/
|
||||||
class XMLVariableDeclsImportContext : public SvXMLImportContext
|
class XMLVariableDeclsImportContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
enum VarType const eVarDeclsContextType;
|
enum VarType const eVarDeclsContextType;
|
||||||
XMLTextImportHelper& rImportHelper;
|
XMLTextImportHelper& rImportHelper;
|
||||||
@@ -400,7 +400,7 @@ public:
|
|||||||
* variable field declarations
|
* variable field declarations
|
||||||
* (variable-decl, user-field-decl, sequence-decl)
|
* (variable-decl, user-field-decl, sequence-decl)
|
||||||
*/
|
*/
|
||||||
class XMLVariableDeclImportContext : public SvXMLImportContext
|
class XMLVariableDeclImportContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
XMLValueImportHelper aValueHelper;
|
XMLValueImportHelper aValueHelper;
|
||||||
sal_Unicode cSeparationChar;
|
sal_Unicode cSeparationChar;
|
||||||
@@ -426,7 +426,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
/** import table formula fields (deprecated; for Writer 2.0 compatibility) */
|
/** import table formula fields (deprecated; for Writer 2.0 compatibility) */
|
||||||
class XMLTableFormulaImportContext : public XMLTextFieldImportContext
|
class XMLTableFormulaImportContext final : public XMLTextFieldImportContext
|
||||||
{
|
{
|
||||||
XMLValueImportHelper aValueHelper;
|
XMLValueImportHelper aValueHelper;
|
||||||
|
|
||||||
@@ -440,7 +440,7 @@ public:
|
|||||||
sal_uInt16 nPrfx, /// namespace prefix
|
sal_uInt16 nPrfx, /// namespace prefix
|
||||||
const OUString& rLocalName); /// element name w/o prefix
|
const OUString& rLocalName); /// element name w/o prefix
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
|
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
@@ -453,7 +453,7 @@ protected:
|
|||||||
|
|
||||||
|
|
||||||
/** import database display fields (<text:database-display>) */
|
/** import database display fields (<text:database-display>) */
|
||||||
class XMLDatabaseDisplayImportContext : public XMLDatabaseFieldImportContext
|
class XMLDatabaseDisplayImportContext final : public XMLDatabaseFieldImportContext
|
||||||
{
|
{
|
||||||
XMLValueImportHelper aValueHelper;
|
XMLValueImportHelper aValueHelper;
|
||||||
|
|
||||||
@@ -472,7 +472,7 @@ public:
|
|||||||
sal_uInt16 nPrfx, /// namespace prefix
|
sal_uInt16 nPrfx, /// namespace prefix
|
||||||
const OUString& rLocalName); /// element name w/o prefix
|
const OUString& rLocalName); /// element name w/o prefix
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
|
|
||||||
/// process attribute values
|
/// process attribute values
|
||||||
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
virtual void ProcessAttribute( sal_uInt16 nAttrToken,
|
||||||
|
@@ -29,7 +29,7 @@ class SvxXMLTabStopContext_Impl;
|
|||||||
|
|
||||||
typedef std::vector<rtl::Reference<SvxXMLTabStopContext_Impl>> SvxXMLTabStopArray_Impl;
|
typedef std::vector<rtl::Reference<SvxXMLTabStopContext_Impl>> SvxXMLTabStopArray_Impl;
|
||||||
|
|
||||||
class SvxXMLTabStopImportContext : public XMLElementPropertyContext
|
class SvxXMLTabStopImportContext final : public XMLElementPropertyContext
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
std::unique_ptr<SvxXMLTabStopArray_Impl> mpTabStops;
|
std::unique_ptr<SvxXMLTabStopArray_Impl> mpTabStops;
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
#include <xmloff/xmlimp.hxx>
|
#include <xmloff/xmlimp.hxx>
|
||||||
#include <xmloff/xmltoken.hxx>
|
#include <xmloff/xmltoken.hxx>
|
||||||
|
|
||||||
class XMLVersionListExport : public SvXMLExport
|
class XMLVersionListExport final : public SvXMLExport
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
const css::uno::Sequence < css::util::RevisionTag >& maVersions;
|
const css::uno::Sequence < css::util::RevisionTag >& maVersions;
|
||||||
@@ -47,13 +47,11 @@ public:
|
|||||||
void ExportContent_() override {}
|
void ExportContent_() override {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class XMLVersionListImport : public SvXMLImport
|
class XMLVersionListImport final : public SvXMLImport
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
css::uno::Sequence < css::util::RevisionTag >& maVersions;
|
css::uno::Sequence < css::util::RevisionTag >& maVersions;
|
||||||
|
|
||||||
protected:
|
|
||||||
|
|
||||||
virtual SvXMLImportContext *CreateFastContext( sal_Int32 Element,
|
virtual SvXMLImportContext *CreateFastContext( sal_Int32 Element,
|
||||||
const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList >& xAttrList ) override;
|
const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList >& xAttrList ) override;
|
||||||
|
|
||||||
@@ -68,7 +66,7 @@ public:
|
|||||||
GetList() { return maVersions; }
|
GetList() { return maVersions; }
|
||||||
};
|
};
|
||||||
|
|
||||||
class XMLVersionListContext : public SvXMLImportContext
|
class XMLVersionListContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
XMLVersionListImport & GetImport() { return static_cast<XMLVersionListImport&>(SvXMLImportContext::GetImport()); }
|
XMLVersionListImport & GetImport() { return static_cast<XMLVersionListImport&>(SvXMLImportContext::GetImport()); }
|
||||||
@@ -84,7 +82,7 @@ public:
|
|||||||
const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttribs) override;
|
const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttribs) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
class XMLVersionContext: public SvXMLImportContext
|
class XMLVersionContext final : public SvXMLImportContext
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
static bool ParseISODateTimeString(
|
static bool ParseISODateTimeString(
|
||||||
@@ -99,7 +97,7 @@ public:
|
|||||||
virtual ~XMLVersionContext() override;
|
virtual ~XMLVersionContext() override;
|
||||||
};
|
};
|
||||||
|
|
||||||
class XMLVersionListPersistence : public ::cppu::WeakImplHelper< css::document::XDocumentRevisionListPersistence, css::lang::XServiceInfo >
|
class XMLVersionListPersistence final : public ::cppu::WeakImplHelper< css::document::XDocumentRevisionListPersistence, css::lang::XServiceInfo >
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual css::uno::Sequence< css::util::RevisionTag > SAL_CALL load( const css::uno::Reference< css::embed::XStorage >& Storage ) override;
|
virtual css::uno::Sequence< css::util::RevisionTag > SAL_CALL load( const css::uno::Reference< css::embed::XStorage >& Storage ) override;
|
||||||
|
Reference in New Issue
Block a user