LibreOffice Module xmloff (master) 1
Variables
XMLIndexTemplateContext.cxx File Reference
#include "XMLIndexTemplateContext.hxx"
#include "XMLIndexSimpleEntryContext.hxx"
#include "XMLIndexSpanEntryContext.hxx"
#include "XMLIndexTabStopEntryContext.hxx"
#include "XMLIndexBibliographyEntryContext.hxx"
#include "XMLIndexChapterInfoEntryContext.hxx"
#include <xmloff/xmlictxt.hxx>
#include <xmloff/xmlimp.hxx>
#include <xmloff/txtimp.hxx>
#include <xmloff/namespacemap.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmlement.hxx>
#include <tools/debug.hxx>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <com/sun/star/container/XIndexReplace.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <algorithm>
Include dependency graph for XMLIndexTemplateContext.cxx:

Go to the source code of this file.

Variables

SvXMLEnumMapEntry< TemplateTokenType > const aTemplateTokenTypeMap []
 
const SvXMLEnumMapEntry< sal_uInt16 > aSvLevelNameTOCMap []
 
const char * aLevelStylePropNameTOCMap []
 
const bool aAllowedTokenTypesTOC []
 
const bool aAllowedTokenTypesUser []
 
const SvXMLEnumMapEntry< sal_uInt16 > aLevelNameAlphaMap []
 
const char * aLevelStylePropNameAlphaMap []
 
const bool aAllowedTokenTypesAlpha []
 
const SvXMLEnumMapEntry< sal_uInt16 > aLevelNameBibliographyMap []
 
const char * aLevelStylePropNameBibliographyMap []
 
const bool aAllowedTokenTypesBibliography []
 
const SvXMLEnumMapEntry< sal_uInt16 > * aLevelNameTableMap = nullptr
 
const char * aLevelStylePropNameTableMap []
 
const bool aAllowedTokenTypesTable []
 

Variable Documentation

◆ aAllowedTokenTypesAlpha

const bool aAllowedTokenTypesAlpha[]
Initial value:
=
{
true,
true,
true,
true,
true,
false,
false,
false
}

Definition at line 335 of file XMLIndexTemplateContext.cxx.

Referenced by XMLIndexAlphabeticalSourceContext::createFastChildContext().

◆ aAllowedTokenTypesBibliography

const bool aAllowedTokenTypesBibliography[]
Initial value:
=
{
true,
true,
true,
true,
false,
false,
false,
true
}

Definition at line 389 of file XMLIndexTemplateContext.cxx.

Referenced by XMLIndexBibliographySourceContext::createFastChildContext().

◆ aAllowedTokenTypesTable

const bool aAllowedTokenTypesTable[]

◆ aAllowedTokenTypesTOC

const bool aAllowedTokenTypesTOC[]
Initial value:
=
{
true,
true,
true,
true,
true,
true,
true,
false
}

Definition at line 295 of file XMLIndexTemplateContext.cxx.

Referenced by XMLIndexTOCSourceContext::createFastChildContext().

◆ aAllowedTokenTypesUser

const bool aAllowedTokenTypesUser[]
Initial value:
=
{
true,
true,
true,
true,
true,
true,
true,
false
}

Definition at line 307 of file XMLIndexTemplateContext.cxx.

Referenced by XMLIndexUserSourceContext::createFastChildContext().

◆ aLevelNameAlphaMap

const SvXMLEnumMapEntry<sal_uInt16> aLevelNameAlphaMap[]
Initial value:
=
{
{ XML_SEPARATOR, 1 },
{ XML_1, 2 },
{ XML_2, 3 },
{ XML_3, 4 },
}

Definition at line 322 of file XMLIndexTemplateContext.cxx.

Referenced by XMLIndexAlphabeticalSourceContext::createFastChildContext().

◆ aLevelNameBibliographyMap

