LibreOffice Module reportdesign (master) 1
Classes | Typedefs | Enumerations | Functions
rptxml Namespace Reference

Classes

class  ExportDocumentHandler
 
class  IMasterDetailFieds
 
class  ImportDocumentHandler
 
class  OControlStyleContext
 
class  OPropertyHandlerFactory
 
class  OReportStylesContext
 
class  ORptExport
 
class  ORptFilter
 
class  ORptTypeDetection
 
class  OXMLAutoStylePoolP
 
class  OXMLCell
 
class  OXMLComponent
 
class  OXMLCondPrtExpr
 
class  OXMLControlProperty
 
class  OXMLFixedContent
 
class  OXMLFormatCondition
 
class  OXMLFormattedField
 
class  OXMLFunction
 
class  OXMLGroup
 
class  OXMLHelper
 
class  OXMLImage
 
class  OXMLMasterFields
 
class  OXMLReport
 
class  OXMLReportElement
 
class  OXMLReportElementBase
 
class  OXMLRowColumn
 
class  OXMLRptPropHdlFactory
 
class  OXMLSection
 
class  OXMLSubDocument
 
class  OXMLTable
 
class  RptXMLDocumentBodyContext
 

Typedefs

typedef ::cppu::WeakImplHelper< css::xml::sax::XDocumentHandler, css::lang::XInitialization, css::lang::XServiceInfo > ExportDocumentHandler_BASE
 
typedef ::cppu::WeakImplHelper< css::xml::sax::XDocumentHandler, css::lang::XInitialization, css::lang::XServiceInfo > ImportDocumentHandler_BASE
 

Enumerations

enum  XMLReportToken {
  XML_TOK_REPORT_HEADER ,
  XML_TOK_PAGE_HEADER ,
  XML_TOK_GROUP ,
  XML_TOK_DETAIL ,
  XML_TOK_PAGE_FOOTER ,
  XML_TOK_REPORT_FOOTER ,
  XML_TOK_HEADER_ON_NEW_PAGE ,
  XML_TOK_FOOTER_ON_NEW_PAGE ,
  XML_TOK_COMMAND_TYPE ,
  XML_TOK_COMMAND ,
  XML_TOK_FILTER ,
  XML_TOK_CAPTION ,
  XML_TOK_ESCAPE_PROCESSING ,
  XML_TOK_REPORT_FUNCTION ,
  XML_TOK_REPORT_ELEMENT ,
  XML_TOK_REPORT_MIMETYPE ,
  XML_TOK_REPORT_NAME ,
  XML_TOK_MASTER_DETAIL_FIELDS ,
  XML_TOK_SUB_FRAME ,
  XML_TOK_SUB_BODY
}
 
enum  XMLSubDocument {
  XML_TOK_MASTER_DETAIL_FIELD ,
  XML_TOK_MASTER ,
  XML_TOK_SUB_DETAIL
}
 

Functions

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_ORptExportHelper_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 Exports only settings. More...
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_ORptContentExportHelper_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 Exports only content. More...
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_ORptStylesExportHelper_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 Exports only styles. More...
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_ORptMetaExportHelper_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 Exports only meta data. More...
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_ODBFullExportHelper_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 Exports all. More...
 
static void lcl_adjustColumnSpanOverRows (ORptExport::TSectionsGrid &_rGrid)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_ORptExport_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
static void lcl_calculate (const ::std::vector< sal_Int32 > &_aPosX, const ::std::vector< sal_Int32 > &_aPosY, ORptExport::TGrid &_rColumns)
 
static void lcl_exportPrettyPrinting (const uno::Reference< xml::sax::XDocumentHandler > &_xDelegatee)
 
OUString lcl_createAttribute (const xmloff::token::XMLTokenEnum &_eNamespace, const xmloff::token::XMLTokenEnum &_eAttribute)
 
static void lcl_correctCellAddress (const OUString &_sName, const uno::Reference< xml::sax::XAttributeList > &xAttribs)
 
static ErrCode ReadThroughComponent (const uno::Reference< XInputStream > &xInputStream, const uno::Reference< XComponent > &xModelComponent, const uno::Reference< XComponentContext > &rContext, const uno::Reference< XFastParser > &rFastParser)
 read a component (file + filter version) More...
 
