LibreOffice Module xmloff (master) 1
|
#include <txtparae.hxx>
Classes | |
struct | DocumentListNodes |
struct | Impl |
Public Types | |
enum | FieldmarkType { NONE , TEXT , CHECK } |
Public Member Functions | |
void | exportTextRangeSpan (const css::uno::Reference< css::text::XTextRange > &rTextRange, css::uno::Reference< css::beans::XPropertySet > const &xPropSet, css::uno::Reference< css::beans::XPropertySetInfo > &xPropSetInfo, const bool bIsUICharStyle, const bool bHasAutoStyle, const OUString &sStyle, bool &rPrevCharIsSpace, FieldmarkType &openFieldMark) |
const rtl::Reference< SvXMLExportPropertyMapper > & | GetParaPropMapper () const |
const rtl::Reference< SvXMLExportPropertyMapper > & | GetTextPropMapper () const |
const rtl::Reference< SvXMLExportPropertyMapper > & | GetAutoFramePropMapper () const |
const rtl::Reference< SvXMLExportPropertyMapper > & | GetSectionPropMapper () const |
const rtl::Reference< SvXMLExportPropertyMapper > & | GetRubyPropMapper () const |
OUString | FindTextStyle (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, bool &rbHasCharStyle, bool &rbHasAutoStyle, const XMLPropertyState **pAddState=nullptr) const |
void | exportTextRangeEnumeration (const css::uno::Reference< css::container::XEnumeration > &rRangeEnum, bool bAutoStyles, bool bProgress, bool &rPrevCharIsSpace) |
XMLTextParagraphExport (SvXMLExport &rExp, SvXMLAutoStylePoolP &rASP) | |
virtual | ~XMLTextParagraphExport () override |
void | Add (XmlStyleFamily nFamily, MultiPropertySetHelper &rPropSetHelper, const css::uno::Reference< css::beans::XPropertySet > &rPropSet) |
add autostyle for specified family More... | |
void | Add (XmlStyleFamily nFamily, const css::uno::Reference< css::beans::XPropertySet > &rPropSet, o3tl::span< const XMLPropertyState > aAddStates={}, bool bDontSeek=false) |
OUString | Find (XmlStyleFamily nFamily, const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const OUString &rParent, const o3tl::span< const XMLPropertyState > aAddStates={}) const |
find style name for specified family and parent More... | |
void | exportTextStyles (bool bUsed, bool bProg) |
void | exportTextDeclarations () |
This method exports (text field) declarations etc. More... | |
void | exportTextDeclarations (const css::uno::Reference< css::text::XText > &rText) |
export the (text field) declarations for a particular XText More... | |
void | exportUsedDeclarations () |
export all declarations More... | |
void | exportTrackedChanges (bool bAutoStyle) |
Export the list of change information (enclosed by <tracked-changes>) (or the necessary automatic styles) More... | |
void | exportTrackedChanges (const css::uno::Reference< css::text::XText > &rText, bool bAutoStyle) |
Export the list of change information (enclosed by <tracked-changes>) (or the necessary automatic styles) More... | |
void | recordTrackedChangesForXText (const css::uno::Reference< css::text::XText > &rText) |
Record tracked changes for this particular XText (empty reference stop recording) This should be used if tracked changes for e.g. More... | |
void | recordTrackedChangesNoXText () |
Stop recording tracked changes. More... | |
void | exportCharacterData (const OUString &rText, bool &rPrevCharWasSpace) |
void | collectTextAutoStyles (const css::uno::Reference< css::text::XText > &rText, bool bIsProgress=false, bool bExportParagraph=true) |
void | collectTextAutoStyles (const css::uno::Reference< css::text::XText > &rText, const css::uno::Reference< css::text::XTextSection > &rBaseSection, bool bIsProgress) |
void | collectTextAutoStylesOptimized (bool bIsProgress) |
void | exportTextAutoStyles () |
void | exportEvents (const css::uno::Reference< css::beans::XPropertySet > &rPropSet) |
void | exportTitleAndDescription (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const css::uno::Reference< css::beans::XPropertySetInfo > &rPropSetInfo) |
void | exportText (const css::uno::Reference< css::text::XText > &rText, bool bIsProgress=false, bool bExportParagraph=true, TextPNS eExtensionNS=TextPNS::ODF) |
void | exportText (const css::uno::Reference< css::text::XText > &rText, const css::uno::Reference< css::text::XTextSection > &rBaseSection, bool bIsProgress) |
void | exportFramesBoundToPage (bool bIsProgress) |
const XMLTextListAutoStylePool & | GetListAutoStylePool () const |
void | SetBlockMode (bool bSet) |
bool | IsBlockMode () const |
const rtl::Reference< SvXMLExportPropertyMapper > & | GetParagraphPropertyMapper () const |
void | PreventExportOfControlsInMuteSections (const css::uno::Reference< css::container::XIndexAccess > &rShapes, const rtl::Reference< xmloff::OFormLayerXMLExport > &xFormExport) |
exclude form controls which are in mute sections. More... | |
SinglePropertySetInfoCache & | GetCharStyleNamesPropInfoCache () |
void | PushNewTextListsHelper () |
void | PopTextListsHelper () |
Public Member Functions inherited from XMLStyleExport | |
XMLStyleExport (SvXMLExport &rExp, SvXMLAutoStylePoolP *pAutoStyleP=nullptr) | |
virtual | ~XMLStyleExport () override |
void | exportDefaultStyle (const css::uno::Reference< css::beans::XPropertySet > &xPropSet, const OUString &rXMLFamily, const rtl::Reference< SvXMLExportPropertyMapper > &rPropMapper) |
void | exportStyleFamily (const OUString &rFamily, const OUString &rXMLFamily, const rtl::Reference< SvXMLExportPropertyMapper > &rPropMapper, bool bUsed, XmlStyleFamily nFamily, const OUString *pPrefix=nullptr) |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Static Public Member Functions | |
static SvXMLExportPropertyMapper * | CreateShapeExtPropMapper (SvXMLExport &rExport) |
static SvXMLExportPropertyMapper * | CreateCharExtPropMapper (SvXMLExport &rExport) |
static SvXMLExportPropertyMapper * | CreateParaExtPropMapper (SvXMLExport &rExport) |
static SvXMLExportPropertyMapper * | CreateParaDefaultExtPropMapper (SvXMLExport &rExport) |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Member Functions | |
SvXMLAutoStylePoolP & | GetAutoStylePool () |
const SvXMLAutoStylePoolP & | GetAutoStylePool () const |
XMLShapeExportFlags | addTextFrameAttributes (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, bool bShape, basegfx::B2DPoint *pCenter=nullptr, OUString *pMinHeightValue=nullptr, OUString *pMinWidthValue=nullptr) |
virtual void | exportStyleAttributes (const css::uno::Reference< css::style::XStyle > &rStyle) override |
void | exportPageFrames (bool bProgress) |
void | exportFrameFrames (bool bAutoStyles, bool bProgress, const css::uno::Reference< css::text::XTextFrame > &rParentTxtFrame) |
void | exportNumStyles (bool bUsed) |
void | exportText (const css::uno::Reference< css::text::XText > &rText, bool bAutoStyles, bool bProgress, bool bExportParagraph, TextPNS eExtensionNS=TextPNS::ODF) |
void | exportText (const css::uno::Reference< css::text::XText > &rText, const css::uno::Reference< css::text::XTextSection > &rBaseSection, bool bAutoStyles, bool bProgress, bool bExportParagraph) |
void | exportTextContentEnumeration (const css::uno::Reference< css::container::XEnumeration > &rContentEnum, bool bAutoStyles, const css::uno::Reference< css::text::XTextSection > &rBaseSection, bool bProgress, bool bExportParagraph=true, const css::uno::Reference< css::beans::XPropertySet > *pRangePropSet=nullptr, TextPNS eExtensionNS=TextPNS::ODF) |
void | exportParagraph (const css::uno::Reference< css::text::XTextContent > &rTextContent, bool bAutoStyles, bool bProgress, bool bExportParagraph, MultiPropertySetHelper &rPropSetHelper, TextPNS eExtensionNS) |
virtual void | exportTable (const css::uno::Reference< css::text::XTextContent > &rTextContent, bool bAutoStyles, bool bProgress) |
void | exportTextField (const css::uno::Reference< css::text::XTextRange > &rTextRange, bool bAutoStyles, bool bProgress, bool *pPrevCharIsSpace) |
void | exportTextField (const css::uno::Reference< css::text::XTextField > &xTextField, const bool bAutoStyles, const bool bProgress, const bool bRecursive, bool *pPrevCharIsSpace) |
void | exportAnyTextFrame (const css::uno::Reference< css::text::XTextContent > &rTextContent, FrameType eTxpe, bool bAutoStyles, bool bProgress, bool bExportContent, const css::uno::Reference< css::beans::XPropertySet > *pRangePropSet) |
void | _exportTextFrame (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const css::uno::Reference< css::beans::XPropertySetInfo > &rPropSetInfo, bool bProgress) |
void | exportTextFrame (const css::uno::Reference< css::text::XTextContent > &rTextContent, bool bAutoStyles, bool bProgress, bool bExportContent, const css::uno::Reference< css::beans::XPropertySet > *pRangePropSet=nullptr) |
void | exportShape (const css::uno::Reference< css::text::XTextContent > &rTextContent, bool bAutoStyles, const css::uno::Reference< css::beans::XPropertySet > *pRangePropSet=nullptr) |
void | exportContour (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const css::uno::Reference< css::beans::XPropertySetInfo > &rPropSetInfo) |
void | _exportTextGraphic (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const css::uno::Reference< css::beans::XPropertySetInfo > &rPropSetInfo) |
void | exportTextGraphic (const css::uno::Reference< css::text::XTextContent > &rTextContent, bool bAutoStyles, const css::uno::Reference< css::beans::XPropertySet > *pRangePropSet=nullptr) |
virtual void | _collectTextEmbeddedAutoStyles (const css::uno::Reference< css::beans::XPropertySet > &rPropSet) |
virtual void | _exportTextEmbedded (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const css::uno::Reference< css::beans::XPropertySetInfo > &rPropSetInfo) |
void | exportTextEmbedded (const css::uno::Reference< css::text::XTextContent > &rTextContent, bool bAutoStyles, const css::uno::Reference< css::beans::XPropertySet > *pRangePropSet=nullptr) |
void | exportTextFootnote (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const OUString &sString, bool bAutoStyles, bool bProgress) |
export a footnote and styles More... | |
void | exportTextFootnoteHelper (const css::uno::Reference< css::text::XFootnote > &rPropSet, const css::uno::Reference< css::text::XText > &rText, const OUString &sString, bool bAutoStyles, bool bIsEndnote, bool bProgress) |
helper for exportTextFootnote More... | |
void | exportTextFootnoteConfiguration () |
export footnote and endnote configuration elements More... | |
void | exportTextFootnoteConfigurationHelper (const css::uno::Reference< css::beans::XPropertySet > &rFootnoteSupplier, bool bIsEndnote) |
void | exportTextMark (const css::uno::Reference< css::beans::XPropertySet > &xPropSet, const OUString &rProperty, const enum ::xmloff::token::XMLTokenEnum pElements[], bool bAutoStyles) |
void | exportSoftPageBreak () |
void | exportTextLineBreak (const css::uno::Reference< css::beans::XPropertySet > &xPropSet) |
void | exportTextRange (const css::uno::Reference< css::text::XTextRange > &rTextRange, bool bAutoStyles, bool &rPrevCharWasSpace, FieldmarkType &openFieldmarkType) |
void | exportListChange (const XMLTextNumRuleInfo &rPrvInfo, const XMLTextNumRuleInfo &rNextInfo) |
void | exportListAndSectionChange (css::uno::Reference< css::text::XTextSection > &rOldSection, const css::uno::Reference< css::text::XTextSection > &rNewSection, const XMLTextNumRuleInfo &rOldList, const XMLTextNumRuleInfo &rNewList, bool bAutoStyles) |
check if current section or current list has changed; calls exportListChange as appropriate More... | |
void | exportListAndSectionChange (css::uno::Reference< css::text::XTextSection > &rOldSection, const css::uno::Reference< css::text::XTextContent > &rNewContent, const XMLTextNumRuleInfo &rOldList, const XMLTextNumRuleInfo &rNewList, bool bAutoStyles) |
overload for exportListAndSectionChange; takes new content rather than new section. More... | |
void | exportListAndSectionChange (css::uno::Reference< css::text::XTextSection > &rOldSection, MultiPropertySetHelper &rPropSetHelper, sal_Int16 nTextSectionId, const css::uno::Reference< css::text::XTextContent > &rNewContent, const XMLTextNumRuleInfo &rOldList, const XMLTextNumRuleInfo &rNewList, bool bAutoStyles) |
void | exportRuby (const css::uno::Reference< css::beans::XPropertySet > &rPortionPropSet, bool bAutoStyles) |
export a ruby More... | |
void | exportMeta (const css::uno::Reference< css::beans::XPropertySet > &i_xPortion, bool i_bAutoStyles, bool i_isProgress, bool &rPrevCharIsSpace) |
export a text:meta More... | |
void | ExportContentControl (const css::uno::Reference< css::beans::XPropertySet > &xPortion, bool bAutoStyles, bool isProgress, bool &rPrevCharIsSpace) |
Exports a <loext:content-control> element. More... | |
bool | isAutoStylesCollected () const |
virtual void | exportTableAutoStyles () |
Protected Member Functions inherited from XMLStyleExport | |
SvXMLExport & | GetExport () |
const SvXMLExport & | GetExport () const |
bool | exportStyle (const css::uno::Reference< css::style::XStyle > &rStyle, const OUString &rXMLFamily, const rtl::Reference< SvXMLExportPropertyMapper > &rPropMapper, const css::uno::Reference< css::container::XNameAccess > &xStyles, const OUString *pPrefix) |
virtual void | exportStyleAttributes (const css::uno::Reference< css::style::XStyle > &rStyle) |
virtual void | exportStyleContent (const css::uno::Reference< css::style::XStyle > &rStyle) |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes | |
SinglePropertySetInfoCache | m_aCharStyleNamesPropInfoCache |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Static Protected Attributes | |
static constexpr OUStringLiteral | gsFrameStyleName = u"FrameStyleName" |
Private Types | |
enum class | FrameType { Text , Graphic , Embedded , Shape } |
Private Member Functions | |
bool | ShouldSkipListId (const css::uno::Reference< css::text::XTextContent > &xTextContent) |
bool | ExportListId () const |
XMLTextParagraphExport (XMLTextParagraphExport const &)=delete | |
Static Private Attributes | |
static constexpr OUStringLiteral | gsAnchorCharStyleName = u"AnchorCharStyleName" |
static constexpr OUStringLiteral | gsBeginNotice = u"BeginNotice" |
static constexpr OUStringLiteral | gsCategory = u"Category" |
static constexpr OUStringLiteral | gsCharStyleName = u"CharStyleName" |
static constexpr OUStringLiteral | gsCharStyleNames = u"CharStyleNames" |
static constexpr OUStringLiteral | gsEndNotice = u"EndNotice" |
static constexpr OUStringLiteral | gsFootnote = u"Footnote" |
static constexpr OUStringLiteral | gsFootnoteCounting = u"FootnoteCounting" |
static constexpr OUStringLiteral | gsNumberingType = u"NumberingType" |
static constexpr OUStringLiteral | gsPageDescName = u"PageDescName" |
static constexpr OUStringLiteral | gsPageStyleName = u"PageStyleName" |
static constexpr OUStringLiteral | gsParaStyleName = u"ParaStyleName" |
static constexpr OUStringLiteral | gsPositionEndOfDoc = u"PositionEndOfDoc" |
static constexpr OUStringLiteral | gsPrefix = u"Prefix" |
static constexpr OUStringLiteral | gsReferenceId = u"ReferenceId" |
static constexpr OUStringLiteral | gsStartAt = u"StartAt" |
static constexpr OUStringLiteral | gsSuffix = u"Suffix" |
static constexpr OUStringLiteral | gsTextEndnoteService = u"com.sun.star.text.Endnote" |
static constexpr OUStringLiteral | gsTextSection = u"TextSection" |
Definition at line 79 of file txtparae.hxx.
Enumerator | |
---|---|
NONE | |
TEXT | |
CHECK |
Definition at line 126 of file txtparae.hxx.
|
strongprivate |
Enumerator | |
---|---|
Text | |
Graphic | |
Embedded | |
Shape |
Definition at line 123 of file txtparae.hxx.
XMLTextParagraphExport::XMLTextParagraphExport | ( | SvXMLExport & | rExp, |
SvXMLAutoStylePoolP & | rASP | ||
) |
Definition at line 1433 of file txtparae.cxx.
References SvXMLAutoStylePoolP::AddFamily(), AUTO_FRAME, FRAME, XMLStyleExport::GetExport(), xmloff::token::GetXMLToken(), IsBlockMode(), m_pFieldExport, m_pIndexMarkExport, m_pRedlineExport, m_pSectionExport, m_rAutoStylePool, m_xAutoFramePropMapper, m_xFramePropMapper, m_xParaPropMapper, m_xRubyPropMapper, m_xSectionPropMapper, m_xTextPropMapper, nIndex, PARA, PushNewTextListsHelper(), RUBY, SECTION, TEXT, TEXT_FRAME, TEXT_PARAGRAPH, TEXT_RUBY, TEXT_SECTION, TEXT_TEXT, u, XML_NAMESPACE_STYLE, xmloff::token::XML_PARAGRAPH, xmloff::token::XML_RUBY, xmloff::token::XML_SECTION, XML_STYLE_FAMILY_SD_GRAPHICS_NAME, xmloff::token::XML_TEXT, and xmloff::token::XML_TEXT_COMBINE.
|
overridevirtual |
Definition at line 1512 of file txtparae.cxx.
References m_pFieldExport, m_pIndexMarkExport, m_pRedlineExport, m_pSectionExport, maTextListsHelperStack, PopTextListsHelper(), SAL_WARN_IF, and txtparae_bContainsIllegalCharacters.
|
privatedelete |
|
protectedvirtual |
Definition at line 3640 of file txtparae.cxx.
References SAL_WARN.
Referenced by exportAnyTextFrame().
|
protectedvirtual |
Definition at line 3645 of file txtparae.cxx.
References SAL_WARN.
Referenced by exportAnyTextFrame().
|
protected |
Definition at line 3285 of file txtparae.cxx.
References SvXMLExport::AddAttribute(), addTextFrameAttributes(), XMLImageMapExport::Export(), XMLEventExport::Export(), exportFrameFrames(), exportText(), exportTitleAndDescription(), Find(), SvXMLExport::GetEventExport(), XMLStyleExport::GetExport(), SvXMLExport::GetImageMapExport(), gsChainNextName(), gsFrameStyleName, TEXT_FRAME, xmloff::token::XML_CHAIN_NEXT_NAME, xmloff::token::XML_FRAME, xmloff::token::XML_MIN_HEIGHT, xmloff::token::XML_MIN_WIDTH, XML_NAMESPACE_DRAW, XML_NAMESPACE_FO, xmloff::token::XML_STYLE_NAME, and xmloff::token::XML_TEXT_BOX.
Referenced by exportAnyTextFrame().
|
protected |
Definition at line 3452 of file txtparae.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::AddEmbeddedXGraphic(), SvXMLExport::AddEmbeddedXGraphicAsBase64(), SdXMLImExTransform2D::AddRotate(), addTextFrameAttributes(), SdXMLImExTransform2D::AddTranslate(), XMLImageMapExport::Export(), XMLEventExport::Export(), exportContour(), exportTitleAndDescription(), Find(), SvXMLExport::GetEventExport(), XMLStyleExport::GetExport(), SdXMLImExTransform2D::GetExportString(), SvXMLExport::GetGraphicMimeTypeFromStream(), SvXMLExport::GetImageMapExport(), gsFrameStyleName, gsGraphicFilter(), gsGraphicRotation(), basegfx::normalizeToRange(), SvtSaveOptions::ODFSVER_012, SvtSaveOptions::ODFSVER_013, TEXT_FRAME, xmloff::token::XML_ACTUATE, xmloff::token::XML_EMBED, xmloff::token::XML_FILTER_NAME, xmloff::token::XML_FRAME, xmloff::token::XML_HREF, xmloff::token::XML_IMAGE, XML_NAMESPACE_DRAW, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_XLINK, xmloff::token::XML_ONLOAD, xmloff::token::XML_SHOW, xmloff::token::XML_SIMPLE, xmloff::token::XML_STYLE_NAME, xmloff::token::XML_TRANSFORM, and xmloff::token::XML_TYPE.
Referenced by exportAnyTextFrame().
void XMLTextParagraphExport::Add | ( | XmlStyleFamily | nFamily, |
const css::uno::Reference< css::beans::XPropertySet > & | rPropSet, | ||
o3tl::span< const XMLPropertyState > | aAddStates = {} , |
||
bool | bDontSeek = false |
||
) |
void XMLTextParagraphExport::Add | ( | XmlStyleFamily | nFamily, |
MultiPropertySetHelper & | rPropSetHelper, | ||
const css::uno::Reference< css::beans::XPropertySet > & | rPropSet | ||
) |
add autostyle for specified family
Referenced by collectTextAutoStylesOptimized(), exportAnyTextFrame(), exportParagraph(), exportRuby(), XMLSectionExport::ExportSectionStart(), exportTextFootnote(), and exportTextRange().
|
protected |
Definition at line 2874 of file txtparae.cxx.
References SvXMLExport::AddAttribute(), SvXMLUnitConverter::convertMeasureToXML(), sax::Converter::convertPercent(), XMLAnchorTypePropHdl::exportXML(), XMLStyleExport::GetExport(), SvXMLExport::GetMM100UnitConverter(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), gsAnchorPageNo(), gsAnchorType(), gsHeight(), gsHoriOrient(), gsHoriOrientPosition(), gsIsSyncHeightToWidth(), gsIsSyncWidthToHeight(), gsRelativeHeight(), gsRelativeWidth(), gsSizeType(), gsVertOrient(), gsVertOrientPosition(), gsWidth(), gsWidthType(), NO_WS, nPos, SAL_WARN_IF, SEF_DEFAULT, basegfx::Tuple2D< typename TYPE >::setX(), basegfx::Tuple2D< typename TYPE >::setY(), sName, xmloff::token::XML_ANCHOR_PAGE_NUMBER, xmloff::token::XML_ANCHOR_TYPE, xmloff::token::XML_HEIGHT, xmloff::token::XML_MAY_BREAK_BETWEEN_PAGES, xmloff::token::XML_NAME, XML_NAMESPACE_DRAW, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_STYLE, XML_NAMESPACE_SVG, XML_NAMESPACE_TEXT, xmloff::token::XML_REL_HEIGHT, xmloff::token::XML_REL_WIDTH, xmloff::token::XML_SCALE, xmloff::token::XML_SCALE_MIN, xmloff::token::XML_TRUE, xmloff::token::XML_WIDTH, xmloff::token::XML_X, xmloff::token::XML_Y, and xmloff::token::XML_ZINDEX.
Referenced by _exportTextFrame(), _exportTextGraphic(), and exportAnyTextFrame().
|
inline |
Definition at line 459 of file txtparae.hxx.
References SchXMLTools::exportText().
|
inline |
Definition at line 467 of file txtparae.hxx.
References SchXMLTools::exportText().
void XMLTextParagraphExport::collectTextAutoStylesOptimized | ( | bool | bIsProgress | ) |
Definition at line 1623 of file txtparae.cxx.
References a, XMLTextListAutoStylePool::Add(), Add(), Any, Exception, exportShape(), exportTable(), exportText(), exportTextEmbedded(), exportTextField(), exportTextFrame(), exportTextGraphic(), XMLStyleExport::GetExport(), SvXMLExport::GetShapeExport(), SvXMLExport::GetTextParagraphExport(), gsShapeService(), i, m_pBoundFrameSets, maListAutoPool, mbCollected, nCount, sName, TEXT_PARAGRAPH, TEXT_RUBY, TEXT_SECTION, and TEXT_TEXT.
|
static |
Definition at line 1534 of file txtparae.cxx.
References TEXT.
|
static |
Definition at line 1550 of file txtparae.cxx.
References TEXT_ADDITIONAL_DEFAULTS.
Referenced by XMLShapeExport::ExportGraphicDefaults().
|
static |
Definition at line 1542 of file txtparae.cxx.
References SHAPE_PARA.
Referenced by XMLShapeExport::ExportGraphicDefaults(), SdXMLExport::setSourceDocument(), XMLChartExportPropertyMapper::XMLChartExportPropertyMapper(), and XMLTableExport::XMLTableExport().
|
static |
Definition at line 1526 of file txtparae.cxx.
References SHAPE.
|
protected |
Definition at line 3155 of file txtparae.cxx.
References _collectTextEmbeddedAutoStyles(), _exportTextEmbedded(), _exportTextFrame(), _exportTextGraphic(), Add(), SvXMLExport::AddAttribute(), addTextFrameAttributes(), Embedded, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::erase(), eType, exportFrameFrames(), exportText(), FindTextStyle(), XMLStyleExport::GetExport(), SvXMLExport::GetShapeExport(), Graphic, gsCharStyleNames, SinglePropertySetInfoCache::hasProperty(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), lcl_txtpara_isBoundAsChar(), m_aCharStyleNamesPropInfoCache, maFrameRecurseGuard, maShapeRecurseGuard, SAL_WARN, Shape, Text, TEXT_FRAME, TEXT_TEXT, xmloff::token::XML_A, XML_NAMESPACE_DRAW, XML_NAMESPACE_TEXT, xmloff::token::XML_SPAN, and xmloff::token::XML_STYLE_NAME.
Referenced by exportShape(), exportTextEmbedded(), exportTextFrame(), and exportTextGraphic().
void XMLTextParagraphExport::exportCharacterData | ( | const OUString & | rText, |
bool & | rPrevCharWasSpace | ||
) |
Definition at line 3750 of file txtparae.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::Characters(), XMLStyleExport::GetExport(), nPos, SAL_WARN_IF, txtparae_bContainsIllegalCharacters, xmloff::token::XML_C, xmloff::token::XML_LINE_BREAK, XML_NAMESPACE_TEXT, xmloff::token::XML_S, and xmloff::token::XML_TAB.
Referenced by exportTextRangeSpan().
|
protected |
Exports a <loext:content-control> element.
Definition at line 4088 of file txtparae.cxx.
References aBuffer, SvXMLExport::AddAttribute(), aMap, sax::Converter::convertBool(), exportTextRangeEnumeration(), XMLStyleExport::GetExport(), nId, SvtSaveOptions::ODFSVER_EXTENDED, xmloff::token::XML_ALIAS, xmloff::token::XML_CHECKBOX, xmloff::token::XML_CHECKED, xmloff::token::XML_CHECKED_STATE, xmloff::token::XML_COMBOBOX, xmloff::token::XML_CONTENT_CONTROL, xmloff::token::XML_CURRENT_DATE, xmloff::token::XML_DATE, xmloff::token::XML_DATE_FORMAT, xmloff::token::XML_DATE_RFC_LANGUAGE_TAG, xmloff::token::XML_DISPLAY_TEXT, xmloff::token::XML_DROPDOWN, xmloff::token::XML_ID, xmloff::token::XML_LIST_ITEM, xmloff::token::XML_LOCK, XML_NAMESPACE_LO_EXT, xmloff::token::XML_PICTURE, xmloff::token::XML_PLAIN_TEXT, xmloff::token::XML_SHOWING_PLACE_HOLDER, xmloff::token::XML_TAB_INDEX, xmloff::token::XML_TAG, xmloff::token::XML_UNCHECKED_STATE, and xmloff::token::XML_VALUE.
Referenced by exportTextRangeEnumeration().
|
protected |
Definition at line 3353 of file txtparae.cxx.
References SvXMLExport::AddAttribute(), sax::Converter::convertMeasurePx(), SvXMLUnitConverter::convertMeasureToXML(), basegfx::B2DPolyPolygon::count(), basegfx::utils::exportToSvgD(), basegfx::utils::exportToSvgPoints(), basegfx::fround(), basegfx::B2DPolyPolygon::getB2DPolygon(), basegfx::B2DPolyPolygon::getB2DRange(), XMLStyleExport::GetExport(), SdXMLImExViewBox::GetExportString(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), SvXMLExport::GetMM100UnitConverter(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), gsContourPolyPolygon(), gsIsAutomaticContour(), gsIsPixelContour(), basegfx::utils::UnoPointSequenceSequenceToB2DPolyPolygon(), xmloff::token::XML_CONTOUR_PATH, xmloff::token::XML_CONTOUR_POLYGON, xmloff::token::XML_D, xmloff::token::XML_FALSE, xmloff::token::XML_HEIGHT, XML_NAMESPACE_DRAW, XML_NAMESPACE_SVG, xmloff::token::XML_POINTS, xmloff::token::XML_RECREATE_ON_EDIT, xmloff::token::XML_TOKEN_INVALID, xmloff::token::XML_TRUE, xmloff::token::XML_VIEWBOX, and xmloff::token::XML_WIDTH.
Referenced by _exportTextGraphic().
void XMLTextParagraphExport::exportEvents | ( | const css::uno::Reference< css::beans::XPropertySet > & | rPropSet | ) |
Definition at line 3652 of file txtparae.cxx.
References XMLImageMapExport::Export(), XMLEventExport::Export(), SvXMLExport::GetEventExport(), XMLStyleExport::GetExport(), and SvXMLExport::GetImageMapExport().
|
protected |
Definition at line 1582 of file txtparae.cxx.
References exportShape(), exportTextEmbedded(), exportTextFrame(), exportTextGraphic(), and m_pBoundFrameSets.
Referenced by _exportTextFrame(), and exportAnyTextFrame().
|
inline |
Definition at line 505 of file txtparae.hxx.
|
protected |
overload for exportListAndSectionChange; takes new content rather than new section.
|
protected |
check if current section or current list has changed; calls exportListChange as appropriate
Referenced by exportTextContentEnumeration().
|
protected |
|
protected |
rNextInfo.HasStartValue() &&
Definition at line 993 of file txtparae.cxx.
References XMLTextNumRuleInfo::BelongsToSameList(), XMLTextNumRuleInfo::GetLevel(), XMLTextNumRuleInfo::GetListId(), XMLTextNumRuleInfo::GetListLevelStartValue(), XMLTextNumRuleInfo::GetNumRulesName(), XMLTextNumRuleInfo::GetStartValue(), xmloff::token::GetXMLToken(), XMLTextNumRuleInfo::HasStartValue(), XMLTextNumRuleInfo::IsContinueingPreviousSubTree(), XMLTextNumRuleInfo::IsListIdDefault(), XMLTextNumRuleInfo::IsNumbered(), XMLTextNumRuleInfo::IsRestart(), XMLTextNumRuleInfo::ListLabelString(), OASIS, SvtSaveOptions::ODFSVER_012, xmloff::token::XML_CONTINUE_LIST, xmloff::token::XML_CONTINUE_NUMBERING, xmloff::token::XML_ID, xmloff::token::XML_LIST, xmloff::token::XML_LIST_HEADER, xmloff::token::XML_LIST_ITEM, XML_NAMESPACE_TEXT, XML_NAMESPACE_XML, xmloff::token::XML_NUMBER, xmloff::token::XML_START_VALUE, xmloff::token::XML_STYLE_NAME, xmloff::token::XML_STYLE_OVERRIDE, and xmloff::token::XML_TRUE.
|
private |
Definition at line 1893 of file txtparae.cxx.
References XMLStyleExport::GetExport(), SvXMLExport::getSaneDefaultVersion(), OASIS, and SvtSaveOptions::ODFSVER_012.
Referenced by ShouldSkipListId().
|
protected |
export a text:meta
Definition at line 4052 of file txtparae.cxx.
References SvXMLExport::AddAttributesRDFa(), SvXMLExport::AddAttributeXmlId(), exportTextRangeEnumeration(), XMLStyleExport::GetExport(), SvtSaveOptions::ODFSVER_010, SvtSaveOptions::ODFSVER_011, xmloff::token::XML_META, and XML_NAMESPACE_TEXT.
Referenced by exportTextRangeEnumeration().
|
protected |
Definition at line 108 of file txtstyle.cxx.
References SvxXMLNumRuleExport::exportStyles(), XMLStyleExport::GetExport(), and IsBlockMode().
Referenced by exportTextStyles().
|
protected |
Definition at line 1558 of file txtparae.cxx.
References exportShape(), exportTextEmbedded(), exportTextFrame(), exportTextGraphic(), and m_pBoundFrameSets.
|
protected |
Definition at line 2074 of file txtparae.cxx.
References Add(), SvXMLExport::AddAttribute(), SvXMLExport::AddAttributeIdLegacy(), SvXMLExport::AddAttributesRDFa(), SvXMLExport::AddAttributeXmlId(), MultiPropertySetHelper::checkedProperties(), exportTextContentEnumeration(), exportTextRangeEnumeration(), EXTENSION, Find(), FindTextStyle(), XMLStyleExport::GetExport(), comphelper::UnoInterfaceToUniqueIdentifierMapper::getIdentifier(), SvXMLExport::getInterfaceToIdentifierMapper(), SvXMLExport::GetProgressBarHelper(), ProgressBarHelper::GetValue(), MultiPropertySetHelper::getValue(), gsTextContentService(), gsTextSection, MultiPropertySetHelper::hasProperties(), MultiPropertySetHelper::hasProperty(), SvtSaveOptions::ODFSVER_EXTENDED, SAL_WARN_IF, ProgressBarHelper::SetValue(), TEXT_PARAGRAPH, TEXT_SECTION, TEXT_TEXT, xmloff::token::XML_COND_STYLE_NAME, xmloff::token::XML_FALSE, xmloff::token::XML_H, xmloff::token::XML_IS_LIST_HEADER, xmloff::token::XML_MARKER_STYLE_NAME, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_TEXT, xmloff::token::XML_OUTLINE_CONTENT_VISIBLE, xmloff::token::XML_OUTLINE_LEVEL, xmloff::token::XML_P, xmloff::token::XML_RESTART_NUMBERING, xmloff::token::XML_START_VALUE, xmloff::token::XML_STYLE_NAME, and xmloff::token::XML_TRUE.
Referenced by exportTextContentEnumeration().
|
protected |
export a ruby
Definition at line 3972 of file txtparae.cxx.
References Add(), SvXMLExport::AddAttribute(), SvXMLExport::Characters(), SvXMLExport::CheckAttrList(), SvXMLExport::ClearAttrList(), SvXMLExport::EndElement(), Find(), XMLStyleExport::GetExport(), gsIsCollapsed(), gsIsStart(), gsRubyCharStyleName(), gsRubyText(), m_bOpenRuby, m_sOpenRubyCharStyle, m_sOpenRubyText, SAL_WARN_IF, SvXMLExport::StartElement(), TEXT_RUBY, XML_NAMESPACE_TEXT, xmloff::token::XML_RUBY, xmloff::token::XML_RUBY_BASE, xmloff::token::XML_RUBY_TEXT, and xmloff::token::XML_STYLE_NAME.
Referenced by exportTextRangeEnumeration().
|
inlineprotected |
Definition at line 583 of file txtparae.hxx.
References exportAnyTextFrame(), and Shape.
Referenced by collectTextAutoStylesOptimized(), exportFrameFrames(), exportPageFrames(), and exportTextContentEnumeration().
|
protected |
Definition at line 2743 of file txtparae.cxx.
References XMLStyleExport::GetExport(), XML_NAMESPACE_TEXT, and xmloff::token::XML_SOFT_PAGE_BREAK.
Referenced by exportTextRangeEnumeration().
|
overrideprotectedvirtual |
Reimplemented from XMLStyleExport.
Definition at line 49 of file txtstyle.cxx.
References SvXMLExport::AddAttribute(), XMLStyleExport::GetExport(), SvXMLExport::GetProgressBarHelper(), ProgressBarHelper::GetValue(), gsCategory, gsPageDescName, m_bProgress, ProgressBarHelper::SetValue(), sName, xmloff::token::XML_CHAPTER, xmloff::token::XML_CLASS, xmloff::token::XML_EXTRA, xmloff::token::XML_HTML, xmloff::token::XML_INDEX, xmloff::token::XML_LIST, xmloff::token::XML_MASTER_PAGE_NAME, XML_NAMESPACE_STYLE, xmloff::token::XML_TEXT, and xmloff::token::XML_TOKEN_INVALID.
|
protectedvirtual |
Definition at line 2698 of file txtparae.cxx.
Referenced by collectTextAutoStylesOptimized(), and exportTextContentEnumeration().
|
protectedvirtual |
Definition at line 3951 of file txtparae.cxx.
Referenced by exportTextAutoStyles().
|
protected |
Referenced by _exportTextFrame(), collectTextAutoStylesOptimized(), exportAnyTextFrame(), and exportTextFootnoteHelper().
|
inline |
Definition at line 489 of file txtparae.hxx.
References SchXMLTools::exportText().
|
protected |
|
inline |
Definition at line 497 of file txtparae.hxx.
References SchXMLTools::exportText().
void XMLTextParagraphExport::exportTextAutoStyles | ( | ) |
Definition at line 3953 of file txtparae.cxx.
References exportTableAutoStyles(), XMLTextListAutoStylePool::exportXML(), SvXMLAutoStylePoolP::exportXML(), GetAutoStylePool(), maListAutoPool, mbCollected, TEXT_FRAME, TEXT_PARAGRAPH, TEXT_RUBY, TEXT_SECTION, and TEXT_TEXT.
|
protected |
Definition at line 1912 of file txtparae.cxx.
References aParagraphPropertyNames, aParagraphPropertyNamesAuto, exportListAndSectionChange(), exportParagraph(), exportShape(), exportTable(), exportTextEmbedded(), exportTextFrame(), exportTextGraphic(), XMLStyleExport::GetExport(), GetListAutoStylePool(), gsParagraphService(), gsShapeService(), gsTableService(), gsTextEmbeddedService(), gsTextFrameService(), gsTextGraphicService(), XMLSectionExport::IsInSection(), m_pRedlineExport, m_pSectionExport, XMLTextNumRuleInfo::Reset(), MultiPropertySetHelper::resetValues(), SAL_WARN_IF, XMLTextNumRuleInfo::Set(), ShouldSkipListId(), and TEXT_SECTION.
Referenced by exportParagraph(), and exportTextRangeEnumeration().
void XMLTextParagraphExport::exportTextDeclarations | ( | ) |
This method exports (text field) declarations etc.
Definition at line 3884 of file txtparae.cxx.
References SvXMLExport::AddAttribute(), XMLStyleExport::GetExport(), m_pFieldExport, xmloff::token::XML_ALPHABETICAL_INDEX_AUTO_MARK_FILE, xmloff::token::XML_HREF, XML_NAMESPACE_TEXT, and XML_NAMESPACE_XLINK.
void XMLTextParagraphExport::exportTextDeclarations | ( | const css::uno::Reference< css::text::XText > & | rText | ) |
export the (text field) declarations for a particular XText
|
inlineprotected |
Definition at line 574 of file txtparae.hxx.
References Embedded, and exportAnyTextFrame().
Referenced by collectTextAutoStylesOptimized(), exportFrameFrames(), exportPageFrames(), and exportTextContentEnumeration().
|
protected |
|
protected |
Referenced by collectTextAutoStylesOptimized(), and exportTextRangeEnumeration().
|
protected |
export a footnote and styles
Definition at line 64 of file txtftne.cxx.
References Add(), SvXMLExport::AddAttribute(), Any, exportTextFootnoteHelper(), FindTextStyle(), XMLStyleExport::GetExport(), gsCharStyleNames, gsFootnote, gsTextEndnoteService, SinglePropertySetInfoCache::hasProperty(), m_aCharStyleNamesPropInfoCache, TEXT_TEXT, XML_NAMESPACE_TEXT, xmloff::token::XML_SPAN, and xmloff::token::XML_STYLE_NAME.
Referenced by exportTextRangeEnumeration().
|
protected |
export footnote and endnote configuration elements
Definition at line 173 of file txtftne.cxx.
References exportTextFootnoteConfigurationHelper(), and XMLStyleExport::GetExport().
Referenced by exportTextStyles().
|
protected |
Definition at line 212 of file txtftne.cxx.
References SvXMLExport::AddAttribute(), Any, SvXMLExport::Characters(), SvXMLUnitConverter::convertNumFormat(), SvXMLUnitConverter::convertNumLetterSync(), XMLStyleExport::GetExport(), SvXMLExport::GetMM100UnitConverter(), xmloff::token::GetXMLToken(), gsAnchorCharStyleName, gsBeginNotice, gsCharStyleName, gsEndNotice, gsFootnoteCounting, gsNumberingType, gsPageStyleName, gsParaStyleName, gsPositionEndOfDoc, gsPrefix, gsStartAt, gsSuffix, lcl_exportString(), xmloff::token::XML_CHAPTER, xmloff::token::XML_CITATION_BODY_STYLE_NAME, xmloff::token::XML_CITATION_STYLE_NAME, xmloff::token::XML_DEFAULT_STYLE_NAME, xmloff::token::XML_DOCUMENT, xmloff::token::XML_ENDNOTE, xmloff::token::XML_FOOTNOTE, xmloff::token::XML_FOOTNOTE_CONTINUATION_NOTICE_BACKWARD, xmloff::token::XML_FOOTNOTE_CONTINUATION_NOTICE_FORWARD, xmloff::token::XML_FOOTNOTES_POSITION, xmloff::token::XML_MASTER_PAGE_NAME, XML_NAMESPACE_STYLE, XML_NAMESPACE_TEXT, xmloff::token::XML_NOTE_CLASS, xmloff::token::XML_NOTES_CONFIGURATION, xmloff::token::XML_NUM_FORMAT, xmloff::token::XML_NUM_LETTER_SYNC, xmloff::token::XML_NUM_PREFIX, xmloff::token::XML_NUM_SUFFIX, xmloff::token::XML_PAGE, xmloff::token::XML_START_NUMBERING_AT, and xmloff::token::XML_START_VALUE.
Referenced by exportTextFootnoteConfiguration().
|
protected |
helper for exportTextFootnote
Definition at line 122 of file txtftne.cxx.
References SvXMLExport::AddAttribute(), Any, SvXMLExport::Characters(), exportText(), XMLStyleExport::GetExport(), xmloff::token::GetXMLToken(), gsReferenceId, xmloff::token::XML_ENDNOTE, xmloff::token::XML_FOOTNOTE, xmloff::token::XML_ID, xmloff::token::XML_LABEL, XML_NAMESPACE_TEXT, xmloff::token::XML_NOTE, xmloff::token::XML_NOTE_BODY, xmloff::token::XML_NOTE_CITATION, and xmloff::token::XML_NOTE_CLASS.
Referenced by exportTextFootnote().
|
inlineprotected |
Definition at line 556 of file txtparae.hxx.
References exportAnyTextFrame(), and Text.
Referenced by collectTextAutoStylesOptimized(), exportFrameFrames(), exportPageFrames(), and exportTextContentEnumeration().
|
inlineprotected |
Definition at line 565 of file txtparae.hxx.
References exportAnyTextFrame(), and Graphic.
Referenced by collectTextAutoStylesOptimized(), exportFrameFrames(), exportPageFrames(), and exportTextContentEnumeration().
|
protected |
Definition at line 2750 of file txtparae.cxx.
References SvXMLExport::AddAttribute(), XMLStyleExport::GetExport(), xmloff::token::GetXMLToken(), o3tl::make_unsigned(), SAL_N_ELEMENTS, xmloff::token::XML_ALL, xmloff::token::XML_CLEAR, xmloff::token::XML_LEFT, xmloff::token::XML_LINE_BREAK, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_TEXT, xmloff::token::XML_NONE, and xmloff::token::XML_RIGHT.
Referenced by exportTextRangeEnumeration().
|
protected |
Definition at line 2784 of file txtparae.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::AddAttributesRDFa(), SvXMLExport::AddAttributeXmlId(), XMLStyleExport::GetExport(), gsIsCollapsed(), gsIsStart(), sHidden, xmloff::token::XML_NAME, XML_NAMESPACE_LO_EXT, and XML_NAMESPACE_TEXT.
Referenced by exportTextRangeEnumeration().
|
protected |
Definition at line 3727 of file txtparae.cxx.
References Add(), exportTextRangeSpan(), FindTextStyle(), and TEXT_TEXT.
Referenced by exportTextRangeEnumeration().
void XMLTextParagraphExport::exportTextRangeEnumeration | ( | const css::uno::Reference< css::container::XEnumeration > & | rRangeEnum, |
bool | bAutoStyles, | ||
bool | bProgress, | ||
bool & | rPrevCharIsSpace | ||
) |
Definition at line 2389 of file txtparae.cxx.
References SvXMLExport::AddAttribute(), Any, CHECK, SvXMLExport::EndElement(), ExportContentControl(), exportMeta(), exportRuby(), exportSoftPageBreak(), exportTextContentEnumeration(), exportTextField(), exportTextFootnote(), exportTextLineBreak(), exportTextMark(), exportTextRange(), XMLStyleExport::GetExport(), gsBookmark(), gsDocumentIndexMark(), gsFootnote, gsFrame(), gsRedline(), gsReferenceMark(), gsRuby(), gsSoftPageBreak(), gsText(), gsTextContentService(), gsTextField(), gsTextFieldEnd(), gsTextFieldSep(), gsTextFieldService(), gsTextFieldStart(), gsTextFieldStartEnd(), gsTextPortionType(), lcl_XmlBookmarkElements, lcl_XmlReferenceElements, m_pIndexMarkExport, m_pRedlineExport, m_xImpl, NONE, ODF_FORMCHECKBOX, ODF_FORMTEXT, SvtSaveOptions::ODFSVER_EXTENDED, sName, SvXMLExport::StartElement(), sType, TEXT, xmloff::token::XML_A, xmloff::token::XML_ANNOTATION_END, xmloff::token::XML_BOOKMARK, xmloff::token::XML_BOOKMARK_END, xmloff::token::XML_BOOKMARK_START, xmloff::token::XML_FIELDMARK, xmloff::token::XML_FIELDMARK_END, xmloff::token::XML_FIELDMARK_SEPARATOR, xmloff::token::XML_FIELDMARK_START, xmloff::token::XML_NAME, XML_NAMESPACE_FIELD, XML_NAMESPACE_OFFICE, XML_NAMESPACE_TEXT, and xmloff::token::XML_TYPE.
Referenced by ExportContentControl(), exportMeta(), and exportParagraph().
void XMLTextParagraphExport::exportTextRangeSpan | ( | const css::uno::Reference< css::text::XTextRange > & | rTextRange, |
css::uno::Reference< css::beans::XPropertySet > const & | xPropSet, | ||
css::uno::Reference< css::beans::XPropertySetInfo > & | xPropSetInfo, | ||
const bool | bIsUICharStyle, | ||
const bool | bHasAutoStyle, | ||
const OUString & | sStyle, | ||
bool & | rPrevCharIsSpace, | ||
FieldmarkType & | openFieldMark | ||
) |
Definition at line 3695 of file txtparae.cxx.
References SvXMLExport::AddAttribute(), exportCharacterData(), XMLStyleExport::GetExport(), gsCharStyleNames, SinglePropertySetInfoCache::hasProperty(), m_aCharStyleNamesPropInfoCache, NONE, TEXT, XML_NAMESPACE_TEXT, xmloff::token::XML_SPAN, xmloff::token::XML_STYLE_NAME, and xmloff::token::XML_TEXT_INPUT.
Referenced by exportTextRange().
void XMLTextParagraphExport::exportTextStyles | ( | bool | bUsed, |
bool | bProg | ||
) |
Definition at line 114 of file txtstyle.cxx.
References XMLLineNumberingExport::Export(), XMLSectionExport::ExportBibliographyConfiguration(), XMLStyleExport::exportDefaultStyle(), exportNumStyles(), XMLStyleExport::exportStyleFamily(), exportTextFootnoteConfiguration(), XMLStyleExport::GetExport(), GetParaPropMapper(), SvXMLExport::GetShapeExport(), GetTextPropMapper(), xmloff::token::GetXMLToken(), IsBlockMode(), m_bProgress, m_xFramePropMapper, TABLE_DEFAULTS, TABLE_ROW_DEFAULTS, TEXT_FRAME, TEXT_PARAGRAPH, TEXT_TEXT, xFactory, xmloff::token::XML_PARAGRAPH, XML_STYLE_FAMILY_SD_GRAPHICS_NAME, xmloff::token::XML_TABLE, xmloff::token::XML_TABLE_ROW, and xmloff::token::XML_TEXT.
void XMLTextParagraphExport::exportTitleAndDescription | ( | const css::uno::Reference< css::beans::XPropertySet > & | rPropSet, |
const css::uno::Reference< css::beans::XPropertySetInfo > & | rPropSetInfo | ||
) |
Definition at line 3664 of file txtparae.cxx.
References SvXMLExport::Characters(), XMLStyleExport::GetExport(), gsDescription(), gsTitle(), xmloff::token::XML_DESC, XML_NAMESPACE_SVG, and xmloff::token::XML_TITLE.
Referenced by _exportTextFrame(), and _exportTextGraphic().
void XMLTextParagraphExport::exportTrackedChanges | ( | bool | bAutoStyle | ) |
Export the list of change information (enclosed by <tracked-changes>) (or the necessary automatic styles)
Definition at line 3924 of file txtparae.cxx.
References m_pRedlineExport.
void XMLTextParagraphExport::exportTrackedChanges | ( | const css::uno::Reference< css::text::XText > & | rText, |
bool | bAutoStyle | ||
) |
Export the list of change information (enclosed by <tracked-changes>) (or the necessary automatic styles)
void XMLTextParagraphExport::exportUsedDeclarations | ( | ) |
OUString XMLTextParagraphExport::Find | ( | XmlStyleFamily | nFamily, |
const css::uno::Reference< css::beans::XPropertySet > & | rPropSet, | ||
const OUString & | rParent, | ||
const o3tl::span< const XMLPropertyState > | aAddStates = {} |
||
) | const |
find style name for specified family and parent
Definition at line 880 of file txtparae.cxx.
References o3tl::span< typename T >::begin(), o3tl::span< typename T >::end(), lcl_validPropState(), SAL_WARN_IF, sName, TEXT_FRAME, TEXT_PARAGRAPH, TEXT_RUBY, and TEXT_SECTION.
Referenced by _exportTextFrame(), _exportTextGraphic(), exportParagraph(), and exportRuby().
OUString XMLTextParagraphExport::FindTextStyle | ( | const css::uno::Reference< css::beans::XPropertySet > & | rPropSet, |
bool & | rbHasCharStyle, | ||
bool & | rbHasAutoStyle, | ||
const XMLPropertyState ** | pAddState = nullptr |
||
) | const |
Definition at line 915 of file txtparae.cxx.
References CTF_CHAR_STYLE_NAME, CTF_HYPERLINK_URL, i, sName, and TEXT_TEXT.
Referenced by exportAnyTextFrame(), exportParagraph(), exportTextFootnote(), and exportTextRange().
|
inline |
Definition at line 180 of file txtparae.hxx.
|
inlineprotected |
Definition at line 166 of file txtparae.hxx.
Referenced by exportTextAutoStyles().
|
inlineprotected |
Definition at line 167 of file txtparae.hxx.
|
inline |
Definition at line 536 of file txtparae.hxx.
|
inline |
Definition at line 551 of file txtparae.hxx.
References maListAutoPool.
Referenced by exportTextContentEnumeration().
|
inline |
Definition at line 515 of file txtparae.hxx.
|
inline |
Definition at line 170 of file txtparae.hxx.
Referenced by exportTextStyles().
|
inline |
Definition at line 188 of file txtparae.hxx.
|
inline |
Definition at line 184 of file txtparae.hxx.
|
inline |
Definition at line 175 of file txtparae.hxx.
Referenced by exportTextStyles().
|
inlineprotected |
Definition at line 378 of file txtparae.hxx.
|
inline |
Definition at line 512 of file txtparae.hxx.
Referenced by exportNumStyles(), exportTextStyles(), and XMLTextParagraphExport().
void XMLTextParagraphExport::PopTextListsHelper | ( | ) |
Definition at line 4341 of file txtparae.cxx.
References maTextListsHelperStack, and mpTextListsHelper.
Referenced by ~XMLTextParagraphExport().
void XMLTextParagraphExport::PreventExportOfControlsInMuteSections | ( | const css::uno::Reference< css::container::XIndexAccess > & | rShapes, |
const rtl::Reference< xmloff::OFormLayerXMLExport > & | xFormExport | ||
) |
exclude form controls which are in mute sections.
This method is necessary to prevent the form layer export from exporting control models whose controls are not represented in the document. To achieve this, this method iterates over all shapes, checks to see if they are control shapes, and if so, whether they should be exported or not. If not, the form layer export will be notified accordingly.
The reason this method is located here is that it needs to access the XMLSectionExport, which is only available here.
Definition at line 4284 of file txtparae.cxx.
References m_pBoundFrameSets, m_pSectionExport, and SAL_WARN_IF.
void XMLTextParagraphExport::PushNewTextListsHelper | ( | ) |
Definition at line 4335 of file txtparae.cxx.
References maTextListsHelperStack, and mpTextListsHelper.
Referenced by XMLTextParagraphExport().
void XMLTextParagraphExport::recordTrackedChangesForXText | ( | const css::uno::Reference< css::text::XText > & | rText | ) |
Record tracked changes for this particular XText (empty reference stop recording) This should be used if tracked changes for e.g.
footers are to be exported separately via the exportTrackedChanges(bool, Reference<XText>) method.
Definition at line 3938 of file txtparae.cxx.
References m_pRedlineExport.
void XMLTextParagraphExport::recordTrackedChangesNoXText | ( | ) |
Stop recording tracked changes.
This is the same as calling recordTrackedChanges(...) with an empty reference.
Definition at line 3945 of file txtparae.cxx.
References m_pRedlineExport.
|
inline |
Definition at line 511 of file txtparae.hxx.
|
private |
Definition at line 1899 of file txtparae.cxx.
References ExportListId(), XMLStyleExport::GetExport(), and mpDocumentListNodes.
Referenced by exportTextContentEnumeration().
|
staticconstexprprivate |
Definition at line 142 of file txtparae.hxx.
Referenced by exportTextFootnoteConfigurationHelper().
|
staticconstexprprivate |
Definition at line 143 of file txtparae.hxx.
Referenced by exportTextFootnoteConfigurationHelper().
|
staticconstexprprivate |
Definition at line 144 of file txtparae.hxx.
Referenced by exportStyleAttributes().
|
staticconstexprprivate |
Definition at line 145 of file txtparae.hxx.
Referenced by exportTextFootnoteConfigurationHelper().
|
staticconstexprprivate |
Definition at line 146 of file txtparae.hxx.
Referenced by exportAnyTextFrame(), exportTextFootnote(), and exportTextRangeSpan().
|
staticconstexprprivate |
Definition at line 147 of file txtparae.hxx.
Referenced by exportTextFootnoteConfigurationHelper().
|
staticconstexprprivate |
Definition at line 148 of file txtparae.hxx.
Referenced by exportTextFootnote(), and exportTextRangeEnumeration().
|
staticconstexprprivate |
Definition at line 149 of file txtparae.hxx.
Referenced by exportTextFootnoteConfigurationHelper().
|
staticconstexprprotected |
Definition at line 163 of file txtparae.hxx.
Referenced by _exportTextFrame(), and _exportTextGraphic().
|
staticconstexprprivate |
Definition at line 150 of file txtparae.hxx.
Referenced by exportTextFootnoteConfigurationHelper().
|
staticconstexprprivate |
Definition at line 151 of file txtparae.hxx.
Referenced by exportStyleAttributes().
|
staticconstexprprivate |
Definition at line 152 of file txtparae.hxx.
Referenced by exportTextFootnoteConfigurationHelper().
|
staticconstexprprivate |
Definition at line 153 of file txtparae.hxx.
Referenced by exportTextFootnoteConfigurationHelper().
|
staticconstexprprivate |
Definition at line 154 of file txtparae.hxx.
Referenced by exportTextFootnoteConfigurationHelper().
|
staticconstexprprivate |
Definition at line 155 of file txtparae.hxx.
Referenced by exportTextFootnoteConfigurationHelper().
|
staticconstexprprivate |
Definition at line 156 of file txtparae.hxx.
Referenced by exportTextFootnoteHelper().
|
staticconstexprprivate |
Definition at line 157 of file txtparae.hxx.
Referenced by exportTextFootnoteConfigurationHelper().
|
staticconstexprprivate |
Definition at line 158 of file txtparae.hxx.
Referenced by exportTextFootnoteConfigurationHelper().
|
staticconstexprprivate |
Definition at line 159 of file txtparae.hxx.
Referenced by exportTextFootnote().
|
staticconstexprprivate |
Definition at line 160 of file txtparae.hxx.
Referenced by exportParagraph().
|
protected |
Definition at line 164 of file txtparae.hxx.
Referenced by exportAnyTextFrame(), exportTextFootnote(), and exportTextRangeSpan().
|
private |
Definition at line 105 of file txtparae.hxx.
|
private |
Definition at line 110 of file txtparae.hxx.
Referenced by exportRuby().
|
private |
Definition at line 103 of file txtparae.hxx.
Referenced by exportStyleAttributes(), and exportTextStyles().
|
private |
Definition at line 93 of file txtparae.hxx.
Referenced by collectTextAutoStylesOptimized(), exportFrameFrames(), exportPageFrames(), and PreventExportOfControlsInMuteSections().
|
private |
Definition at line 94 of file txtparae.hxx.
Referenced by exportTextDeclarations(), exportUsedDeclarations(), XMLTextParagraphExport(), and ~XMLTextParagraphExport().
|
private |
Definition at line 98 of file txtparae.hxx.
Referenced by exportTextRangeEnumeration(), XMLTextParagraphExport(), and ~XMLTextParagraphExport().
|
private |
may be NULL (if no redlines should be exported; e.g. in block mode)
Definition at line 101 of file txtparae.hxx.
Referenced by exportTextContentEnumeration(), exportTextRangeEnumeration(), exportTrackedChanges(), recordTrackedChangesForXText(), recordTrackedChangesNoXText(), XMLTextParagraphExport(), and ~XMLTextParagraphExport().
|
private |
Definition at line 97 of file txtparae.hxx.
Referenced by exportTextContentEnumeration(), PreventExportOfControlsInMuteSections(), XMLTextParagraphExport(), and ~XMLTextParagraphExport().
|
private |
Definition at line 85 of file txtparae.hxx.
Referenced by XMLTextParagraphExport().
|
private |
Definition at line 109 of file txtparae.hxx.
Referenced by exportRuby().
|
private |
Definition at line 108 of file txtparae.hxx.
Referenced by exportRuby().
|
private |
Definition at line 89 of file txtparae.hxx.
Referenced by XMLTextParagraphExport().
|
private |
Definition at line 88 of file txtparae.hxx.
Referenced by exportTextStyles(), and XMLTextParagraphExport().
|
private |
Definition at line 82 of file txtparae.hxx.
Referenced by exportTextRangeEnumeration().
|
private |
Definition at line 86 of file txtparae.hxx.
Referenced by XMLTextParagraphExport().
|
private |
Definition at line 91 of file txtparae.hxx.
Referenced by XMLTextParagraphExport().
|
private |
Definition at line 90 of file txtparae.hxx.
Referenced by XMLTextParagraphExport().
|
private |
Definition at line 87 of file txtparae.hxx.
Referenced by XMLTextParagraphExport().
|
private |
Definition at line 118 of file txtparae.hxx.
Referenced by exportAnyTextFrame().
|
private |
Definition at line 96 of file txtparae.hxx.
Referenced by collectTextAutoStylesOptimized(), exportTextAutoStyles(), and GetListAutoStylePool().
|
private |
Definition at line 95 of file txtparae.hxx.
|
private |
Definition at line 119 of file txtparae.hxx.
Referenced by exportAnyTextFrame().
|
private |
Definition at line 113 of file txtparae.hxx.
Referenced by PopTextListsHelper(), PushNewTextListsHelper(), and ~XMLTextParagraphExport().
|
private |
Definition at line 121 of file txtparae.hxx.
Referenced by collectTextAutoStylesOptimized(), and exportTextAutoStyles().
|
private |
Definition at line 116 of file txtparae.hxx.
Referenced by ShouldSkipListId().
|
private |
Definition at line 112 of file txtparae.hxx.
Referenced by PopTextListsHelper(), and PushNewTextListsHelper().