summaryrefslogtreecommitdiff
path: root/xmloff/source/forms
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/forms')
-rw-r--r--xmloff/source/forms/formlayerexport.cxx12
-rw-r--r--xmloff/source/forms/formlayerimport.cxx6
-rw-r--r--xmloff/source/forms/formstyles.cxx68
-rw-r--r--xmloff/source/forms/formstyles.hxx74
-rw-r--r--xmloff/source/forms/layerimport.cxx1
5 files changed, 0 insertions, 161 deletions
diff --git a/xmloff/source/forms/formlayerexport.cxx b/xmloff/source/forms/formlayerexport.cxx
index ea5ebc93a1b6..deb950804628 100644
--- a/xmloff/source/forms/formlayerexport.cxx
+++ b/xmloff/source/forms/formlayerexport.cxx
@@ -94,12 +94,6 @@ namespace xmloff
}
//---------------------------------------------------------------------
- void OFormLayerXMLExport::initialize()
- {
- m_pImpl->clear();
- }
-
- //---------------------------------------------------------------------
void OFormLayerXMLExport::examineForms(const Reference< XDrawPage >& _rxDrawPage)
{
try
@@ -137,12 +131,6 @@ namespace xmloff
}
//---------------------------------------------------------------------
- void OFormLayerXMLExport::exportControlNumberStyles()
- {
- m_pImpl->exportControlNumberStyles();
- }
-
- //---------------------------------------------------------------------
void OFormLayerXMLExport::exportAutoControlNumberStyles()
{
m_pImpl->exportAutoControlNumberStyles();
diff --git a/xmloff/source/forms/formlayerimport.cxx b/xmloff/source/forms/formlayerimport.cxx
index 718c3120c481..ad677b868164 100644
--- a/xmloff/source/forms/formlayerimport.cxx
+++ b/xmloff/source/forms/formlayerimport.cxx
@@ -67,12 +67,6 @@ namespace xmloff
}
//---------------------------------------------------------------------
- void OFormLayerXMLImport::seekPage(const Reference< XDrawPage >& _rxDrawPage)
- {
- m_pImpl->seekPage(_rxDrawPage);
- }
-
- //---------------------------------------------------------------------
void OFormLayerXMLImport::startPage(const Reference< XDrawPage >& _rxDrawPage)
{
m_pImpl->startPage(_rxDrawPage);
diff --git a/xmloff/source/forms/formstyles.cxx b/xmloff/source/forms/formstyles.cxx
deleted file mode 100644
index bd00be5fbf43..000000000000
--- a/xmloff/source/forms/formstyles.cxx
+++ /dev/null
@@ -1,68 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-// MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_xmloff.hxx"
-#include "formstyles.hxx"
-#include <xmloff/xmltoken.hxx>
-
-//.........................................................................
-namespace xmloff
-{
-//.........................................................................
-
- using namespace token;
- using namespace ::com::sun::star::uno;
- using namespace ::com::sun::star::xml;
-
- //=====================================================================
- //= OControlStyleContext
- //=====================================================================
- //---------------------------------------------------------------------
- OControlStyleContext::OControlStyleContext( SvXMLImport& _rImport, const sal_uInt16 _Prefix, const ::rtl::OUString& _rLocalName,
- const Reference< sax::XAttributeList >& _rxAttrList, SvXMLStylesContext& _rParentStyles,
- const sal_uInt16 _nFamily, const sal_Bool _bDefaultStyle )
- :XMLPropStyleContext( _rImport, _Prefix, _rLocalName, _rxAttrList, _rParentStyles, _nFamily, _bDefaultStyle )
- {
- }
-
- //---------------------------------------------------------------------
- void OControlStyleContext::SetAttribute( sal_uInt16 _nPrefixKey, const ::rtl::OUString& _rLocalName, const ::rtl::OUString& _rValue )
- {
- if ( _rLocalName == GetXMLToken( XML_DATA_STYLE_NAME ) )
- m_sNumberStyleName = _rValue;
- else
- XMLPropStyleContext::SetAttribute( _nPrefixKey, _rLocalName, _rValue );
- }
-
-//.........................................................................
-} // namespace xmloff
-//.........................................................................
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/formstyles.hxx b/xmloff/source/forms/formstyles.hxx
deleted file mode 100644
index fc055df24a1a..000000000000
--- a/xmloff/source/forms/formstyles.hxx
+++ /dev/null
@@ -1,74 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef XMLOFF_FORMSTYLES_HXX
-#define XMLOFF_FORMSTYLES_HXX
-
-#include <xmloff/prstylei.hxx>
-
-//.........................................................................
-namespace xmloff
-{
-//.........................................................................
-
- //=====================================================================
- //= OControlStyleContext
- //=====================================================================
- class OControlStyleContext : public XMLPropStyleContext
- {
- protected:
- ::rtl::OUString m_sNumberStyleName;
-
- public:
- OControlStyleContext(
- SvXMLImport& _rImport,
- const sal_uInt16 _Prefix,
- const ::rtl::OUString& _rLocalName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& _rxAttrList,
- SvXMLStylesContext& _rParentStyles,
- const sal_uInt16 _nFamily,
- const sal_Bool _bDefaultStyle
- );
-
- inline const ::rtl::OUString& getNumberStyleName( ) const { return m_sNumberStyleName; }
-
- protected:
- virtual void SetAttribute(
- sal_uInt16 _nPrefixKey,
- const ::rtl::OUString& _rLocalName,
- const ::rtl::OUString& _rValue
- );
- };
-
-//.........................................................................
-} // namespace xmloff
-//.........................................................................
-
-#endif // XMLOFF_FORMSTYLES_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/layerimport.cxx b/xmloff/source/forms/layerimport.cxx
index c277969c51ab..7b40189d5145 100644
--- a/xmloff/source/forms/layerimport.cxx
+++ b/xmloff/source/forms/layerimport.cxx
@@ -33,7 +33,6 @@
#include "elementimport.hxx"
#include "officeforms.hxx"
#include "strings.hxx"
-#include "formstyles.hxx"
#include <xmloff/xmlictxt.hxx>
#include <xmloff/xmlstyle.hxx>
#include <xmloff/families.hxx>