static ErrCode ReadThroughComponent (const uno::Reference< embed::XStorage > &xStorage, const uno::Reference< XComponent > &xModelComponent, const char *pStreamName, const uno::Reference< XComponentContext > &rxContext, const Reference< document::XGraphicStorageHandler > &rxGraphicStorageHandler, const Reference< document::XEmbeddedObjectResolver > &_xEmbeddedObjectResolver, const OUString &_sFilterName, const uno::Reference< beans::XPropertySet > &_xProp)
 read a component (storage version) More...
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_ORptImportHelper_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 Imports only settings. More...
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_XMLOasisContentImporter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 Imports only content. More...
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_ORptStylesImportHelper_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 Imports only styles. More...
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_ORptMetaImportHelper_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 Imports only meta data. More...
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_OReportFilter_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
static sal_Int16 lcl_getKeepTogetherOption (std::string_view _sValue)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * reportdesign_ImportDocumentHandler_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
static sal_Int16 lcl_getReportPrintOption (std::string_view _sValue)
 
static sal_Int16 lcl_getForceNewPageOption (std::string_view _sValue)
 

Typedef Documentation

◆ ExportDocumentHandler_BASE

typedef ::cppu::WeakImplHelper< css::xml::sax::XDocumentHandler , css::lang::XInitialization , css::lang::XServiceInfo> rptxml::ExportDocumentHandler_BASE

Definition at line 42 of file xmlExportDocumentHandler.hxx.

◆ ImportDocumentHandler_BASE

typedef ::cppu::WeakImplHelper< css::xml::sax::XDocumentHandler , css::lang::XInitialization , css::lang::XServiceInfo> rptxml::ImportDocumentHandler_BASE

Definition at line 42 of file xmlImportDocumentHandler.hxx.

Enumeration Type Documentation

◆ XMLReportToken

Enumerator
XML_TOK_REPORT_HEADER 
XML_TOK_PAGE_HEADER 
XML_TOK_GROUP 
XML_TOK_DETAIL 
XML_TOK_PAGE_FOOTER 
XML_TOK_REPORT_FOOTER 
XML_TOK_HEADER_ON_NEW_PAGE 
XML_TOK_FOOTER_ON_NEW_PAGE 
XML_TOK_COMMAND_TYPE 
XML_TOK_COMMAND 
XML_TOK_FILTER 
XML_TOK_CAPTION 
XML_TOK_ESCAPE_PROCESSING 
XML_TOK_REPORT_FUNCTION 
XML_TOK_REPORT_ELEMENT 
XML_TOK_REPORT_MIMETYPE 
XML_TOK_REPORT_NAME 
XML_TOK_MASTER_DETAIL_FIELDS 
XML_TOK_SUB_FRAME 
XML_TOK_SUB_BODY 

Definition at line 26 of file xmlEnums.hxx.

◆ XMLSubDocument

Enumerator
XML_TOK_MASTER_DETAIL_FIELD 
XML_TOK_MASTER 
XML_TOK_SUB_DETAIL 

Definition at line 50 of file xmlEnums.hxx.

Function Documentation

◆ lcl_adjustColumnSpanOverRows()

static void rptxml::lcl_adjustColumnSpanOverRows ( ORptExport::TSectionsGrid _rGrid)
static

Definition at line 152 of file xmlExport.cxx.

References i.

Referenced by rptxml::ORptExport::exportSectionAutoStyle().

◆ lcl_calculate()

static void rptxml::lcl_calculate ( const ::std::vector< sal_Int32 > &  _aPosX,
const ::std::vector< sal_Int32 > &  _aPosY,
ORptExport::TGrid _rColumns 
)
static

Definition at line 439 of file xmlExport.cxx.

References i.

Referenced by rptxml::ORptExport::exportSectionAutoStyle().

◆ lcl_correctCellAddress()

static void rptxml::lcl_correctCellAddress ( const OUString &  _sName,
const uno::Reference< xml::sax::XAttributeList > &  xAttribs 
)
static

◆ lcl_createAttribute()

