LibreOffice Module sc (master) 1
Namespaces | Macros | Functions | Variables
xmlexprt.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include "xmlexprt.hxx"
#include "XMLConverter.hxx"
#include "xmlstyle.hxx"
#include <unonames.hxx>
#include <document.hxx>
#include <olinetab.hxx>
#include <formulacell.hxx>
#include <rangenam.hxx>
#include "XMLTableMasterPageExport.hxx"
#include <drwlayer.hxx>
#include "XMLExportDataPilot.hxx"
#include "XMLExportDatabaseRanges.hxx"
#include "XMLExportDDELinks.hxx"
#include "XMLExportIterator.hxx"
#include "XMLColumnRowGroupExport.hxx"
#include "XMLStylesExportHelper.hxx"
#include "XMLChangeTrackingExportHelper.hxx"
#include <sheetdata.hxx>
#include <docoptio.hxx>
#include "XMLExportSharedData.hxx"
#include <chgviset.hxx>
#include <docuno.hxx>
#include <textuno.hxx>
#include <chartlis.hxx>
#include <scitems.hxx>
#include <docpool.hxx>
#include <userdat.hxx>
#include <chgtrack.hxx>
#include <rangeutl.hxx>
#include <postit.hxx>
#include <externalrefmgr.hxx>
#include <editutil.hxx>
#include <tabprotection.hxx>
#include "cachedattraccess.hxx"
#include <colorscale.hxx>
#include <conditio.hxx>
#include <cellvalue.hxx>
#include <stylehelper.hxx>
#include <edittextiterator.hxx>
#include "editattributemap.hxx"
#include <arealink.hxx>
#include <datastream.hxx>
#include <documentlinkmgr.hxx>
#include <tokenstringcontext.hxx>
#include <cellform.hxx>
#include <datamapper.hxx>
#include <datatransformation.hxx>
#include "SparklineGroupsExport.hxx"
#include <SparklineList.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/namespacemap.hxx>
#include <xmloff/families.hxx>
#include <xmloff/numehelp.hxx>
#include <xmloff/txtparae.hxx>
#include <editeng/autokernitem.hxx>
#include <editeng/charreliefitem.hxx>
#include <editeng/charscaleitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/contouritem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/emphasismarkitem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/kernitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/section.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/wrlmitem.hxx>
#include <editeng/xmlcnitm.hxx>
#include <editeng/flditem.hxx>
#include <editeng/eeitem.hxx>
#include <formula/errorcodes.hxx>
#include <xmloff/xmlerror.hxx>
#include <xmloff/XMLEventExport.hxx>
#include <xmloff/xmlprmap.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include <xmloff/table/XMLTableExport.hxx>
#include <sax/tools/converter.hxx>
#include <tools/fldunit.hxx>
#include <rtl/ustring.hxx>
#include <tools/color.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <rtl/math.hxx>
#include <svl/numformat.hxx>
#include <svl/zforlist.hxx>
#include <comphelper/base64.hxx>
#include <comphelper/extract.hxx>
#include <svx/svdoashp.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdocapt.hxx>
#include <svx/svdomeas.hxx>
#include <vcl/svapp.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/form/XFormsSupplier2.hpp>
#include <com/sun/star/io/XActiveDataSource.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/sheet/XUsedAreaCursor.hpp>
#include <com/sun/star/sheet/XCellRangeAddressable.hpp>
#include <com/sun/star/sheet/XPrintAreas.hpp>
#include <com/sun/star/sheet/XUniqueCellFormatRangesSupplier.hpp>
#include <com/sun/star/sheet/XLabelRange.hpp>
#include <com/sun/star/sheet/NamedRangeFlag.hpp>
#include <com/sun/star/sheet/XSheetCellCursor.hpp>
#include <com/sun/star/sheet/XSheetCellRanges.hpp>
#include <com/sun/star/sheet/XSheetLinkable.hpp>
#include <com/sun/star/sheet/GlobalSheetSettings.hpp>
#include <com/sun/star/table/XColumnRowRange.hpp>
#include <com/sun/star/util/XProtectable.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/chart2/data/XRangeXMLConversion.hpp>
#include <com/sun/star/chart2/data/XDataReceiver.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include "XMLCodeNameProvider.hxx"
#include <sfx2/linkmgr.hxx>
#include <sfx2/objsh.hxx>
#include <memory>
#include <vector>
#include <vbahelper/vbaaccesshelper.hxx>
#include <officecfg/Office/Common.hxx>
Include dependency graph for xmlexprt.cxx:

