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/xmlnmspe.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/nmspmap.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

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

Enumeration Type Documentation

Definition at line 382 of file txtparae.cxx.

Definition at line 360 of file txtparae.cxx.

Function Documentation

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

Definition at line 2534 of file txtparae.cxx.

Referenced by XMLTextParagraphExport::exportAnyTextFrame().

static bool lcl_validPropState ( const XMLPropertyState rState)
static

Definition at line 670 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",
nullptr
}

Definition at line 369 of file txtparae.cxx.

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

Definition at line 350 of file txtparae.cxx.

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

Definition at line 326 of file txtparae.cxx.