LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Static Private Member Functions | Private Attributes | List of all members
SwXMLTextParagraphExport Class Reference

#include <xmltexte.hxx>

Inheritance diagram for SwXMLTextParagraphExport:
[legend]
Collaboration diagram for SwXMLTextParagraphExport:
[legend]

Public Member Functions

 SwXMLTextParagraphExport (SwXMLExport &rExp, SvXMLAutoStylePoolP &rAutoStylePool)
 
virtual ~SwXMLTextParagraphExport () override
 
- 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 FindTextStyleAndHyperlink (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, bool &rbHyperlink, bool &rbHasCharStyle, bool &rbHasAutoStyle, const XMLPropertyState **pAddState=nullptr) const
 
bool addHyperlinkAttributes (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const css::uno::Reference< css::beans::XPropertyState > &rPropState, const css::uno::Reference< css::beans::XPropertySetInfo > &rPropSetInfo)
 
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 (sal_uInt16 nFamily, MultiPropertySetHelper &rPropSetHelper, const css::uno::Reference< css::beans::XPropertySet > &rPropSet)
 
void Add (sal_uInt16 nFamily, const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const XMLPropertyState **pAddState=nullptr, bool bDontSeek=false)
 
OUString Find (sal_uInt16 nFamily, const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const OUString &rParent, const XMLPropertyState **pAddState=nullptr) 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 XMLTextListAutoStylePoolGetListAutoStylePool () 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)
 
SinglePropertySetInfoCacheGetCharStyleNamesPropInfoCache ()
 
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, sal_uInt16 nFamily, const OUString *pPrefix=nullptr)
 
void exportStyleFamily (const sal_Char *pFamily, const OUString &rXMLFamily, const rtl::Reference< SvXMLExportPropertyMapper > &rPropMapper, bool bUsed, sal_uInt16 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
 
- Protected Member Functions inherited from XMLTextParagraphExport
SvXMLAutoStylePoolPGetAutoStylePool ()
 
const SvXMLAutoStylePoolPGetAutoStylePool () 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 > *pParentTxtFrame)
 
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)
 
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)
 
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 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)
 
- Protected Member Functions inherited from XMLStyleExport
SvXMLExportGetExport ()
 
const SvXMLExportGetExport () 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 exportStyleContent (const css::uno::Reference< css::style::XStyle > &rStyle)
 

Static Private Member Functions

static SwNoTextNodeGetNoTextNode (const css::uno::Reference< css::beans::XPropertySet > &rPropSet)
 

Private Attributes

const SvGlobalName aAppletClassId
 
const SvGlobalName aPluginClassId
 
const SvGlobalName aIFrameClassId
 

Additional Inherited Members

- Public Types inherited from XMLTextParagraphExport
enum  FieldmarkType
 
- Static Public Member Functions inherited from XMLTextParagraphExport
static SvXMLExportPropertyMapperCreateShapeExtPropMapper (SvXMLExport &rExport)
 
static SvXMLExportPropertyMapperCreateCharExtPropMapper (SvXMLExport &rExport)
 
static SvXMLExportPropertyMapperCreateParaExtPropMapper (SvXMLExport &rExport)
 
static SvXMLExportPropertyMapperCreateParaDefaultExtPropMapper (SvXMLExport &rExport)
 
- Public Attributes inherited from XMLTextParagraphExport
 NONE
 
 TEXT
 
 CHECK
 
- Protected Attributes inherited from XMLTextParagraphExport
SinglePropertySetInfoCache aCharStyleNamesPropInfoCache
 
- Static Protected Attributes inherited from XMLTextParagraphExport
static const OUStringLiteral gsFrameStyleName
 

Detailed Description

Definition at line 35 of file xmltexte.hxx.

Constructor & Destructor Documentation

SwXMLTextParagraphExport::SwXMLTextParagraphExport ( SwXMLExport rExp,
SvXMLAutoStylePoolP rAutoStylePool 
)

Definition at line 86 of file xmltexte.cxx.

References SO3_APPLET_CLASSID, SO3_IFRAME_CLASSID, and SO3_PLUGIN_CLASSID.

SwXMLTextParagraphExport::~SwXMLTextParagraphExport ( )
overridevirtual

Definition at line 96 of file xmltexte.cxx.

Member Function Documentation

void SwXMLTextParagraphExport::_collectTextEmbeddedAutoStyles ( const css::uno::Reference< css::beans::XPropertySet > &  rPropSet)
overrideprotectedvirtual
void SwXMLTextParagraphExport::_exportTextEmbedded ( const css::uno::Reference< css::beans::XPropertySet > &  rPropSet,
const css::uno::Reference< css::beans::XPropertySetInfo > &  rPropSetInfo 
)
overrideprotectedvirtual

Reimplemented from XMLTextParagraphExport.

Definition at line 243 of file xmltexte.cxx.

References aAppletClassId, SvXMLExport::AddAttribute(), SvXMLExport::AddEmbeddedObject(), SvXMLExport::AddEmbeddedObjectAsBase64(), XMLTextParagraphExport::addTextFrameAttributes(), aIFrameClassId, Any, aPluginClassId, aStr, XMLTextParagraphExport::exportContour(), SvXMLExport::ExportEmbeddedOwnObject(), XMLTextParagraphExport::exportEvents(), XMLTextParagraphExport::exportTitleAndDescription(), XMLTextParagraphExport::Find(), XMLTextParagraphExport::GetAutoFramePropMapper(), SwOLENode::GetChartTableName(), SwOLEObj::GetCurrentPersistName(), XMLStyleExport::GetExport(), SvXMLExport::getExportFlags(), GetNoTextNode(), svt::EmbeddedObjectRef::GetObject(), SwOLEObj::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(), nType, nType2, PARAM, SIZE, SV_EMBEDDED_APPLET, SV_EMBEDDED_FRAME, SV_EMBEDDED_OUTPLACE, SV_EMBEDDED_OWN, SV_EMBEDDED_PLUGIN, 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_NOTIFY_ON_UPDATE_OF_RANGES, XML_OBJECT, XML_OBJECT_OLE, XML_PARAM, XML_PLUGIN, XML_STYLE_FAMILY_TEXT_FRAME, XML_STYLE_NAME, XML_TRUE, and XML_VALUE.

void SwXMLTextParagraphExport::exportTable ( const css::uno::Reference< css::text::XTextContent > &  rTextContent,
bool  bAutoStyles,
bool  bProgress 
)
overrideprotectedvirtual
SwNoTextNode * SwXMLTextParagraphExport::GetNoTextNode ( const css::uno::Reference< css::beans::XPropertySet > &  rPropSet)
staticprivate

Member Data Documentation

const SvGlobalName SwXMLTextParagraphExport::aAppletClassId
private

Definition at line 37 of file xmltexte.hxx.

Referenced by _exportTextEmbedded().

const SvGlobalName SwXMLTextParagraphExport::aIFrameClassId
private

Definition at line 39 of file xmltexte.hxx.

Referenced by _collectTextEmbeddedAutoStyles(), and _exportTextEmbedded().

const SvGlobalName SwXMLTextParagraphExport::aPluginClassId
private

Definition at line 38 of file xmltexte.hxx.

Referenced by _exportTextEmbedded().


The documentation for this class was generated from the following files: