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  XMLCell {
  XML_TOK_P,
  XML_TOK_FIXED_CONTENT,
  XML_TOK_FORMATTED_TEXT,
  XML_TOK_IMAGE,
  XML_TOK_SUB_DOCUMENT,
  XML_TOK_CUSTOM_SHAPE,
  XML_TOK_PAGE_NUMBER,
  XML_TOK_PAGE_COUNT,
  XML_TOK_TEXT_TAB_STOP,
  XML_TOK_TEXT_LINE_BREAK,
  XML_TOK_TEXT_S,
  XML_TOK_FRAME
}
 
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< XDocumentHandler > &_xFilter)
 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 (const OUString &_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 (const OUString &_sValue)
 
constexpr OUStringLiteral g_sTableStyleFamilyName (u""XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME)
 
constexpr OUStringLiteral g_sColumnStyleFamilyName (u""XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME)
 
constexpr OUStringLiteral g_sRowStyleFamilyName (u""XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME)
 
constexpr OUStringLiteral g_sCellStyleFamilyName (u""XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME)
 
static sal_Int16 lcl_getForceNewPageOption (const OUString &_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_P 
XML_TOK_FIXED_CONTENT 
XML_TOK_FORMATTED_TEXT 
XML_TOK_IMAGE 
XML_TOK_SUB_DOCUMENT 
XML_TOK_CUSTOM_SHAPE 
XML_TOK_PAGE_NUMBER 
XML_TOK_PAGE_COUNT 
XML_TOK_TEXT_TAB_STOP 
XML_TOK_TEXT_LINE_BREAK 
XML_TOK_TEXT_S 
XML_TOK_FRAME 

Definition at line 50 of file xmlEnums.hxx.

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 66 of file xmlEnums.hxx.

Function Documentation

constexpr OUStringLiteral rptxml::g_sCellStyleFamilyName ( u""  XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME)
constexpr OUStringLiteral rptxml::g_sColumnStyleFamilyName ( u""  XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME)
constexpr OUStringLiteral rptxml::g_sRowStyleFamilyName ( u""  XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME)
constexpr OUStringLiteral rptxml::g_sTableStyleFamilyName ( u""  XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME)
static void rptxml::lcl_adjustColumnSpanOverRows ( ORptExport::TSectionsGrid _rGrid)
static

Definition at line 153 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 440 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 ( const OUString &  _sValue)
static
static sal_Int16 rptxml::lcl_getKeepTogetherOption ( const OUString &  _sValue)
static
static sal_Int16 rptxml::lcl_getReportPrintOption ( const OUString &  _sValue)
static
static ErrCode rptxml::ReadThroughComponent ( const uno::Reference< XInputStream > &  xInputStream,
const uno::Reference< XComponent > &  xModelComponent,
const uno::Reference< XComponentContext > &  rContext,
const uno::Reference< XDocumentHandler > &  _xFilter 
)
static

read a component (file + filter version)

Definition at line 113 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 179 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 84 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 121 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 331 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 81 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 277 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 68 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 257 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 108 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 297 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 94 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 283 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 270 of file xmlfilter.cxx.

References SERVICE_CONTENTIMPORTER.