summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/sdxmlexp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/sdxmlexp.cxx')
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx61
1 files changed, 0 insertions, 61 deletions
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index 34beb140cd4b..2174743fe8b4 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -76,7 +76,6 @@
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
-
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
@@ -89,9 +88,6 @@ using namespace ::com::sun::star::geometry;
using namespace ::com::sun::star::text;
using namespace ::xmloff::token;
-
-//////////////////////////////////////////////////////////////////////////////
-
class ImpXMLEXPPageMasterInfo
{
sal_Int32 mnBorderBottom;
@@ -192,8 +188,6 @@ void ImpXMLEXPPageMasterInfo::SetName(const OUString& rStr)
msName = rStr;
}
-//////////////////////////////////////////////////////////////////////////////
-
#define IMP_AUTOLAYOUT_INFO_MAX (35L)
class ImpXMLAutoLayoutInfo
@@ -391,8 +385,6 @@ ImpXMLAutoLayoutInfo::ImpXMLAutoLayoutInfo(sal_uInt16 nTyp, ImpXMLEXPPageMasterI
maPresRect.SetSize(aLayoutSize);
}
-//////////////////////////////////////////////////////////////////////////////
-
// #110680#
SdXMLExport::SdXMLExport(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext,
@@ -422,7 +414,6 @@ SdXMLExport::SdXMLExport(
msPageLayoutNames( "PageLayoutNames" )
{
-
}
// XExporter
@@ -638,7 +629,6 @@ void SAL_CALL SdXMLExport::setSourceDocument( const Reference< lang::XComponent
GetShapeExport()->enableHandleProgressBar();
}
-//////////////////////////////////////////////////////////////////////////////
// #82003# helper function for recursive object count
sal_uInt32 SdXMLExport::ImpRecursiveObjectCount(Reference< drawing::XShapes > xShapes)
{
@@ -668,8 +658,6 @@ sal_uInt32 SdXMLExport::ImpRecursiveObjectCount(Reference< drawing::XShapes > xS
return nRetval;
}
-//////////////////////////////////////////////////////////////////////////////
-
SdXMLExport::~SdXMLExport()
{
// cleanup factory, decrease refcount. Should lead to destruction.
@@ -728,8 +716,6 @@ SdXMLExport::~SdXMLExport()
}
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::ImpPrepAutoLayoutInfos()
{
if(IsImpress())
@@ -829,8 +815,6 @@ sal_Bool SdXMLExport::ImpPrepAutoLayoutInfo(const Reference<XDrawPage>& xPage, O
return bRetval;
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::ImpWriteAutoLayoutInfos()
{
if( !mpAutoLayoutInfoList->empty() )
@@ -1217,8 +1201,6 @@ void SdXMLExport::ImpWriteAutoLayoutInfos()
}
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::ImpWriteAutoLayoutPlaceholder(XmlPlaceholder ePl, const Rectangle& rRect)
{
OUString aStr;
@@ -1268,8 +1250,6 @@ void SdXMLExport::ImpWriteAutoLayoutPlaceholder(XmlPlaceholder ePl, const Rectan
SvXMLElementExport aPPL(*this, XML_NAMESPACE_PRESENTATION, XML_PLACEHOLDER, sal_True, sal_True);
}
-//////////////////////////////////////////////////////////////////////////////
-
ImpXMLEXPPageMasterInfo* SdXMLExport::ImpGetOrCreatePageMasterInfo( Reference< XDrawPage > xMasterPage )
{
bool bDoesExist = false;
@@ -1343,8 +1323,6 @@ void SdXMLExport::ImpPrepPageMasterInfos()
}
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::ImpWritePageMasterInfos()
{
// write created page-masters, create names for these
@@ -1411,8 +1389,6 @@ void SdXMLExport::ImpWritePageMasterInfos()
}
}
-//////////////////////////////////////////////////////////////////////////////
-
ImpXMLEXPPageMasterInfo* SdXMLExport::ImpGetPageMasterInfoByName(const OUString& rName)
{
if(!rName.isEmpty() && !mpPageMasterInfoList->empty())
@@ -1432,8 +1408,6 @@ ImpXMLEXPPageMasterInfo* SdXMLExport::ImpGetPageMasterInfoByName(const OUString&
return 0L;
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::ImpPrepDrawPageInfos()
{
// create draw:style-name entries for page export
@@ -1458,8 +1432,6 @@ void SdXMLExport::ImpPrepDrawPageInfos()
}
}
-//////////////////////////////////////////////////////////////////////////////
-
static OUString findOrAppendImpl( std::vector< OUString >& rVector, const OUString& rText, const sal_Char* pPrefix )
{
// search rVector if there is already a string that equals rText
@@ -1570,8 +1542,6 @@ HeaderFooterPageSettingsImpl SdXMLExport::ImpPrepDrawPageHeaderFooterDecls( cons
return aSettings;
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::ImpWriteHeaderFooterDecls()
{
OUStringBuffer sBuffer;
@@ -1648,8 +1618,6 @@ void SdXMLExport::ImplExportHeaderFooterDeclAttributes( const HeaderFooterPageSe
AddAttribute( XML_NAMESPACE_PRESENTATION, XML_USE_DATE_TIME_NAME, aSettings.maStrDateTimeDeclName );
}
-//////////////////////////////////////////////////////////////////////////////
-
OUString SdXMLExport::ImpCreatePresPageStyleName( Reference<XDrawPage> xDrawPage, bool bExportBackground /* = true */ )
{
// create name
@@ -1708,8 +1676,6 @@ OUString SdXMLExport::ImpCreatePresPageStyleName( Reference<XDrawPage> xDrawPage
return sStyleName;
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::ImpPrepMasterPageInfos()
{
// create draw:style-name entries for master page export
@@ -1739,7 +1705,6 @@ void SdXMLExport::ImpPrepMasterPageInfos()
}
}
-//////////////////////////////////////////////////////////////////////////////
void SdXMLExport::ImpWritePresentationStyles()
{
if(IsImpress())
@@ -1770,8 +1735,6 @@ void SdXMLExport::ImpWritePresentationStyles()
}
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::SetProgress(sal_Int32 nProg)
{
// set progress view
@@ -1779,7 +1742,6 @@ void SdXMLExport::SetProgress(sal_Int32 nProg)
GetStatusIndicator()->setValue(nProg);
}
-//////////////////////////////////////////////////////////////////////////////
// #82003#
void SdXMLExport::_ExportMeta()
@@ -1801,8 +1763,6 @@ void SdXMLExport::_ExportMeta()
SvXMLExport::_ExportMeta();
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::_ExportFontDecls()
{
GetFontAutoStylePool(); // make sure the pool is created
@@ -1891,7 +1851,6 @@ void SdXMLExport::_ExportContent()
if( IsImpress() )
ImplExportHeaderFooterDeclAttributes( maDrawPagesHeaderFooterSettings[nPageInd] );
-
OUString sNavigationOrder( getNavigationOrder( xDrawPage ) );
if( !sNavigationOrder.isEmpty() )
AddAttribute ( XML_NAMESPACE_DRAW, XML_NAV_ORDER, sNavigationOrder );
@@ -1994,8 +1953,6 @@ void SdXMLExport::_ExportContent()
exportPresentationSettings();
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::exportPresentationSettings()
{
try
@@ -2180,8 +2137,6 @@ void SdXMLExport::exportPresentationSettings()
}
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::_ExportStyles(sal_Bool bUsed)
{
GetPropertySetMapper()->SetAutoStyles( sal_False );
@@ -2220,8 +2175,6 @@ void SdXMLExport::_ExportStyles(sal_Bool bUsed)
}
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::_ExportAutoStyles()
{
Reference< beans::XPropertySet > xInfoSet( getExportInfo() );
@@ -2417,8 +2370,6 @@ void SdXMLExport::_ExportAutoStyles()
GetTextParagraphExport()->exportTextAutoStyles();
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::_ExportMasterStyles()
{
// export layer
@@ -2602,8 +2553,6 @@ void SdXMLExport::GetConfigurationSettings(uno::Sequence<beans::PropertyValue>&
}
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::addDataStyle(const sal_Int32 nNumberFormat, sal_Bool bTimeFormat )
{
sal_Int32 nFormat = nNumberFormat;
@@ -2622,15 +2571,11 @@ void SdXMLExport::addDataStyle(const sal_Int32 nNumberFormat, sal_Bool bTimeForm
}
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::exportDataStyles()
{
// there are no data styles to export in draw/impress yet
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::exportAutoDataStyles()
{
SdXMLFormatMap::iterator aIter( maUsedDateStyles.begin() );
@@ -2648,8 +2593,6 @@ void SdXMLExport::exportAutoDataStyles()
GetFormExport()->exportAutoControlNumberStyles();
}
-//////////////////////////////////////////////////////////////////////////////
-
OUString SdXMLExport::getDataStyleName(const sal_Int32 nNumberFormat, sal_Bool bTimeFormat ) const
{
if( bTimeFormat )
@@ -2695,8 +2638,6 @@ OUString SdXMLExport::getNavigationOrder( const Reference< XDrawPage >& xDrawPag
return sNavOrder.makeStringAndClear();
}
-//////////////////////////////////////////////////////////////////////////////
-
void SdXMLExport::collectAnnotationAutoStyles( const Reference<XDrawPage>& xDrawPage )
{
Reference< XAnnotationAccess > xAnnotationAccess( xDrawPage, UNO_QUERY );
@@ -2791,8 +2732,6 @@ void SdXMLExport::exportAnnotations( const Reference<XDrawPage>& xDrawPage )
}
}
-//////////////////////////////////////////////////////////////////////////////
-
#define SERVICE( classname, servicename, implementationname, draw, flags )\
uno::Sequence< OUString > SAL_CALL classname##_getSupportedServiceNames() throw()\
{\