Go to the source code of this file.

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::uno
 

Macros

#define SC_VIEWCHANGES_COUNT   13
 
#define SC_SHOW_CHANGES   0
 
#define SC_SHOW_ACCEPTED_CHANGES   1
 
#define SC_SHOW_REJECTED_CHANGES   2
 
#define SC_SHOW_CHANGES_BY_DATETIME   3
 
#define SC_SHOW_CHANGES_BY_DATETIME_MODE   4
 
#define SC_SHOW_CHANGES_BY_DATETIME_FIRST_DATETIME   5
 
#define SC_SHOW_CHANGES_BY_DATETIME_SECOND_DATETIME   6
 
#define SC_SHOW_CHANGES_BY_AUTHOR   7
 
#define SC_SHOW_CHANGES_BY_AUTHOR_NAME   8
 
#define SC_SHOW_CHANGES_BY_COMMENT   9
 
#define SC_SHOW_CHANGES_BY_COMMENT_TEXT   10
 
#define SC_SHOW_CHANGES_BY_RANGES   11
 
#define SC_SHOW_CHANGES_BY_RANGES_LIST   12
 

Functions

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLExporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLMetaExporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLStylesExporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLContentExporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLSettingsExporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLOasisExporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLOasisMetaExporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLOasisStylesExporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLOasisContentExporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLOasisSettingsExporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
static bool lcl_CopyStreamElement (const uno::Reference< io::XInputStream > &xInput, const uno::Reference< io::XOutputStream > &xOutput, sal_Int32 nCount)
 
static void lcl_SkipBytesInBlocks (const uno::Reference< io::XInputStream > &xInput, sal_Int32 nBytesToSkip)
 
static uno::Any lcl_GetEnumerated (uno::Reference< container::XEnumerationAccess > const &xEnumAccess, sal_Int32 nIndex)
 

Variables

constexpr OUStringLiteral SC_LAYERID = u"LayerID"
 not found in unonames.hxx More...
 

Macro Definition Documentation

◆ SC_SHOW_ACCEPTED_CHANGES

#define SC_SHOW_ACCEPTED_CHANGES   1

Definition at line 172 of file xmlexprt.cxx.

◆ SC_SHOW_CHANGES

#define SC_SHOW_CHANGES   0

Definition at line 171 of file xmlexprt.cxx.

◆ SC_SHOW_CHANGES_BY_AUTHOR

#define SC_SHOW_CHANGES_BY_AUTHOR   7

Definition at line 178 of file xmlexprt.cxx.

◆ SC_SHOW_CHANGES_BY_AUTHOR_NAME

#define SC_SHOW_CHANGES_BY_AUTHOR_NAME   8

Definition at line 179 of file xmlexprt.cxx.

◆ SC_SHOW_CHANGES_BY_COMMENT

#define SC_SHOW_CHANGES_BY_COMMENT   9

Definition at line 180 of file xmlexprt.cxx.

◆ SC_SHOW_CHANGES_BY_COMMENT_TEXT

#define SC_SHOW_CHANGES_BY_COMMENT_TEXT   10

Definition at line 181 of file xmlexprt.cxx.

◆ SC_SHOW_CHANGES_BY_DATETIME

#define SC_SHOW_CHANGES_BY_DATETIME   3

