LibreOffice Module oox (master) 1
Classes | Typedefs | Enumerations | Functions
oox::ppt Namespace Reference

Classes

struct  AnimationCondition
 data for CT_TLTimeCondition More...
 
struct  AnimTargetElement
 data for CT_TLTimeTargetElement More...
 
class  AnimVariantContext
 context CT_TLAnimVariant More...
 
struct  Attribute
 
class  BackgroundPropertiesContext
 
class  BuildListContext
 CT_BuildList. More...
 
class  Comment
 
struct  CommentAuthor
 
class  CommentAuthorList
 
class  CommentList
 
class  CommonBehaviorContext
 CT_TLCommonBehaviorData. More...
 
class  CommonTimeNodeContext
 CT_TLCommonTimeNodeData. More...
 
class  CondContext
 CT_TLTimeCondition. More...
 
class  CondListContext
 CT_TLTimeConditionList. More...
 
struct  convert_subtype
 
struct  CustomShow
 
class  CustomShowListContext
 CT_. More...
 
class  ExtDrawingFragmentHandler
 
struct  HeaderFooter
 
class  HeaderFooterContext
 CT_HeaderFooter. More...
 
struct  ImplAttributeNameConversion
 
class  LayoutFragmentHandler
 
class  PowerPointImport
 
class  PPTGraphicShapeContext
 
class  PPTShape
 
class  PPTShapeContext
 
class  PPTShapeGroupContext
 
class  PPTShapePropertiesContext
 
class  PresentationFragmentHandler
 
struct  preset_mapping
 
class  PresPropsFragmentHandler
 
struct  ShapeTargetElement
 data for CT_TLShapeTargetElement More...
 
class  SlideFragmentHandler
 
class  SlideMasterTextStylesContext
 
class  SlidePersist
 
class  SlideTimingContext
 
class  SlideTransition
 
class  SlideTransitionContext
 
class  SoundActionContext
 
struct  TimeAnimationValue
 
class  TimeAnimValueListContext
 CT_TLTimeAnimateValueList. More...
 
class  TimeNode
 
class  TimeNodeContext
 
class  TimeNodeListContext
 FastParser context for XML_tnLst, XML_subTnLst and XML_childTnLst. More...
 
class  TimeTargetElementContext
 context CT_TLTimeTargetElement More...
 
struct  transition
 

Typedefs

typedef std::array< css::uno::Any, NP_SIZE_NodePropertyMap
 
typedef std::shared_ptr< AnimTargetElementAnimTargetElementPtr
 
typedef std::vector< AnimationConditionAnimationConditionList
 
typedef ::std::vector< TimeAnimationValueTimeAnimationValueList
 
typedef std::shared_ptr< SlidePersistSlidePersistPtr
 
typedef std::shared_ptr< TimeNodeTimeNodePtr
 
typedef std::vector< TimeNodePtrTimeNodePtrList
 

Enumerations

enum  {
  NP_TO = 0 ,
  NP_FROM ,
  NP_BY ,
  NP_USERDATA ,
  NP_ATTRIBUTENAME ,
  NP_ACCELERATION ,
  NP_AUTOREVERSE ,
  NP_DECELERATE ,
  NP_DURATION ,
  NP_FILL ,
  NP_REPEATCOUNT ,
  NP_REPEATDURATION ,
  NP_RESTART ,
  NP_DIRECTION ,
  NP_COLORINTERPOLATION ,
  NP_CALCMODE ,
  NP_TRANSFORMTYPE ,
  NP_PATH ,
  NP_ENDSYNC ,
  NP_ITERATETYPE ,
  NP_ITERATEINTERVAL ,
  NP_SUBITEM ,
  NP_TARGET ,
  NP_COMMAND ,
  NP_PARAMETER ,
  NP_VALUES ,
  NP_FORMULA ,
  NP_KEYTIMES ,
  NP_DISPLAY ,
  NP_HIDEDURINGSHOW ,
  NP_ISNARRATION ,
  NP_SIZE_
}
 