const SvXMLEnumMapEntry<sal_uInt16> aLevelNameBibliographyMap[]
Initial value:
=
{
{ XML_ARTICLE, 1 },
{ XML_BOOK, 2 },
{ XML_BOOKLET, 3 },
{ XML_CUSTOM1, 5 },
{ XML_CUSTOM2, 6 },
{ XML_CUSTOM3, 7 },
{ XML_CUSTOM4, 8 },
{ XML_CUSTOM5, 9 },
{ XML_EMAIL, 10 },
{ XML_INBOOK, 11 },
{ XML_JOURNAL, 14 },
{ XML_MANUAL, 15 },
{ XML_MISC, 17 },
{ XML_PHDTHESIS, 18 },
{ XML_PROCEEDINGS, 19 },
{ XML_TECHREPORT, 20 },
{ XML_UNPUBLISHED, 21 },
{ XML_WWW, 22 },
}

Definition at line 350 of file XMLIndexTemplateContext.cxx.

Referenced by XMLIndexBibliographySourceContext::createFastChildContext().

◆ aLevelNameTableMap

const SvXMLEnumMapEntry<sal_uInt16>* aLevelNameTableMap = nullptr

◆ aLevelStylePropNameAlphaMap

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

Definition at line 331 of file XMLIndexTemplateContext.cxx.

Referenced by XMLIndexAlphabeticalSourceContext::createFastChildContext().

◆ aLevelStylePropNameBibliographyMap

const char* aLevelStylePropNameBibliographyMap[]
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 378 of file XMLIndexTemplateContext.cxx.

Referenced by XMLIndexBibliographySourceContext::createFastChildContext().

◆ aLevelStylePropNameTableMap

const char* aLevelStylePropNameTableMap[]

◆ aLevelStylePropNameTOCMap

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

Definition at line 289 of file XMLIndexTemplateContext.cxx.

Referenced by XMLIndexTOCSourceContext::createFastChildContext(), and XMLIndexUserSourceContext::createFastChildContext().

◆ aSvLevelNameTOCMap

const SvXMLEnumMapEntry<sal_uInt16> aSvLevelNameTOCMap[]
Initial value:
=
{
{ XML_1, 1 },
{ XML_2, 2 },
{ XML_3, 3 },
{ XML_4, 4 },
{ XML_5, 5 },
{ XML_6, 6 },
{ XML_7, 7 },
{ XML_8, 8 },
{ XML_9, 9 },
{ XML_10, 10 },
}

Definition at line 274 of file XMLIndexTemplateContext.cxx.

Referenced by XMLIndexTOCSourceContext::createFastChildContext(), and XMLIndexUserSourceContext::createFastChildContext().

◆ aTemplateTokenTypeMap

SvXMLEnumMapEntry<TemplateTokenType> const aTemplateTokenTypeMap[]
Initial value:
=
{
{ XML_INDEX_ENTRY_TEXT, XML_TOK_INDEX_TYPE_ENTRY_TEXT },
{ XML_INDEX_ENTRY_TAB_STOP, XML_TOK_INDEX_TYPE_TAB_STOP },
{ XML_INDEX_ENTRY_SPAN, XML_TOK_INDEX_TYPE_TEXT },
{ XML_INDEX_ENTRY_PAGE_NUMBER, XML_TOK_INDEX_TYPE_PAGE_NUMBER },
{ XML_INDEX_ENTRY_CHAPTER, XML_TOK_INDEX_TYPE_CHAPTER },
{ XML_INDEX_ENTRY_LINK_START, XML_TOK_INDEX_TYPE_LINK_START },
{ XML_INDEX_ENTRY_LINK_END, XML_TOK_INDEX_TYPE_LINK_END },
{ XML_INDEX_ENTRY_BIBLIOGRAPHY, XML_TOK_INDEX_TYPE_BIBLIOGRAPHY },
{ XML_TOKEN_INVALID, TemplateTokenType(0) }
}
@ XML_INDEX_ENTRY_TAB_STOP
Definition: xmltoken.hxx:1092
@ XML_INDEX_ENTRY_BIBLIOGRAPHY
Definition: xmltoken.hxx:1085
@ XML_INDEX_ENTRY_LINK_START
Definition: xmltoken.hxx:1089
@ XML_INDEX_ENTRY_PAGE_NUMBER
Definition: xmltoken.hxx:1090
@ XML_INDEX_ENTRY_CHAPTER
Definition: xmltoken.hxx:1086
@ XML_INDEX_ENTRY_LINK_END
Definition: xmltoken.hxx:1088

Definition at line 186 of file XMLIndexTemplateContext.cxx.

Referenced by XMLIndexTemplateContext::createFastChildContext().