LibreOffice Module xmloff (master) 1
Variables
XMLSectionExport.cxx File Reference
#include "XMLSectionExport.hxx"
#include <o3tl/any.hxx>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/container/XIndexReplace.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/PropertyValues.hpp>
#include <com/sun/star/text/XTextSection.hpp>
#include <com/sun/star/text/SectionFileLink.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/text/XDocumentIndex.hpp>
#include <com/sun/star/text/BibliographyDataField.hpp>
#include <com/sun/star/text/XTextFieldsSupplier.hpp>
#include <com/sun/star/text/XChapterNumberingSupplier.hpp>
#include <com/sun/star/text/ChapterFormat.hpp>
#include <comphelper/base64.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/families.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/namespacemap.hxx>
#include <xmloff/xmlexp.hxx>
#include <xmloff/xmlement.hxx>
#include <txtflde.hxx>
Include dependency graph for XMLSectionExport.cxx:

Go to the source code of this file.

Variables

SvXMLEnumStringMapEntry< SectionTypeEnum > const aIndexTypeMap []
 
const XMLTokenEnum aTypeSourceElementNameMap []
 
const XMLTokenEnum aLevelNameTOCMap []
 
const XMLTokenEnum aLevelNameTableMap []
 
const XMLTokenEnum aLevelNameAlphaMap []
 
const XMLTokenEnum aLevelNameBibliographyMap []
 
static const XMLTokenEnum * aTypeLevelNameMap []
 
static const char * aLevelStylePropNameTOCMap []
 
static const char * aLevelStylePropNameTableMap []
 
static const char * aLevelStylePropNameAlphaMap []
 
static const char * aLevelStylePropNameBibliographyMap []
 
static const char ** aTypeLevelStylePropNameMap []
 
const XMLTokenEnum aTypeLevelAttrMap []
 
const XMLTokenEnum aTypeElementNameMap []
 
SvXMLEnumStringMapEntry< TemplateTypeEnum > const aTemplateTypeMap []
 
SvXMLEnumStringMapEntry< TemplateParamEnum > const aTemplateParamMap []
 
SvXMLEnumMapEntry< sal_Int16 > const aBibliographyDataFieldMap []
 

Variable Documentation

◆ aBibliographyDataFieldMap

SvXMLEnumMapEntry<sal_Int16> const aBibliographyDataFieldMap[]

◆ aIndexTypeMap

SvXMLEnumStringMapEntry<SectionTypeEnum> const aIndexTypeMap[]
Initial value:
=
{
ENUM_STRING_MAP_ENTRY( "com.sun.star.text.ContentIndex", TEXT_SECTION_TYPE_TOC ),
ENUM_STRING_MAP_ENTRY( "com.sun.star.text.DocumentIndex", TEXT_SECTION_TYPE_ALPHABETICAL ),
ENUM_STRING_MAP_ENTRY( "com.sun.star.text.TableIndex", TEXT_SECTION_TYPE_TABLE ),
ENUM_STRING_MAP_ENTRY( "com.sun.star.text.ObjectIndex", TEXT_SECTION_TYPE_OBJECT ),
ENUM_STRING_MAP_ENTRY( "com.sun.star.text.Bibliography", TEXT_SECTION_TYPE_BIBLIOGRAPHY ),
ENUM_STRING_MAP_ENTRY( "com.sun.star.text.UserIndex", TEXT_SECTION_TYPE_USER ),
ENUM_STRING_MAP_ENTRY( "com.sun.star.text.IllustrationsIndex", TEXT_SECTION_TYPE_ILLUSTRATION ),
{ nullptr, 0, SectionTypeEnum(0) }
}
SectionTypeEnum
@ TEXT_SECTION_TYPE_ALPHABETICAL
@ TEXT_SECTION_TYPE_BIBLIOGRAPHY
@ TEXT_SECTION_TYPE_OBJECT
@ TEXT_SECTION_TYPE_ILLUSTRATION
@ TEXT_SECTION_TYPE_TABLE
@ TEXT_SECTION_TYPE_USER
@ TEXT_SECTION_TYPE_TOC
#define ENUM_STRING_MAP_ENTRY(name, tok)
Definition: xmlement.hxx:62

Definition at line 318 of file XMLSectionExport.cxx.

Referenced by XMLSectionExport::MapSectionType().

◆ aLevelNameAlphaMap

const XMLTokenEnum aLevelNameAlphaMap[]

◆ aLevelNameBibliographyMap

const XMLTokenEnum aLevelNameBibliographyMap[]
Initial value:
=

Definition at line 907 of file XMLSectionExport.cxx.

◆ aLevelNameTableMap

const XMLTokenEnum aLevelNameTableMap[]
Initial value:

Definition at line 903 of file XMLSectionExport.cxx.

◆ aLevelNameTOCMap

const XMLTokenEnum aLevelNameTOCMap[]

◆ aLevelStylePropNameAlphaMap

const char* aLevelStylePropNameAlphaMap[]
static
Initial value:
=
{ nullptr, "ParaStyleSeparator", "ParaStyleLevel1", "ParaStyleLevel2",
"ParaStyleLevel3", nullptr }

Definition at line 934 of file XMLSectionExport.cxx.

◆ aLevelStylePropNameBibliographyMap

const char* aLevelStylePropNameBibliographyMap[]
static
Initial value:
=
{ nullptr, "ParaStyleLevel1", "ParaStyleLevel1", "ParaStyleLevel1",
"ParaStyleLevel1", "ParaStyleLevel1", "ParaStyleLevel1",
"ParaStyleLevel1", "ParaStyleLevel1", "ParaStyleLevel1",
"ParaStyleLevel1", "ParaStyleLevel1", "ParaStyleLevel1",
"ParaStyleLevel1", "ParaStyleLevel1", "ParaStyleLevel1",
"ParaStyleLevel1", "ParaStyleLevel1", "ParaStyleLevel1",
"ParaStyleLevel1", "ParaStyleLevel1", "ParaStyleLevel1",
"ParaStyleLevel1",
nullptr }

