LibreOffice Module xmloff (master)  1
Classes | Namespaces | Enumerations | Functions | Variables
txtparae.cxx File Reference
#include <sal/config.h>
#include <o3tl/any.hxx>
#include <xmloff/unointerfacetouniqueidentifiermapper.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/types.h>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
#include <com/sun/star/container/XIndexReplace.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/text/XTextDocument.hpp>
#include <com/sun/star/text/XTextSectionsSupplier.hpp>
#include <com/sun/star/text/XTextTablesSupplier.hpp>
#include <com/sun/star/text/XNumberingRulesSupplier.hpp>
#include <com/sun/star/text/XChapterNumberingSupplier.hpp>
#include <com/sun/star/text/XTextTable.hpp>
#include <com/sun/star/text/XText.hpp>
#include <com/sun/star/text/XTextContent.hpp>
#include <com/sun/star/text/XTextRange.hpp>
#include <com/sun/star/text/XTextField.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
#include <com/sun/star/text/XTextFrame.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/text/SizeType.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
#include <com/sun/star/text/VertOrientation.hpp>
#include <com/sun/star/text/TextContentAnchorType.hpp>
#include <com/sun/star/text/XTextFramesSupplier.hpp>
#include <com/sun/star/text/XTextGraphicObjectsSupplier.hpp>
#include <com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/document/XEmbeddedObjectSupplier.hpp>
#include <com/sun/star/document/XEventsSupplier.hpp>
#include <com/sun/star/document/XRedlinesSupplier.hpp>
#include <com/sun/star/text/XFormField.hpp>
#include <com/sun/star/text/XTextSection.hpp>
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/style/XAutoStylesSupplier.hpp>
#include <com/sun/star/style/XAutoStyleFamily.hpp>
#include <com/sun/star/text/XTextFieldsSupplier.hpp>
#include <com/sun/star/drawing/XControlShape.hpp>
#include <com/sun/star/util/DateTime.hpp>
#include <sax/tools/converter.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmlaustp.hxx>
#include <xmloff/families.hxx>
#include "txtexppr.hxx"
#include <xmloff/xmluconv.hxx>
#include "XMLAnchorTypePropHdl.hxx"
#include <xexptran.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include <xmloff/namespacemap.hxx>
#include <xmloff/xmlexp.hxx>
#include <txtflde.hxx>
#include <xmloff/txtprmap.hxx>
#include <XMLImageMapExport.hxx>
#include "XMLTextNumRuleInfo.hxx"
#include <xmloff/XMLTextListAutoStylePool.hxx>
#include <xmloff/txtparae.hxx>
#include "XMLSectionExport.hxx"
#include "XMLIndexMarkExport.hxx"
#include <xmloff/XMLEventExport.hxx>
#include "XMLRedlineExport.hxx"
#include <MultiPropertySetHelper.hxx>
#include <xmloff/formlayerexport.hxx>
#include "XMLTextCharStyleNamesElementExport.hxx"
#include <xmloff/odffields.hxx>
#include <xmloff/maptype.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/XTransactedObject.hpp>
#include <com/sun/star/document/XStorageBasedDocument.hpp>
#include <txtlists.hxx>
#include <com/sun/star/rdf/XMetadatable.hpp>
#include <list>
#include <unordered_map>
#include <memory>
#include <vector>
#include <algorithm>
#include <iterator>
#include <officecfg/Office/Common.hxx>
Include dependency graph for txtparae.cxx:

Go to the source code of this file.

Classes

class  xmloff::BoundFrameSets
 
struct  XMLTextParagraphExport::Impl
 

Namespaces

 xmloff
 

Enumerations

enum  eParagraphPropertyNamesEnumAuto
 
enum  eParagraphPropertyNamesEnum
 

Functions

const OUStringLiteral gsTitle (u"Title")
 
const OUStringLiteral gsDescription (u"Description")
 
const OUStringLiteral gsAnchorPageNo (u"AnchorPageNo")
 
const OUStringLiteral gsAnchorType (u"AnchorType")
 
const OUStringLiteral gsBookmark (u"Bookmark")
 
const OUStringLiteral gsChainNextName (u"ChainNextName")
 
const OUStringLiteral gsContourPolyPolygon (u"ContourPolyPolygon")
 
const OUStringLiteral gsDocumentIndexMark (u"DocumentIndexMark")
 
const OUStringLiteral gsFrame (u"Frame")
 
const OUStringLiteral gsGraphicFilter (u"GraphicFilter")
 
const OUStringLiteral gsGraphicRotation (u"GraphicRotation")
 
const OUStringLiteral gsHeight (u"Height")
 
const OUStringLiteral gsHoriOrient (u"HoriOrient")
 
const OUStringLiteral gsHoriOrientPosition (u"HoriOrientPosition")
 
const OUStringLiteral gsHyperLinkName (u"HyperLinkName")
 
const OUStringLiteral gsHyperLinkTarget (u"HyperLinkTarget")
 