enum class  AnimationAttributeEnum {
  PPT_X ,
  PPT_Y ,
  PPT_W ,
  PPT_H ,
  PPT_C ,
  R ,
  XSHEAR ,
  FILLCOLOR ,
  FILLTYPE ,
  FILLON ,
  STROKECOLOR ,
  STROKEON ,
  STYLECOLOR ,
  STYLEROTATION ,
  FONTWEIGHT ,
  STYLEUNDERLINE ,
  STYLEFONTFAMILY ,
  STYLEFONTSIZE ,
  STYLEFONTSTYLE ,
  STYLEVISIBILITY ,
  STYLEOPACITY ,
  UNKNOWN
}
 
enum  ShapeLocation {
  Master ,
  Layout ,
  Slide
}
 

Functions

Any GetTime (const OUString &val)
 
Any GetTimeAnimateValueTime (const OUString &val)
 
OUString getConvertedSubType (sal_Int16 nPresetClass, sal_Int32 nPresetId, sal_Int32 nPresetSubType)
 
const ImplAttributeNameConversiongetAttributeConversionList ()
 
bool convertMeasure (OUString &rString)
 convert the measure string to LibreOffice format. More...
 
bool convertAnimationValue (AnimationAttributeEnum eAttribute, css::uno::Any &rValue)
 convert attribute values of the animation target so that LibreOffice understand. More...
 
static const char * lclDebugSubType (sal_Int32 nType)
 
static void setTextStyle (Reference< beans::XPropertySet > const &rxPropSet, const XmlFilterBase &rFilter, oox::drawingml::TextListStylePtr const &pTextListStylePtr, int nLevel)
 
static sal_Int32 lcl_GetAngle (uno::Reference< drawing::XShape > &rXShape, awt::Point &rPt)
 
static void lcl_SetEdgeLineValue (uno::Reference< drawing::XShape > &rXConnector, oox::drawingml::ShapePtr &rShapePtr)
 
void fixMainSequenceTiming (const css::uno::Reference< css::animations::XAnimationNode > &xNode)
 
void fixInteractiveSequenceTiming (const css::uno::Reference< css::animations::XAnimationNode > &xNode)
 

Typedef Documentation

◆ AnimationConditionList

Definition at line 90 of file animationspersist.hxx.

◆ AnimTargetElementPtr

Definition at line 86 of file animationspersist.hxx.

◆ NodePropertyMap

typedef std::array< css::uno::Any, NP_SIZE_ > oox::ppt::NodePropertyMap

Definition at line 51 of file animationspersist.hxx.

◆ SlidePersistPtr

typedef std::shared_ptr< SlidePersist > oox::ppt::SlidePersistPtr

Definition at line 59 of file slidepersist.hxx.

◆ TimeAnimationValueList

Definition at line 118 of file animationspersist.hxx.

◆ TimeNodePtr

typedef std::shared_ptr< TimeNode > oox::ppt::TimeNodePtr

Definition at line 46 of file timenode.hxx.

◆ TimeNodePtrList

typedef std::vector< TimeNodePtr > oox::ppt::TimeNodePtrList

Definition at line 47 of file timenode.hxx.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NP_TO 
NP_FROM 
NP_BY 
NP_USERDATA 
NP_ATTRIBUTENAME 
NP_ACCELERATION 
NP_AUTOREVERSE 
NP_DECELERATE 
NP_DURATION 
NP_FILL 
NP_REPEATCOUNT 
NP_REPEATDURATION 
NP_RESTART 
NP_DIRECTION 
NP_COLORINTERPOLATION 
NP_CALCMODE 
NP_TRANSFORMTYPE 
NP_PATH 
NP_ENDSYNC 
NP_ITERATETYPE 
NP_ITERATEINTERVAL 
NP_SUBITEM 
NP_TARGET 
NP_COMMAND 
NP_PARAMETER 
NP_VALUES 
NP_FORMULA 
NP_KEYTIMES 
NP_DISPLAY 
NP_HIDEDURINGSHOW 
NP_ISNARRATION 
NP_SIZE_ 