Definition at line 937 of file XMLSectionExport.cxx.

◆ aLevelStylePropNameTableMap

const char* aLevelStylePropNameTableMap[]
static
Initial value:
=
{ nullptr, "ParaStyleLevel1", nullptr }

Definition at line 932 of file XMLSectionExport.cxx.

◆ aLevelStylePropNameTOCMap

const char* aLevelStylePropNameTOCMap[]
static
Initial value:
=
{ nullptr, "ParaStyleLevel1", "ParaStyleLevel2", "ParaStyleLevel3",
"ParaStyleLevel4", "ParaStyleLevel5", "ParaStyleLevel6",
"ParaStyleLevel7", "ParaStyleLevel8", "ParaStyleLevel9",
"ParaStyleLevel10", nullptr }

Definition at line 927 of file XMLSectionExport.cxx.

◆ aTemplateParamMap

SvXMLEnumStringMapEntry<TemplateParamEnum> const aTemplateParamMap[]
Initial value:
=
{
ENUM_STRING_MAP_ENTRY( "TokenType", TOK_TPARAM_TOKEN_TYPE ),
ENUM_STRING_MAP_ENTRY( "CharacterStyleName", TOK_TPARAM_CHAR_STYLE ),
ENUM_STRING_MAP_ENTRY( "TabStopRightAligned", TOK_TPARAM_TAB_RIGHT_ALIGNED ),
ENUM_STRING_MAP_ENTRY( "TabStopPosition", TOK_TPARAM_TAB_POSITION ),
ENUM_STRING_MAP_ENTRY( "TabStopFillCharacter", TOK_TPARAM_TAB_FILL_CHAR ),
ENUM_STRING_MAP_ENTRY( "WithTab", TOK_TPARAM_TAB_WITH_TAB ),
ENUM_STRING_MAP_ENTRY( "Text", TOK_TPARAM_TEXT ),
ENUM_STRING_MAP_ENTRY( "ChapterFormat", TOK_TPARAM_CHAPTER_FORMAT ),
ENUM_STRING_MAP_ENTRY( "ChapterLevel", TOK_TPARAM_CHAPTER_LEVEL ),
ENUM_STRING_MAP_ENTRY( "BibliographyDataField", TOK_TPARAM_BIBLIOGRAPHY_DATA ),
{ nullptr, 0, TemplateParamEnum(0)}
}

Definition at line 1104 of file XMLSectionExport.cxx.

Referenced by XMLSectionExport::ExportIndexTemplateElement().

◆ aTemplateTypeMap

SvXMLEnumStringMapEntry<TemplateTypeEnum> const aTemplateTypeMap[]
Initial value:
=
{
ENUM_STRING_MAP_ENTRY( "TokenEntryNumber", TOK_TTYPE_ENTRY_NUMBER ),
ENUM_STRING_MAP_ENTRY( "TokenEntryText", TOK_TTYPE_ENTRY_TEXT ),
ENUM_STRING_MAP_ENTRY( "TokenTabStop", TOK_TTYPE_TAB_STOP ),
ENUM_STRING_MAP_ENTRY( "TokenText", TOK_TTYPE_TEXT ),
ENUM_STRING_MAP_ENTRY( "TokenPageNumber", TOK_TTYPE_PAGE_NUMBER ),
ENUM_STRING_MAP_ENTRY( "TokenChapterInfo", TOK_TTYPE_CHAPTER_INFO ),
ENUM_STRING_MAP_ENTRY( "TokenHyperlinkStart", TOK_TTYPE_HYPERLINK_START ),
ENUM_STRING_MAP_ENTRY( "TokenHyperlinkEnd", TOK_TTYPE_HYPERLINK_END ),
ENUM_STRING_MAP_ENTRY( "TokenBibliographyDataField", TOK_TTYPE_BIBLIOGRAPHY ),
{ nullptr, 0, TemplateTypeEnum(0)}
}

Definition at line 1090 of file XMLSectionExport.cxx.

Referenced by XMLSectionExport::ExportIndexTemplateElement().

◆ aTypeElementNameMap

const XMLTokenEnum aTypeElementNameMap[]

◆ aTypeLevelAttrMap

const XMLTokenEnum aTypeLevelAttrMap[]

◆ aTypeLevelNameMap

const XMLTokenEnum* aTypeLevelNameMap[]
static
Initial value:
=
{
}
const XMLTokenEnum aLevelNameAlphaMap[]
const XMLTokenEnum aLevelNameBibliographyMap[]
const XMLTokenEnum aLevelNameTableMap[]
const XMLTokenEnum aLevelNameTOCMap[]

Definition at line 916 of file XMLSectionExport.cxx.

Referenced by XMLSectionExport::ExportIndexTemplate().

◆ aTypeLevelStylePropNameMap

const char** aTypeLevelStylePropNameMap[]
static
Initial value:
=
{
}
static const char * aLevelStylePropNameTOCMap[]
static const char * aLevelStylePropNameTableMap[]
static const char * aLevelStylePropNameBibliographyMap[]
static const char * aLevelStylePropNameAlphaMap[]

Definition at line 949 of file XMLSectionExport.cxx.

Referenced by XMLSectionExport::ExportIndexTemplate().

◆ aTypeSourceElementNameMap

const XMLTokenEnum aTypeSourceElementNameMap[]