const OUStringLiteral gsHyperLinkURL (u"HyperLinkURL")
 
const OUStringLiteral gsIsAutomaticContour (u"IsAutomaticContour")
 
const OUStringLiteral gsIsCollapsed (u"IsCollapsed")
 
const OUStringLiteral gsIsPixelContour (u"IsPixelContour")
 
const OUStringLiteral gsIsStart (u"IsStart")
 
const OUStringLiteral gsIsSyncHeightToWidth (u"IsSyncHeightToWidth")
 
const OUStringLiteral gsIsSyncWidthToHeight (u"IsSyncWidthToHeight")
 
const OUStringLiteral gsNumberingRules (u"NumberingRules")
 
const OUStringLiteral gsParaConditionalStyleName (u"ParaConditionalStyleName")
 
const OUStringLiteral gsParagraphService (u"com.sun.star.text.Paragraph")
 
const OUStringLiteral gsRedline (u"Redline")
 
const OUStringLiteral gsReferenceMark (u"ReferenceMark")
 
const OUStringLiteral gsRelativeHeight (u"RelativeHeight")
 
const OUStringLiteral gsRelativeWidth (u"RelativeWidth")
 
const OUStringLiteral gsRuby (u"Ruby")
 
const OUStringLiteral gsRubyCharStyleName (u"RubyCharStyleName")
 
const OUStringLiteral gsRubyText (u"RubyText")
 
const OUStringLiteral gsServerMap (u"ServerMap")
 
const OUStringLiteral gsShapeService (u"com.sun.star.drawing.Shape")
 
const OUStringLiteral gsSizeType (u"SizeType")
 
const OUStringLiteral gsSoftPageBreak (u"SoftPageBreak")
 
const OUStringLiteral gsTableService (u"com.sun.star.text.TextTable")
 
const OUStringLiteral gsText (u"Text")
 
const OUStringLiteral gsTextContentService (u"com.sun.star.text.TextContent")
 
const OUStringLiteral gsTextEmbeddedService (u"com.sun.star.text.TextEmbeddedObject")
 
const OUStringLiteral gsTextField (u"TextField")
 
const OUStringLiteral gsTextFieldService (u"com.sun.star.text.TextField")
 
const OUStringLiteral gsTextFrameService (u"com.sun.star.text.TextFrame")
 
const OUStringLiteral gsTextGraphicService (u"com.sun.star.text.TextGraphicObject")
 
const OUStringLiteral gsTextPortionType (u"TextPortionType")
 
const OUStringLiteral gsUnvisitedCharStyleName (u"UnvisitedCharStyleName")
 
const OUStringLiteral gsVertOrient (u"VertOrient")
 
const OUStringLiteral gsVertOrientPosition (u"VertOrientPosition")
 
const OUStringLiteral gsVisitedCharStyleName (u"VisitedCharStyleName")
 
const OUStringLiteral gsWidth (u"Width")
 
const OUStringLiteral gsWidthType (u"WidthType")
 
const OUStringLiteral gsTextFieldStart (u"TextFieldStart")
 
const OUStringLiteral gsTextFieldEnd (u"TextFieldEnd")
 
const OUStringLiteral gsTextFieldStartEnd (u"TextFieldStartEnd")
 
static bool lcl_validPropState (const XMLPropertyState &rState)
 
static bool lcl_txtpara_isBoundAsChar (const Reference< XPropertySet > &rPropSet, const Reference< XPropertySetInfo > &rPropSetInfo)
 

Variables

static bool txtparae_bContainsIllegalCharacters = false
 
static const char * aParagraphPropertyNamesAuto []
 
static const char * aParagraphPropertyNames []
 
enum XMLTokenEnum lcl_XmlReferenceElements []
 
enum XMLTokenEnum lcl_XmlBookmarkElements []
 

Enumeration Type Documentation

Definition at line 362 of file txtparae.cxx.

Definition at line 339 of file txtparae.cxx.

Function Documentation