Definition at line 174 of file xmlexprt.cxx.

◆ SC_SHOW_CHANGES_BY_DATETIME_FIRST_DATETIME

#define SC_SHOW_CHANGES_BY_DATETIME_FIRST_DATETIME   5

Definition at line 176 of file xmlexprt.cxx.

◆ SC_SHOW_CHANGES_BY_DATETIME_MODE

#define SC_SHOW_CHANGES_BY_DATETIME_MODE   4

Definition at line 175 of file xmlexprt.cxx.

◆ SC_SHOW_CHANGES_BY_DATETIME_SECOND_DATETIME

#define SC_SHOW_CHANGES_BY_DATETIME_SECOND_DATETIME   6

Definition at line 177 of file xmlexprt.cxx.

◆ SC_SHOW_CHANGES_BY_RANGES

#define SC_SHOW_CHANGES_BY_RANGES   11

Definition at line 182 of file xmlexprt.cxx.

◆ SC_SHOW_CHANGES_BY_RANGES_LIST

#define SC_SHOW_CHANGES_BY_RANGES_LIST   12

Definition at line 183 of file xmlexprt.cxx.

◆ SC_SHOW_REJECTED_CHANGES

#define SC_SHOW_REJECTED_CHANGES   2

Definition at line 173 of file xmlexprt.cxx.

◆ SC_VIEWCHANGES_COUNT

#define SC_VIEWCHANGES_COUNT   13

Definition at line 170 of file xmlexprt.cxx.

Function Documentation

◆ Calc_XMLContentExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLContentExporter_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 268 of file xmlexprt.cxx.

◆ Calc_XMLExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLExporter_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 250 of file xmlexprt.cxx.

◆ Calc_XMLMetaExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLMetaExporter_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 256 of file xmlexprt.cxx.

◆ Calc_XMLOasisContentExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLOasisContentExporter_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 298 of file xmlexprt.cxx.

◆ Calc_XMLOasisExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLOasisExporter_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 280 of file xmlexprt.cxx.

◆ Calc_XMLOasisMetaExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLOasisMetaExporter_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 286 of file xmlexprt.cxx.

◆ Calc_XMLOasisSettingsExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLOasisSettingsExporter_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 304 of file xmlexprt.cxx.

◆ Calc_XMLOasisStylesExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLOasisStylesExporter_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 292 of file xmlexprt.cxx.

◆ Calc_XMLSettingsExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLSettingsExporter_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 274 of file xmlexprt.cxx.

◆ Calc_XMLStylesExporter_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_XMLStylesExporter_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 262 of file xmlexprt.cxx.

◆ lcl_CopyStreamElement()

static bool lcl_CopyStreamElement ( const uno::Reference< io::XInputStream > &  xInput,
const uno::Reference< io::XOutputStream > &  xOutput,
sal_Int32  nCount 
)
static

Definition at line 1743 of file xmlexprt.cxx.

References nCount.

Referenced by ScXMLExport::CopySourceStream().

◆ lcl_GetEnumerated()

static uno::Any lcl_GetEnumerated ( uno::Reference< container::XEnumerationAccess > const &  xEnumAccess,
sal_Int32  nIndex 
)
static

Definition at line 2207 of file xmlexprt.cxx.

References nIndex.

Referenced by ScXMLExport::collectAutoStyles().

◆ lcl_SkipBytesInBlocks()

static void lcl_SkipBytesInBlocks ( const uno::Reference< io::XInputStream > &  xInput,
sal_Int32  nBytesToSkip 
)
static

Definition at line 1792 of file xmlexprt.cxx.

Referenced by ScXMLExport::CopySourceStream().

Variable Documentation

◆ SC_LAYERID

constexpr OUStringLiteral SC_LAYERID = u"LayerID"
constexpr

not found in unonames.hxx

Definition at line 168 of file xmlexprt.cxx.

Referenced by ScXMLExport::CollectSharedData().