LibreOffice Module sw (master) 1
|
#include <xmltexte.hxx>
Public Types | |
typedef ::std::unordered_map< SwFrameFormat const *, ::std::optional< OUString > > | FormatMap |
Public Types inherited from XMLTextParagraphExport | |
enum | FieldmarkType |
Public Member Functions | |
SwXMLTextParagraphExport (SwXMLExport &rExp, SvXMLAutoStylePoolP &rAutoStylePool) | |
virtual | ~SwXMLTextParagraphExport () override |
::std::unordered_map< SwTableNode const *, ::std::pair< FormatMap, FormatMap > > const & | GetTableFormats () const |
::std::unordered_map< SwTableNode const *, ::std::pair< FormatMap, FormatMap > > & | GetTableFormats () |
Public Member Functions inherited from XMLTextParagraphExport | |
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) |
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 |
void | exportTextStyles (bool bUsed, bool bProg) |
void | exportTextDeclarations () |
void | exportTextDeclarations (const css::uno::Reference< css::text::XText > &rText) |
void | exportUsedDeclarations () |
void | exportTrackedChanges (bool bAutoStyle) |
void | exportTrackedChanges (const css::uno::Reference< css::text::XText > &rText, bool bAutoStyle) |
void | recordTrackedChangesForXText (const css::uno::Reference< css::text::XText > &rText) |
void | recordTrackedChangesNoXText () |
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) |
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) |
Protected Member Functions | |
virtual void | _collectTextEmbeddedAutoStyles (const css::uno::Reference< css::beans::XPropertySet > &rPropSet) override |
virtual void | _exportTextEmbedded (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const css::uno::Reference< css::beans::XPropertySetInfo > &rPropSetInfo) override |
virtual void | exportTable (const css::uno::Reference< css::text::XTextContent > &rTextContent, bool bAutoStyles, bool bProgress) override |
virtual void | exportTableAutoStyles () override |
Protected Member Functions inherited from XMLTextParagraphExport | |
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) |
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) |
void | exportTextFootnoteConfiguration () |
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) |
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) |
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) |
void | exportMeta (const css::uno::Reference< css::beans::XPropertySet > &i_xPortion, bool i_bAutoStyles, bool i_isProgress, bool &rPrevCharIsSpace) |
void | ExportContentControl (const css::uno::Reference< css::beans::XPropertySet > &xPortion, bool bAutoStyles, bool isProgress, bool &rPrevCharIsSpace) |
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) |
Private Member Functions | |
void | CollectTableLinesAutoStyles (const SwTableLines &rLines, SwFrameFormat &rFormat, bool bProgress) |
Static Private Member Functions | |
static SwNoTextNode * | GetNoTextNode (const css::uno::Reference< css::beans::XPropertySet > &rPropSet) |
Private Attributes | |
const SvGlobalName | m_aAppletClassId |
const SvGlobalName | m_aPluginClassId |
const SvGlobalName | m_aIFrameClassId |
std::vector< const SwTableNode * > | maTableNodes |
::std::unordered_map< SwTableNode const *, ::std::pair< FormatMap, FormatMap > > | m_TableFormats |
Additional Inherited Members | |
Static Public Member Functions inherited from XMLTextParagraphExport | |
static SvXMLExportPropertyMapper * | CreateShapeExtPropMapper (SvXMLExport &rExport) |
static SvXMLExportPropertyMapper * | CreateCharExtPropMapper (SvXMLExport &rExport) |
static SvXMLExportPropertyMapper * | CreateParaExtPropMapper (SvXMLExport &rExport) |
static SvXMLExportPropertyMapper * | CreateParaDefaultExtPropMapper (SvXMLExport &rExport) |
Public Attributes inherited from XMLTextParagraphExport | |
NONE | |
TEXT | |
CHECK | |
Protected Attributes inherited from XMLTextParagraphExport | |
SinglePropertySetInfoCache | m_aCharStyleNamesPropInfoCache |
Static Protected Attributes inherited from XMLTextParagraphExport | |
static constexpr OUStringLiteral | gsFrameStyleName |
Definition at line 38 of file xmltexte.hxx.
typedef ::std::unordered_map<SwFrameFormat const*, ::std::optional<OUString> > SwXMLTextParagraphExport::FormatMap |
Definition at line 47 of file xmltexte.hxx.
SwXMLTextParagraphExport::SwXMLTextParagraphExport | ( | SwXMLExport & | rExp, |
SvXMLAutoStylePoolP & | rAutoStylePool | ||
) |
Definition at line 81 of file xmltexte.cxx.
References SO3_APPLET_CLASSID, SO3_IFRAME_CLASSID, and SO3_PLUGIN_CLASSID.
|
overridevirtual |
Definition at line 91 of file xmltexte.cxx.
|
overrideprotectedvirtual |
Reimplemented from XMLTextParagraphExport.
Definition at line 184 of file xmltexte.cxx.
References XMLTextParagraphExport::Add(), XMLTextParagraphExport::GetAutoFramePropMapper(), GetNoTextNode(), SwOLEObj::GetObject(), svt::EmbeddedObjectRef::GetObject(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), svt::EmbeddedObjectRef::is(), SotExchange::IsInternal(), lcl_addAspect(), lcl_addFrameProperties(), lcl_addOutplaceProperties(), and m_aIFrameClassId.
|
overrideprotectedvirtual |
Reimplemented from XMLTextParagraphExport.
Definition at line 213 of file xmltexte.cxx.
References aBuffer, SvXMLExport::AddAttribute(), SvXMLExport::AddEmbeddedObject(), SvXMLExport::AddEmbeddedObjectAsBase64(), XMLTextParagraphExport::addTextFrameAttributes(), Any, aStr, XMLTextParagraphExport::exportContour(), SvXMLExport::ExportEmbeddedOwnObject(), XMLTextParagraphExport::exportEvents(), XMLTextParagraphExport::exportTitleAndDescription(), XMLTextParagraphExport::Find(), XMLTextParagraphExport::GetAutoFramePropMapper(), SwOLENode::GetChartTableName(), SwOLEObj::GetCurrentPersistName(), XMLStyleExport::GetExport(), SvXMLExport::getExportFlags(), GetNoTextNode(), SwOLEObj::GetObject(), svt::EmbeddedObjectRef::GetObject(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwApplet_Impl::GetOptionType(), gsEmbeddedObjectProtocol(), XMLTextParagraphExport::gsFrameStyleName, i, svt::EmbeddedObjectRef::is(), SotExchange::IsInternal(), lcl_addAspect(), lcl_addFrameProperties(), lcl_addOutplaceProperties(), lcl_addURL(), m_aAppletClassId, m_aIFrameClassId, m_aPluginClassId, nType, nType2, PARAM, SIZE, TAG, svt::EmbeddedObjectRef::TryRunningState(), XML__UNKNOWN_, XML_APPLET, XML_APPLET_NAME, XML_CODE, XML_EMBEDDEDOBJECTGRAPHIC_URL_BASE, XML_FALSE, XML_FLOATING_FRAME, XML_FRAME, XML_FRAME_NAME, XML_IMAGE, XML_MAY_SCRIPT, XML_MIME_TYPE, XML_NAME, XML_NAMESPACE_DRAW, XML_NOTIFY_ON_UPDATE_OF_RANGES, XML_OBJECT, XML_OBJECT_OLE, XML_PARAM, XML_PLUGIN, XML_STYLE_NAME, XML_TRUE, and XML_VALUE.
|
private |
Definition at line 1194 of file xmltble.cxx.
References CollectTableLinesAutoStyles(), SwXCell::CreateXCell(), and XMLTextParagraphExport::exportText().
Referenced by CollectTableLinesAutoStyles(), and exportTable().
|
overrideprotectedvirtual |
Reimplemented from XMLTextParagraphExport.
Definition at line 1218 of file xmltble.cxx.
References CollectTableLinesAutoStyles(), SwTable::FindTable(), SwFormat::GetDoc(), XMLStyleExport::GetExport(), SwXTextTable::GetFrameFormat(), SwTable::GetTableNode(), SwTable::GetTabLines(), XMLTextParagraphExport::isAutoStylesCollected(), SwDoc::IsInHeaderFooter(), m_TableFormats, and maTableNodes.
|
overrideprotectedvirtual |
Reimplemented from XMLTextParagraphExport.
Definition at line 1186 of file xmltble.cxx.
References XMLStyleExport::GetExport(), and maTableNodes.
|
staticprivate |
Definition at line 68 of file xmltexte.cxx.
References SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNodeIndex::GetIndex(), and SwNodeIndex::GetNodes().
Referenced by _collectTextEmbeddedAutoStyles(), and _exportTextEmbedded().
|
inline |
Definition at line 79 of file xmltexte.hxx.
References m_TableFormats.
|
inline |
Definition at line 77 of file xmltexte.hxx.
References m_TableFormats.
|
private |
Definition at line 40 of file xmltexte.hxx.
Referenced by _exportTextEmbedded().
|
private |
Definition at line 42 of file xmltexte.hxx.
Referenced by _collectTextEmbeddedAutoStyles(), and _exportTextEmbedded().
|
private |
Definition at line 41 of file xmltexte.hxx.
Referenced by _exportTextEmbedded().
|
private |
Definition at line 49 of file xmltexte.hxx.
Referenced by exportTable(), and GetTableFormats().
|
private |
Definition at line 45 of file xmltexte.hxx.
Referenced by exportTable(), and exportTableAutoStyles().