Definition at line 36 of file animationspersist.hxx.

◆ AnimationAttributeEnum

Enumerator
PPT_X 
PPT_Y 
PPT_W 
PPT_H 
PPT_C 
XSHEAR 
FILLCOLOR 
FILLTYPE 
FILLON 
STROKECOLOR 
STROKEON 
STYLECOLOR 
STYLEROTATION 
FONTWEIGHT 
STYLEUNDERLINE 
STYLEFONTFAMILY 
STYLEFONTSIZE 
STYLEFONTSTYLE 
STYLEVISIBILITY 
STYLEOPACITY 
UNKNOWN 

Definition at line 36 of file pptfilterhelpers.hxx.

◆ ShapeLocation

Enumerator
Master 
Layout 
Slide 

Definition at line 48 of file slidepersist.hxx.

Function Documentation

◆ convertAnimationValue()

OOX_DLLPUBLIC bool oox::ppt::convertAnimationValue ( AnimationAttributeEnum  eAttribute,
css::uno::Any &  rValue 
)

◆ convertMeasure()

OOX_DLLPUBLIC bool oox::ppt::convertMeasure ( OUString &  rString)

convert the measure string to LibreOffice format.

i.e. convert occurrence of #{0,1}ppt_[xywh] to x,y, width, height.

Definition at line 145 of file pptfilterhelpers.cxx.

References nIndex, and nLength.

Referenced by convertAnimationValue().

◆ fixInteractiveSequenceTiming()

OOX_DLLPUBLIC void oox::ppt::fixInteractiveSequenceTiming ( const css::uno::Reference< css::animations::XAnimationNode > &  xNode)

Definition at line 201 of file timenode.cxx.

References Any, Exception, and SAL_INFO.

Referenced by oox::ppt::TimeNode::setNode().

◆ fixMainSequenceTiming()

OOX_DLLPUBLIC void oox::ppt::fixMainSequenceTiming ( const css::uno::Reference< css::animations::XAnimationNode > &  xNode)

Definition at line 140 of file timenode.cxx.

References aEvent, Any, Exception, and SAL_INFO.

Referenced by oox::ppt::TimeNode::setNode().

◆ getAttributeConversionList()

OOX_DLLPUBLIC const ImplAttributeNameConversion * oox::ppt::getAttributeConversionList ( )

◆ getConvertedSubType()

OOX_DLLPUBLIC OUString oox::ppt::getConvertedSubType ( sal_Int16  nPresetClass,
sal_Int32  nPresetId,
sal_Int32  nPresetSubType 
)

◆ GetTime()

css::uno::Any oox::ppt::GetTime ( const OUString &  val)

◆ GetTimeAnimateValueTime()

css::uno::Any oox::ppt::GetTimeAnimateValueTime ( const OUString &  val)

Definition at line 48 of file animationtypes.cxx.

References Any.

◆ lcl_GetAngle()

static sal_Int32 oox::ppt::lcl_GetAngle ( uno::Reference< drawing::XShape > &  rXShape,
awt::Point &  rPt 
)
static

◆ lcl_SetEdgeLineValue()

static void oox::ppt::lcl_SetEdgeLineValue ( uno::Reference< drawing::XShape > &  rXConnector,
oox::drawingml::ShapePtr rShapePtr 
)
static

◆ lclDebugSubType()

static const char * oox::ppt::lclDebugSubType ( sal_Int32  nType)
static

Definition at line 73 of file pptshape.cxx.

References nType.

Referenced by oox::ppt::PPTShape::addShape(), and oox::ppt::PPTShape::getSubTypeTextListStyle().

◆ setTextStyle()

static void oox::ppt::setTextStyle ( Reference< beans::XPropertySet > const &  rxPropSet,
const XmlFilterBase &  rFilter,
oox::drawingml::TextListStylePtr const &  pTextListStylePtr,
int  nLevel 
)
static