OUString rptxml::lcl_createAttribute ( const xmloff::token::XMLTokenEnum _eNamespace,
const xmloff::token::XMLTokenEnum _eAttribute 
)

◆ lcl_exportPrettyPrinting()

static void rptxml::lcl_exportPrettyPrinting ( const uno::Reference< xml::sax::XDocumentHandler > &  _xDelegatee)
static

◆ lcl_getForceNewPageOption()

static sal_Int16 rptxml::lcl_getForceNewPageOption ( std::string_view  _sValue)
static

◆ lcl_getKeepTogetherOption()

static sal_Int16 rptxml::lcl_getKeepTogetherOption ( std::string_view  _sValue)
static

◆ lcl_getReportPrintOption()

static sal_Int16 rptxml::lcl_getReportPrintOption ( std::string_view  _sValue)
static

◆ ReadThroughComponent() [1/2]

static ErrCode rptxml::ReadThroughComponent ( const uno::Reference< embed::XStorage > &  xStorage,
const uno::Reference< XComponent > &  xModelComponent,
const char *  pStreamName,
const uno::Reference< XComponentContext > &  rxContext,
const Reference< document::XGraphicStorageHandler > &  rxGraphicStorageHandler,
const Reference< document::XEmbeddedObjectResolver > &  _xEmbeddedObjectResolver,
const OUString &  _sFilterName,
const uno::Reference< beans::XPropertySet > &  _xProp 
)
static

read a component (storage version)

Definition at line 168 of file xmlfilter.cxx.

References ERRCODE_NONE, ERRCODE_SFX_WRONGPASSWORD, and ReadThroughComponent().

Referenced by ReadThroughComponent().

◆ ReadThroughComponent() [2/2]

static ErrCode rptxml::ReadThroughComponent ( const uno::Reference< XInputStream > &  xInputStream,
const uno::Reference< XComponent > &  xModelComponent,
const uno::Reference< XComponentContext > &  rContext,
const uno::Reference< XFastParser > &  rFastParser 
)
static

read a component (file + filter version)

Definition at line 111 of file xmlfilter.cxx.

References ERRCODE_IO_BROKENPACKAGE, ERRCODE_NONE, Exception, SAL_WARN_IF, and TOOLS_WARN_EXCEPTION.

Referenced by rptxml::ORptFilter::implImport().

◆ reportdesign_ImportDocumentHandler_get_implementation()

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

Definition at line 87 of file xmlImportDocumentHandler.cxx.

◆ reportdesign_ODBFullExportHelper_get_implementation()

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

Exports all.

Definition at line 120 of file xmlExport.cxx.

◆ reportdesign_OReportFilter_get_implementation()

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

Definition at line 320 of file xmlfilter.cxx.

◆ reportdesign_ORptContentExportHelper_get_implementation()

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

Exports only content.

Definition at line 80 of file xmlExport.cxx.

◆ reportdesign_ORptExport_get_implementation()

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

Definition at line 276 of file xmlExport.cxx.

◆ reportdesign_ORptExportHelper_get_implementation()

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

Exports only settings.

Definition at line 67 of file xmlExport.cxx.

◆ reportdesign_ORptImportHelper_get_implementation()

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

Imports only settings.

Definition at line 246 of file xmlfilter.cxx.

References SERVICE_SETTINGSIMPORTER.

◆ reportdesign_ORptMetaExportHelper_get_implementation()

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

Exports only meta data.

Definition at line 107 of file xmlExport.cxx.

◆ reportdesign_ORptMetaImportHelper_get_implementation()

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

Imports only meta data.

Definition at line 286 of file xmlfilter.cxx.

References SERVICE_METAIMPORTER.

◆ reportdesign_ORptStylesExportHelper_get_implementation()

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

Exports only styles.

Definition at line 93 of file xmlExport.cxx.

◆ reportdesign_ORptStylesImportHelper_get_implementation()

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

Imports only styles.

Definition at line 272 of file xmlfilter.cxx.

References SERVICE_STYLESIMPORTER.

◆ reportdesign_XMLOasisContentImporter_get_implementation()

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

Imports only content.

Definition at line 259 of file xmlfilter.cxx.

References SERVICE_CONTENTIMPORTER.