LibreOffice Module oox (master)  1
Classes | Typedefs | Enumerations | Functions | Variables
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  AnimationAttributeEnum {
  AnimationAttributeEnum::PPT_X,
  AnimationAttributeEnum::PPT_Y,
  AnimationAttributeEnum::PPT_W,
  AnimationAttributeEnum::PPT_H,
  AnimationAttributeEnum::PPT_C,
  AnimationAttributeEnum::R,
  AnimationAttributeEnum::XSHEAR,
  AnimationAttributeEnum::FILLCOLOR,
  AnimationAttributeEnum::FILLTYPE,
  AnimationAttributeEnum::FILLON,
  AnimationAttributeEnum::STROKECOLOR,
  AnimationAttributeEnum::STROKEON,
  AnimationAttributeEnum::STYLECOLOR,
  AnimationAttributeEnum::STYLEROTATION,
  AnimationAttributeEnum::FONTWEIGHT,
  AnimationAttributeEnum::STYLEUNDERLINE,
  AnimationAttributeEnum::STYLEFONTFAMILY,
  AnimationAttributeEnum::STYLEFONTSIZE,
  AnimationAttributeEnum::STYLEFONTSTYLE,
  AnimationAttributeEnum::STYLEVISIBILITY,
  AnimationAttributeEnum::STYLEOPACITY,
  AnimationAttributeEnum::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 ResolveTextFields (XmlFilterBase const &rFilter)
 
static void setTextStyle (Reference< beans::XPropertySet > const &rxPropSet, const XmlFilterBase &rFilter, oox::drawingml::TextListStylePtr const &pTextListStylePtr, int nLevel)
 
void fixMainSequenceTiming (const css::uno::Reference< css::animations::XAnimationNode > &xNode)
 
void fixInteractiveSequenceTiming (const css::uno::Reference< css::animations::XAnimationNode > &xNode)
 

Variables

static std::map< PredefinedClrSchemeId, sal_Int32 > PredefinedClrTokens
 

Typedef Documentation

Definition at line 88 of file animationspersist.hxx.

Definition at line 86 of file animationspersist.hxx.

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

Definition at line 51 of file animationspersist.hxx.

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

Definition at line 57 of file slidepersist.hxx.

Definition at line 118 of file animationspersist.hxx.

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

Definition at line 44 of file timenode.hxx.

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

Definition at line 47 of file timenode.hxx.

Enumeration Type Documentation

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.

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.

Enumerator
Master 
Layout 
Slide 

Definition at line 48 of file slidepersist.hxx.

Function Documentation

OOX_DLLPUBLIC bool oox::ppt::convertAnimationValue ( AnimationAttributeEnum  eAttribute,
css::uno::Any &  rValue 
)
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 144 of file pptfilterhelpers.cxx.

References nIndex, and nLength.

Referenced by convertAnimationValue().

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().

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

Definition at line 140 of file timenode.cxx.

References aEvent, Exception, makeAny(), and SAL_INFO.

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

OOX_DLLPUBLIC const ImplAttributeNameConversion * oox::ppt::getAttributeConversionList ( )
OOX_DLLPUBLIC OUString oox::ppt::getConvertedSubType ( sal_Int16  nPresetClass,
sal_Int32  nPresetId,
sal_Int32  nPresetSubType 
)
css::uno::Any oox::ppt::GetTime ( const OUString &  val)
css::uno::Any oox::ppt::GetTimeAnimateValueTime ( const OUString &  val)

Definition at line 48 of file animationtypes.cxx.

References Any.

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

Definition at line 184 of file slidepersist.cxx.

Referenced by oox::ppt::SlidePersist::applyTextStyles().

Variable Documentation

std::map<PredefinedClrSchemeId, sal_Int32> oox::ppt::PredefinedClrTokens
static
Initial value:
=
{
{ dk2, XML_dk2 },
{ lt2, XML_lt2 },
{ accent1, XML_accent1 },
{ accent2, XML_accent2 },
{ accent3, XML_accent3 },
{ accent4, XML_accent4 },
{ accent5, XML_accent5 },
{ accent6, XML_accent6 },
{ hlink, XML_hlink },
{ folHlink, XML_folHlink }
}

Definition at line 73 of file presentationfragmenthandler.cxx.