const OUStringLiteral gsAnchorPageNo ( u"AnchorPageNo"  )
const OUStringLiteral gsAnchorType ( u"AnchorType"  )
const OUStringLiteral gsBookmark ( u"Bookmark"  )
const OUStringLiteral gsChainNextName ( u"ChainNextName"  )
const OUStringLiteral gsContourPolyPolygon ( u"ContourPolyPolygon"  )
const OUStringLiteral gsDescription ( u"Description"  )
const OUStringLiteral gsDocumentIndexMark ( u"DocumentIndexMark"  )
const OUStringLiteral gsFrame ( u"Frame"  )
const OUStringLiteral gsGraphicFilter ( u"GraphicFilter"  )
const OUStringLiteral gsGraphicRotation ( u"GraphicRotation"  )
const OUStringLiteral gsHeight ( u"Height"  )
const OUStringLiteral gsHoriOrient ( u"HoriOrient"  )
const OUStringLiteral gsHoriOrientPosition ( u"HoriOrientPosition"  )
const OUStringLiteral gsHyperLinkName ( u"HyperLinkName"  )
const OUStringLiteral gsHyperLinkTarget ( u"HyperLinkTarget"  )
const OUStringLiteral gsHyperLinkURL ( u"HyperLinkURL"  )
const OUStringLiteral gsIsAutomaticContour ( u"IsAutomaticContour"  )
const OUStringLiteral gsIsCollapsed ( u"IsCollapsed"  )
const OUStringLiteral gsIsPixelContour ( u"IsPixelContour"  )
const OUStringLiteral gsIsStart ( u"IsStart"  )
const OUStringLiteral gsIsSyncHeightToWidth ( u"IsSyncHeightToWidth"  )
const OUStringLiteral gsIsSyncWidthToHeight ( u"IsSyncWidthToHeight"  )
const OUStringLiteral gsNumberingRules ( u"NumberingRules"  )
const OUStringLiteral gsParaConditionalStyleName ( u"ParaConditionalStyleName"  )
const OUStringLiteral gsParagraphService ( u"com.sun.star.text.Paragraph"  )
const OUStringLiteral gsRedline ( u"Redline"  )
const OUStringLiteral gsReferenceMark ( u"ReferenceMark"  )
const OUStringLiteral gsRelativeHeight ( u"RelativeHeight"  )
const OUStringLiteral gsRelativeWidth ( u"RelativeWidth"  )
const OUStringLiteral gsRuby ( u"Ruby"  )
const OUStringLiteral gsRubyCharStyleName ( u"RubyCharStyleName"  )
const OUStringLiteral gsRubyText ( u"RubyText"  )
const OUStringLiteral gsServerMap ( u"ServerMap"  )
const OUStringLiteral gsShapeService ( u"com.sun.star.drawing.Shape"  )
const OUStringLiteral gsSizeType ( u"SizeType"  )
const OUStringLiteral gsSoftPageBreak ( u"SoftPageBreak"  )
const OUStringLiteral gsTableService ( u"com.sun.star.text.TextTable"  )
const OUStringLiteral gsText ( u"Text"  )
const OUStringLiteral gsTextContentService ( u"com.sun.star.text.TextContent"  )
const OUStringLiteral gsTextEmbeddedService ( u"com.sun.star.text.TextEmbeddedObject"  )
const OUStringLiteral gsTextField ( u"TextField"  )
const OUStringLiteral gsTextFieldEnd ( u"TextFieldEnd"  )
const OUStringLiteral gsTextFieldService ( u"com.sun.star.text.TextField"  )
const OUStringLiteral gsTextFieldStart ( u"TextFieldStart"  )
const OUStringLiteral gsTextFieldStartEnd ( u"TextFieldStartEnd"  )
const OUStringLiteral gsTextFrameService ( u"com.sun.star.text.TextFrame"  )
const OUStringLiteral gsTextGraphicService ( u"com.sun.star.text.TextGraphicObject"  )
const OUStringLiteral gsTextPortionType ( u"TextPortionType"  )
const OUStringLiteral gsTitle ( u"Title"  )
const OUStringLiteral gsUnvisitedCharStyleName ( u"UnvisitedCharStyleName"  )
const OUStringLiteral gsVertOrient ( u"VertOrient"  )
const OUStringLiteral gsVertOrientPosition ( u"VertOrientPosition"  )
const OUStringLiteral gsVisitedCharStyleName ( u"VisitedCharStyleName"  )
const OUStringLiteral gsWidth ( u"Width"  )
const OUStringLiteral gsWidthType ( u"WidthType"  )
static bool lcl_txtpara_isBoundAsChar ( const Reference< XPropertySet > &  rPropSet,
const Reference< XPropertySetInfo > &  rPropSetInfo 
)
static

Definition at line 2526 of file txtparae.cxx.

Referenced by XMLTextParagraphExport::exportAnyTextFrame().

static bool lcl_validPropState ( const XMLPropertyState rState)
static

Definition at line 651 of file txtparae.cxx.

References XMLPropertyState::mnIndex.

Referenced by XMLTextParagraphExport::Find().

Variable Documentation

const char* aParagraphPropertyNames[]
static
Initial value:
=
{
"NumberingIsNumber",
"NumberingStyleName",
"OutlineLevel",
"ParaConditionalStyleName",
"ParaStyleName",
"TextSection",
"OutlineContentVisible",
nullptr
}

Definition at line 348 of file txtparae.cxx.

const char* aParagraphPropertyNamesAuto[]
static
Initial value:
=
{
"NumberingRules",
"ParaConditionalStyleName",
"ParaStyleName",
nullptr
}

Definition at line 329 of file txtparae.cxx.

enum XMLTokenEnum lcl_XmlBookmarkElements[]
enum XMLTokenEnum lcl_XmlReferenceElements[]
bool txtparae_bContainsIllegalCharacters = false
static

Definition at line 305 of file txtparae.cxx.