LibreOffice Module xmloff (master)
1
|
This class handles the export of sections and indices (which are, internally, just sections). More...
#include <XMLSectionExport.hxx>
Public Member Functions | |
XMLSectionExport (SvXMLExport &rExp, XMLTextParagraphExport &rParaExp) | |
void | ExportSectionStart (const css::uno::Reference< css::text::XTextSection > &rSection, bool bAutoStyles) |
export section or index start and source elements. More... | |
void | ExportSectionEnd (const css::uno::Reference< css::text::XTextSection > &rSection, bool bAutoStyles) |
export section or index end elements More... | |
bool | IsMuteSection (const css::uno::Reference< css::text::XTextSection > &rSection) const |
Should the content of this section be exported? (E.g. More... | |
bool | IsMuteSection (const css::uno::Reference< css::text::XTextContent > &rSection, bool bDefault) const |
XTextContent-version of IsMuteSection(Reference<XTextSection>&) returns true for all non-section elements. More... | |
void | ExportMasterDocHeadingDummies () |
export a heading for every level. More... | |
Static Public Member Functions | |
static bool | IsInSection (const css::uno::Reference< css::text::XTextSection > &rEnclosingSection, const css::uno::Reference< css::text::XTextContent > &rContent, bool bDefault) |
Determine whether rContent is contained in rEnclosingSection. More... | |
static void | ExportBibliographyConfiguration (SvXMLExport &rExport) |
Export the configuration element for bibliography indices. More... | |
Private Member Functions | |
SvXMLExport & | GetExport () |
XMLTextParagraphExport & | GetParaExport () |
void | ExportIndexStart (const css::uno::Reference< css::text::XDocumentIndex > &rSection) |
export an index start element. More... | |
void | ExportIndexHeaderStart (const css::uno::Reference< css::text::XTextSection > &rSection) |
export an index header start element. More... | |
void | ExportRegularSectionStart (const css::uno::Reference< css::text::XTextSection > &rSection) |
export a proper section (and source elements) More... | |
void | ExportTableOfContentStart (const css::uno::Reference< css::beans::XPropertySet > &rSection) |
export a table of content (and source element) More... | |
void | ExportTableIndexStart (const css::uno::Reference< css::beans::XPropertySet > &rSection) |
export a table index (and source element) More... | |
void | ExportObjectIndexStart (const css::uno::Reference< css::beans::XPropertySet > &rSection) |
export an object index (and source element) More... | |
void | ExportIllustrationIndexStart (const css::uno::Reference< css::beans::XPropertySet > &rSection) |
export an illustration index (and source element) More... | |
void | ExportAlphabeticalIndexStart (const css::uno::Reference< css::beans::XPropertySet > &rSection) |
export an alphabetical/keyword index (and source element) More... | |
void | ExportUserIndexStart (const css::uno::Reference< css::beans::XPropertySet > &rSection) |
export a user index (and source element) More... | |
void | ExportBibliographyStart (const css::uno::Reference< css::beans::XPropertySet > &rIndex) |
export the bibliography (and source element) More... | |
void | ExportBaseIndexStart (::xmloff::token::XMLTokenEnum eElement, const css::uno::Reference< css::beans::XPropertySet > &rSection) |
Export the index element start (for all index types). More... | |
void | ExportBaseIndexSource (SectionTypeEnum eType, const css::uno::Reference< css::beans::XPropertySet > &rSection) |
Export the index source element (common for all index types). More... | |
void | ExportBaseIndexBody (SectionTypeEnum eType, const css::uno::Reference< css::beans::XPropertySet > &rSection) |
Export the index body (common for all index types). More... | |
void | ExportTableAndIllustrationIndexSourceAttributes (const css::uno::Reference< css::beans::XPropertySet > &rSection) |
Helper method to export common attributes for table and illustration indices. More... | |
bool | ExportIndexTemplate (SectionTypeEnum eType, sal_Int32 nLevel, const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &rValues) |
export one template for the specific index type More... | |
void | ExportIndexTemplateElement (SectionTypeEnum eType, const css::uno::Sequence< css::beans::PropertyValue > &rValues) |
export a single template element (e.g. span or tab-stop) More... | |
void | ExportLevelParagraphStyles (css::uno::Reference< css::container::XIndexReplace > const &xStyles) |
export level paragraph styles More... | |
void | ExportBoolean (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const OUString &sPropertyName, enum::xmloff::token::XMLTokenEnum eAttributeName, bool bDefault, bool bInvert=false) |
helper to export boolean properties More... | |
Static Private Member Functions | |
static bool | GetIndex (const css::uno::Reference< css::text::XTextSection > &rSection, css::uno::Reference< css::text::XDocumentIndex > &rIndex) |
If this section is an index, the index is written in the rIndex parameter. More... | |
static enum SectionTypeEnum | MapSectionType (std::u16string_view rSectionName) |
map service name to section type More... | |
Private Attributes | |
SvXMLExport & | rExport |
XMLTextParagraphExport & | rParaExport |
bool | bHeadingDummiesExported |
This class handles the export of sections and indices (which are, internally, just sections).
It is intended to be used only from within the XMLTextParagraphExport class.
Definition at line 67 of file XMLSectionExport.hxx.
XMLSectionExport::XMLSectionExport | ( | SvXMLExport & | rExp, |
XMLTextParagraphExport & | rParaExp | ||
) |
Definition at line 68 of file XMLSectionExport.cxx.
|
private |
export an alphabetical/keyword index (and source element)
Definition at line 591 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::AddLanguageTagAttributes(), Any, ExportBaseIndexBody(), ExportBaseIndexSource(), ExportBaseIndexStart(), ExportBoolean(), GetExport(), Locale, TEXT_SECTION_TYPE_ALPHABETICAL, xmloff::token::XML_ALPHABETICAL_INDEX, xmloff::token::XML_ALPHABETICAL_SEPARATORS, xmloff::token::XML_CAPITALIZE_ENTRIES, xmloff::token::XML_COMBINE_ENTRIES, xmloff::token::XML_COMBINE_ENTRIES_WITH_DASH, xmloff::token::XML_COMBINE_ENTRIES_WITH_PP, xmloff::token::XML_COMMA_SEPARATED, xmloff::token::XML_IGNORE_CASE, xmloff::token::XML_MAIN_ENTRY_STYLE_NAME, XML_NAMESPACE_FO, XML_NAMESPACE_STYLE, XML_NAMESPACE_TEXT, xmloff::token::XML_SORT_ALGORITHM, and xmloff::token::XML_USE_KEYS_AS_ENTRIES.
Referenced by ExportIndexStart().
|
private |
Export the index body (common for all index types).
rSection | index type |
Definition at line 836 of file XMLSectionExport.cxx.
References SvXMLExport::CheckAttrList(), GetExport(), SvXMLExport::IgnorableWhitespace(), SvXMLExport::StartElement(), TEXT_SECTION_TYPE_BIBLIOGRAPHY, TEXT_SECTION_TYPE_TOC, xmloff::token::XML_INDEX_BODY, and XML_NAMESPACE_TEXT.
Referenced by ExportAlphabeticalIndexStart(), ExportBibliographyStart(), ExportIllustrationIndexStart(), ExportObjectIndexStart(), ExportTableIndexStart(), ExportTableOfContentStart(), and ExportUserIndexStart().
|
private |
Export the index source element (common for all index types).
All additional attributes for the source element should have been set at the GetExport() before calling this method.
rSection | index type |
Definition at line 739 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), Any, aTypeSourceElementNameMap, SvXMLExport::Characters(), ExportIndexTemplate(), ExportLevelParagraphStyles(), GetExport(), xmloff::token::GetXMLToken(), i, TEXT_SECTION_TYPE_BIBLIOGRAPHY, TEXT_SECTION_TYPE_TOC, TEXT_SECTION_TYPE_USER, xmloff::token::XML_CHAPTER, xmloff::token::XML_FALSE, xmloff::token::XML_INDEX_SCOPE, xmloff::token::XML_INDEX_TITLE_TEMPLATE, XML_NAMESPACE_TEXT, xmloff::token::XML_RELATIVE_TAB_STOP_POSITION, and xmloff::token::XML_STYLE_NAME.
Referenced by ExportAlphabeticalIndexStart(), ExportBibliographyStart(), ExportIllustrationIndexStart(), ExportObjectIndexStart(), ExportTableIndexStart(), ExportTableOfContentStart(), and ExportUserIndexStart().
|
private |
Export the index element start (for all index types).
All additional attributes (usually none) for the index element should have been set at GetExport() before calling this method.
Definition at line 704 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), Any, GetExport(), SvXMLExport::IgnorableWhitespace(), SvXMLExport::StartElement(), xmloff::token::XML_NAME, XML_NAMESPACE_TEXT, xmloff::token::XML_PROTECTED, and xmloff::token::XML_TRUE.
Referenced by ExportAlphabeticalIndexStart(), ExportBibliographyStart(), ExportIllustrationIndexStart(), ExportObjectIndexStart(), ExportTableIndexStart(), ExportTableOfContentStart(), and ExportUserIndexStart().
|
static |
Export the configuration element for bibliography indices.
(This is part of XMLSectionExport because all section- and index-related items are handled here.)
Definition at line 1568 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::AddLanguageTagAttributes(), Any, SvXMLUnitConverter::convertEnum(), SvXMLExport::GetModel(), Locale, XMLImageStyle::rValue, xmloff::token::XML_BIBLIOGRAPHY_CONFIGURATION, xmloff::token::XML_FALSE, xmloff::token::XML_KEY, XML_NAMESPACE_FO, XML_NAMESPACE_STYLE, XML_NAMESPACE_TEXT, xmloff::token::XML_NUMBERED_ENTRIES, xmloff::token::XML_PREFIX, xmloff::token::XML_SORT_ALGORITHM, xmloff::token::XML_SORT_ASCENDING, xmloff::token::XML_SORT_BY_POSITION, xmloff::token::XML_SORT_KEY, xmloff::token::XML_SUFFIX, and xmloff::token::XML_TRUE.
Referenced by XMLTextParagraphExport::exportTextStyles().
|
private |
export the bibliography (and source element)
Definition at line 687 of file XMLSectionExport.cxx.
References ExportBaseIndexBody(), ExportBaseIndexSource(), ExportBaseIndexStart(), TEXT_SECTION_TYPE_BIBLIOGRAPHY, and xmloff::token::XML_BIBLIOGRAPHY.
Referenced by ExportIndexStart().
|
private |
helper to export boolean properties
Definition at line 1545 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), Any, GetExport(), xmloff::token::XML_FALSE, XML_NAMESPACE_TEXT, xmloff::token::XML_TOKEN_INVALID, and xmloff::token::XML_TRUE.
Referenced by ExportAlphabeticalIndexStart(), ExportObjectIndexStart(), ExportTableOfContentStart(), and ExportUserIndexStart().
|
private |
export an illustration index (and source element)
Definition at line 557 of file XMLSectionExport.cxx.
References ExportBaseIndexBody(), ExportBaseIndexSource(), ExportBaseIndexStart(), ExportTableAndIllustrationIndexSourceAttributes(), TEXT_SECTION_TYPE_ILLUSTRATION, and xmloff::token::XML_ILLUSTRATION_INDEX.
Referenced by ExportIndexStart().
|
private |
export an index header start element.
Definition at line 306 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), GetExport(), SvXMLExport::IgnorableWhitespace(), SvXMLExport::StartElement(), xmloff::token::XML_INDEX_TITLE, xmloff::token::XML_NAME, and XML_NAMESPACE_TEXT.
Referenced by ExportSectionStart().
|
private |
export an index start element.
Definition at line 263 of file XMLSectionExport.cxx.
References ExportAlphabeticalIndexStart(), ExportBibliographyStart(), ExportIllustrationIndexStart(), ExportObjectIndexStart(), ExportTableIndexStart(), ExportTableOfContentStart(), ExportUserIndexStart(), MapSectionType(), TEXT_SECTION_TYPE_ALPHABETICAL, TEXT_SECTION_TYPE_BIBLIOGRAPHY, TEXT_SECTION_TYPE_ILLUSTRATION, TEXT_SECTION_TYPE_OBJECT, TEXT_SECTION_TYPE_TABLE, TEXT_SECTION_TYPE_TOC, and TEXT_SECTION_TYPE_USER.
Referenced by ExportSectionStart().
|
private |
export one template for the specific index type
nLevel | index type |
rPropSet | outline level (if applicable) |
Definition at line 968 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), Any, aTypeElementNameMap, aTypeLevelAttrMap, aTypeLevelNameMap, aTypeLevelStylePropNameMap, ExportIndexTemplateElement(), GetExport(), xmloff::token::GetXMLToken(), pPropName, XMLImageStyle::rValue, TEXT_SECTION_TYPE_BIBLIOGRAPHY, TEXT_SECTION_TYPE_TOC, XML_NAMESPACE_TEXT, xmloff::token::XML_STYLE_NAME, and xmloff::token::XML_TOKEN_INVALID.
Referenced by ExportBaseIndexSource().
|
private |
export a single template element (e.g. span or tab-stop)
Definition at line 1141 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), assert(), SvXMLExport::Characters(), SvXMLUnitConverter::convertEnum(), SvXMLUnitConverter::convertMeasureToXML(), GetExport(), SvXMLExport::GetMM100UnitConverter(), SvXMLExport::getSaneDefaultVersion(), xmloff::token::GetXMLToken(), XMLTextFieldExport::MapChapterDisplayFormat(), nNamespace, nToken, SvtSaveOptions::ODFSVER_010, SvtSaveOptions::ODFSVER_011, SvtSaveOptions::ODFSVER_012, SvtSaveOptions::ODFSVER_013, rExport, XMLImageStyle::rValue, TEXT_SECTION_TYPE_ALPHABETICAL, TEXT_SECTION_TYPE_ILLUSTRATION, TEXT_SECTION_TYPE_OBJECT, TEXT_SECTION_TYPE_TABLE, TEXT_SECTION_TYPE_TOC, TEXT_SECTION_TYPE_USER, xmloff::token::XML_BIBLIOGRAPHY_DATA_FIELD, xmloff::token::XML_DISPLAY, xmloff::token::XML_FALSE, xmloff::token::XML_INDEX_ENTRY_BIBLIOGRAPHY, xmloff::token::XML_INDEX_ENTRY_CHAPTER, xmloff::token::XML_INDEX_ENTRY_LINK_END, xmloff::token::XML_INDEX_ENTRY_LINK_START, xmloff::token::XML_INDEX_ENTRY_PAGE_NUMBER, xmloff::token::XML_INDEX_ENTRY_SPAN, xmloff::token::XML_INDEX_ENTRY_TAB_STOP, xmloff::token::XML_INDEX_ENTRY_TEXT, xmloff::token::XML_LEADER_CHAR, xmloff::token::XML_LEFT, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_STYLE, XML_NAMESPACE_TEXT, xmloff::token::XML_OUTLINE_LEVEL, xmloff::token::XML_POSITION, xmloff::token::XML_RIGHT, xmloff::token::XML_STYLE_NAME, xmloff::token::XML_TOKEN_INVALID, xmloff::token::XML_TYPE, and xmloff::token::XML_WITH_TAB.
Referenced by ExportIndexTemplate().
|
private |
export level paragraph styles
Definition at line 1501 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), Any, GetExport(), xmloff::token::XML_INDEX_SOURCE_STYLE, xmloff::token::XML_INDEX_SOURCE_STYLES, XML_NAMESPACE_TEXT, xmloff::token::XML_OUTLINE_LEVEL, and xmloff::token::XML_STYLE_NAME.
Referenced by ExportBaseIndexSource().
void XMLSectionExport::ExportMasterDocHeadingDummies | ( | ) |
export a heading for every level.
This is used by master documents to not lose the heading information if master documents are exported without section contents
Definition at line 1780 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), aProperties, bHeadingDummiesExported, GetExport(), SvXMLExport::GetModel(), nCount, rExport, xmloff::token::XML_H, xmloff::token::XML_LEVEL, XML_NAMESPACE_TEXT, and xmloff::token::XML_STYLE_NAME.
|
private |
export an object index (and source element)
Definition at line 532 of file XMLSectionExport.cxx.
References ExportBaseIndexBody(), ExportBaseIndexSource(), ExportBaseIndexStart(), ExportBoolean(), TEXT_SECTION_TYPE_OBJECT, xmloff::token::XML_OBJECT_INDEX, xmloff::token::XML_USE_CHART_OBJECTS, xmloff::token::XML_USE_DRAW_OBJECTS, xmloff::token::XML_USE_MATH_OBJECTS, xmloff::token::XML_USE_OTHER_OBJECTS, and xmloff::token::XML_USE_SPREADSHEET_OBJECTS.
Referenced by ExportIndexStart().
|
private |
export a proper section (and source elements)
Definition at line 343 of file XMLSectionExport.cxx.
References aBuffer, SvXMLExport::AddAttribute(), Any, comphelper::Base64::encode(), GetExport(), SvXMLExport::GetNamespaceMap(), SvXMLNamespaceMap::GetQNameByKey(), SvXMLExport::getSaneDefaultVersion(), SvXMLExport::IgnorableWhitespace(), SvtSaveOptions::ODFSVER_012, SvXMLExport::StartElement(), xmloff::token::XML_AUTOMATIC_UPDATE, xmloff::token::XML_CONDITION, xmloff::token::XML_DDE_APPLICATION, xmloff::token::XML_DDE_ITEM, xmloff::token::XML_DDE_SOURCE, xmloff::token::XML_DDE_TOPIC, xmloff::token::XML_DISPLAY, xmloff::token::XML_FILTER_NAME, xmloff::token::XML_HREF, xmloff::token::XML_IS_HIDDEN, xmloff::token::XML_NAME, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OOOW, XML_NAMESPACE_TEXT, XML_NAMESPACE_XLINK, xmloff::token::XML_NONE, xmloff::token::XML_PROTECTED, xmloff::token::XML_PROTECTION_KEY, xmloff::token::XML_PROTECTION_KEY_DIGEST_ALGORITHM, xmloff::token::XML_SECTION, xmloff::token::XML_SECTION_NAME, xmloff::token::XML_SECTION_SOURCE, xmloff::token::XML_TOKEN_INVALID, and xmloff::token::XML_TRUE.
Referenced by ExportSectionStart().
void XMLSectionExport::ExportSectionEnd | ( | const css::uno::Reference< css::text::XTextSection > & | rSection, |
bool | bAutoStyles | ||
) |
export section or index end elements
Definition at line 180 of file XMLSectionExport.cxx.
References SvXMLExport::CheckAttrList(), SvXMLExport::EndElement(), GetExport(), GetIndex(), SvXMLExport::IgnorableWhitespace(), MapSectionType(), TEXT_SECTION_TYPE_ALPHABETICAL, TEXT_SECTION_TYPE_BIBLIOGRAPHY, TEXT_SECTION_TYPE_ILLUSTRATION, TEXT_SECTION_TYPE_OBJECT, TEXT_SECTION_TYPE_TABLE, TEXT_SECTION_TYPE_TOC, TEXT_SECTION_TYPE_USER, xmloff::token::XML_ALPHABETICAL_INDEX, xmloff::token::XML_BIBLIOGRAPHY, xmloff::token::XML_ILLUSTRATION_INDEX, xmloff::token::XML_INDEX_BODY, xmloff::token::XML_INDEX_TITLE, XML_NAMESPACE_TEXT, xmloff::token::XML_OBJECT_INDEX, xmloff::token::XML_SECTION, xmloff::token::XML_TABLE_INDEX, xmloff::token::XML_TABLE_OF_CONTENT, xmloff::token::XML_TOKEN_INVALID, and xmloff::token::XML_USER_INDEX.
void XMLSectionExport::ExportSectionStart | ( | const css::uno::Reference< css::text::XTextSection > & | rSection, |
bool | bAutoStyles | ||
) |
export section or index start and source elements.
This method handles the section styles, and delegates to the appropriate section or index method.
Definition at line 78 of file XMLSectionExport.cxx.
References XMLTextParagraphExport::Add(), SvXMLExport::AddAttribute(), SvXMLExport::AddAttributeXmlId(), ExportIndexHeaderStart(), ExportIndexStart(), ExportRegularSectionStart(), GetExport(), GetIndex(), GetParaExport(), TEXT_SECTION, XML_NAMESPACE_TEXT, and xmloff::token::XML_STYLE_NAME.
|
private |
Helper method to export common attributes for table and illustration indices.
Definition at line 854 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), Any, GetExport(), XMLTextFieldExport::MapReferenceType(), nType, xmloff::token::XML_CAPTION_SEQUENCE_FORMAT, xmloff::token::XML_CAPTION_SEQUENCE_NAME, xmloff::token::XML_FALSE, XML_NAMESPACE_TEXT, and xmloff::token::XML_USE_CAPTION.
Referenced by ExportIllustrationIndexStart(), and ExportTableIndexStart().
|
private |
export a table index (and source element)
Definition at line 574 of file XMLSectionExport.cxx.
References ExportBaseIndexBody(), ExportBaseIndexSource(), ExportBaseIndexStart(), ExportTableAndIllustrationIndexSourceAttributes(), TEXT_SECTION_TYPE_TABLE, and xmloff::token::XML_TABLE_INDEX.
Referenced by ExportIndexStart().
|
private |
export a table of content (and source element)
Definition at line 495 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), ExportBaseIndexBody(), ExportBaseIndexSource(), ExportBaseIndexStart(), ExportBoolean(), GetExport(), TEXT_SECTION_TYPE_TOC, XML_NAMESPACE_TEXT, xmloff::token::XML_OUTLINE_LEVEL, xmloff::token::XML_TABLE_OF_CONTENT, xmloff::token::XML_USE_INDEX_MARKS, xmloff::token::XML_USE_INDEX_SOURCE_STYLES, and xmloff::token::XML_USE_OUTLINE_LEVEL.
Referenced by ExportIndexStart().
|
private |
export a user index (and source element)
Definition at line 651 of file XMLSectionExport.cxx.
References SvXMLExport::AddAttribute(), Any, ExportBaseIndexBody(), ExportBaseIndexSource(), ExportBaseIndexStart(), ExportBoolean(), GetExport(), TEXT_SECTION_TYPE_USER, xmloff::token::XML_COPY_OUTLINE_LEVELS, xmloff::token::XML_INDEX_NAME, XML_NAMESPACE_TEXT, xmloff::token::XML_USE_FLOATING_FRAMES, xmloff::token::XML_USE_GRAPHICS, xmloff::token::XML_USE_INDEX_MARKS, xmloff::token::XML_USE_INDEX_SOURCE_STYLES, xmloff::token::XML_USE_OBJECTS, xmloff::token::XML_USE_TABLES, and xmloff::token::XML_USER_INDEX.
Referenced by ExportIndexStart().
|
inlineprivate |
Definition at line 137 of file XMLSectionExport.hxx.
References rExport.
Referenced by ExportAlphabeticalIndexStart(), ExportBaseIndexBody(), ExportBaseIndexSource(), ExportBaseIndexStart(), ExportBoolean(), ExportIndexHeaderStart(), ExportIndexTemplate(), ExportIndexTemplateElement(), ExportLevelParagraphStyles(), ExportMasterDocHeadingDummies(), ExportRegularSectionStart(), ExportSectionEnd(), ExportSectionStart(), ExportTableAndIllustrationIndexSourceAttributes(), ExportTableOfContentStart(), and ExportUserIndexStart().
|
staticprivate |
If this section is an index, the index is written in the rIndex parameter.
The return value is sal_True for all "special" sections.
Thus we have: return sal_False: regular section return sal_True, xIndex is empty: index header section return sal_True, xIndex is set: index section
Definition at line 124 of file XMLSectionExport.cxx.
References Any.
Referenced by ExportSectionEnd(), and ExportSectionStart().
|
inlineprivate |
Definition at line 138 of file XMLSectionExport.hxx.
References rParaExport.
Referenced by ExportSectionStart().
|
static |
Determine whether rContent is contained in rEnclosingSection.
If the current section of rContent can not be determined, return bDefault.
bDefault | return value if this content doesn't support the section property |
Definition at line 1741 of file XMLSectionExport.cxx.
References Any.
Referenced by XMLTextParagraphExport::exportTextContentEnumeration().
bool XMLSectionExport::IsMuteSection | ( | const css::uno::Reference< css::text::XTextSection > & | rSection | ) | const |
Should the content of this section be exported? (E.g.
linked sections in global documents are not always exported)
bool XMLSectionExport::IsMuteSection | ( | const css::uno::Reference< css::text::XTextContent > & | rSection, |
bool | bDefault | ||
) | const |
XTextContent-version of IsMuteSection(Reference<XTextSection>&) returns true for all non-section elements.
bDefault | return value if this content doesn't support the section property |
|
staticprivate |
map service name to section type
Definition at line 331 of file XMLSectionExport.cxx.
References SvXMLUnitConverter::convertEnum(), eType, and TEXT_SECTION_TYPE_UNKNOWN.
Referenced by ExportIndexStart(), and ExportSectionEnd().
|
private |
Definition at line 72 of file XMLSectionExport.hxx.
Referenced by ExportMasterDocHeadingDummies().
|
private |
Definition at line 69 of file XMLSectionExport.hxx.
Referenced by ExportIndexTemplateElement(), ExportMasterDocHeadingDummies(), and GetExport().
|
private |
Definition at line 70 of file XMLSectionExport.hxx.
Referenced by GetParaExport().