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::WeakAggImplHelper3< css::xml::sax::XDocumentHandler, css::lang::XInitialization, css::lang::XServiceInfo > ExportDocumentHandler_BASE
 
typedef ::cppu::WeakAggImplHelper3< 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

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

Definition at line 41 of file xmlExportDocumentHandler.hxx.

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

Definition at line 39 of file xmlImportDocumentHandler.hxx.

Enumeration Type Documentation

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.

Enumerator
XML_TOK_MASTER_DETAIL_FIELD 
XML_TOK_MASTER 
XML_TOK_SUB_DETAIL 

Definition at line 50 of file xmlEnums.hxx.

Function Documentation

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

Definition at line 151 of file xmlExport.cxx.

References i.

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

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

Definition at line 438 of file xmlExport.cxx.

References i.

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

static void rptxml::lcl_correctCellAddress ( const OUString &  _sName,
const uno::Reference< xml::sax::XAttributeList > &  xAttribs 
)
static
OUString rptxml::lcl_createAttribute ( const xmloff::token::XMLTokenEnum _eNamespace,
const xmloff::token::XMLTokenEnum _eAttribute 
)
static void rptxml::lcl_exportPrettyPrinting ( const uno::Reference< xml::sax::XDocumentHandler > &  _xDelegatee)
static
static sal_Int16 rptxml::lcl_getForceNewPageOption ( std::string_view  _sValue)
static
static sal_Int16 rptxml::lcl_getKeepTogetherOption ( std::string_view  _sValue)
static
static sal_Int16 rptxml::lcl_getReportPrintOption ( std::string_view  _sValue)
static
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(), and ReadThroughComponent().

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().

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 86 of file xmlImportDocumentHandler.cxx.

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 119 of file xmlExport.cxx.

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 322 of file xmlfilter.cxx.

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 79 of file xmlExport.cxx.

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 275 of file xmlExport.cxx.

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 66 of file xmlExport.cxx.

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 248 of file xmlfilter.cxx.

References SERVICE_SETTINGSIMPORTER.

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 106 of file xmlExport.cxx.

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 288 of file xmlfilter.cxx.

References SERVICE_METAIMPORTER.

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 92 of file xmlExport.cxx.

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 274 of file xmlfilter.cxx.

References SERVICE_STYLESIMPORTER.

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 261 of file xmlfilter.cxx.

References SERVICE_CONTENTIMPORTER.