diff options
Diffstat (limited to 'slideshow/source/engine/shapes/drawshape.hxx')
-rw-r--r-- | slideshow/source/engine/shapes/drawshape.hxx | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/slideshow/source/engine/shapes/drawshape.hxx b/slideshow/source/engine/shapes/drawshape.hxx index a657d337064e..f7235dd7d87d 100644 --- a/slideshow/source/engine/shapes/drawshape.hxx +++ b/slideshow/source/engine/shapes/drawshape.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -89,15 +89,15 @@ namespace slideshow unsupported content, and, if necessary, returned as a pre-rendererd bitmap. */ - static DrawShapeSharedPtr create( - const ::com::sun::star::uno::Reference< + static DrawShapeSharedPtr create( + const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape, - const ::com::sun::star::uno::Reference< + const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& xContainingPage, double nPrio, bool bForeignSource, const SlideShowContext& rContext ); // throw ShapeLoadFailedException; - + /** Create a shape for the given XShape and graphic content @param xShape @@ -118,16 +118,16 @@ namespace slideshow DrawShape will register itself for intrinsic animation events. */ - static DrawShapeSharedPtr create( - const ::com::sun::star::uno::Reference< + static DrawShapeSharedPtr create( + const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape, - const ::com::sun::star::uno::Reference< + const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& xContainingPage, double nPrio, const Graphic& rGraphic, const SlideShowContext& rContext ); // throw ShapeLoadFailedException; - virtual ::com::sun::star::uno::Reference< + virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > getXShape() const; virtual ~DrawShape(); @@ -149,7 +149,7 @@ namespace slideshow virtual ShapeAttributeLayerSharedPtr getTopmostAttributeLayer() const; virtual void setVisibility( bool bVisible ); virtual ::basegfx::B2DRectangle getBounds() const; - virtual ::basegfx::B2DRectangle getDomBounds() const; + virtual ::basegfx::B2DRectangle getDomBounds() const; virtual ::basegfx::B2DRectangle getUpdateArea() const; virtual bool isVisible() const; virtual double getPriority() const; @@ -177,7 +177,7 @@ namespace slideshow virtual DocTreeNode getSubsetNode() const; virtual AttributableShapeSharedPtr getSubset( const DocTreeNode& rTreeNode ) const; - virtual bool createSubset( AttributableShapeSharedPtr& o_rSubset, + virtual bool createSubset( AttributableShapeSharedPtr& o_rSubset, const DocTreeNode& rTreeNode ); virtual bool revokeSubset( const AttributableShapeSharedPtr& rShape ); @@ -210,13 +210,13 @@ namespace slideshow animation frame. */ bool setIntrinsicAnimationFrame( ::std::size_t nCurrFrame ); - + /** forces the drawshape to load and return a specially crafted metafile, usable to display drawing layer text animations. */ GDIMetaFileSharedPtr forceScrollTextMetaFile(); - + private: /** Create a shape for the given XShape @@ -238,9 +238,9 @@ namespace slideshow unsupported content, and, if necessary, returned as a pre-rendererd bitmap. */ - DrawShape( const ::com::sun::star::uno::Reference< + DrawShape( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape, - const ::com::sun::star::uno::Reference< + const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& xContainingPage, double nPrio, bool bForeignSource, @@ -266,9 +266,9 @@ namespace slideshow DrawShape will register itself for intrinsic animation events. */ - DrawShape( const ::com::sun::star::uno::Reference< + DrawShape( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape, - const ::com::sun::star::uno::Reference< + const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& xContainingPage, double nPrio, const Graphic& rGraphic, @@ -279,7 +279,7 @@ namespace slideshow Used to create subsetted shapes */ DrawShape( const DrawShape&, const DocTreeNode& rTreeNode, double nPrio ); - + int getUpdateFlags() const; bool implRender( int nUpdateFlags ) const; void updateStateIds() const; @@ -291,11 +291,11 @@ namespace slideshow bool hasIntrinsicAnimation() const; bool hasHyperlinks() const; void prepareHyperlinkIndices() const; - + /// The associated XShape - ::com::sun::star::uno::Reference< + ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > mxShape; - ::com::sun::star::uno::Reference< + ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > mxPage; /** A vector of metafiles actually representing the Shape. @@ -318,7 +318,7 @@ namespace slideshow // The attributes of this Shape const double mnPriority; ::basegfx::B2DRectangle maBounds; // always needed for rendering. - // for subset shapes, this member + // for subset shapes, this member // might change when views are // added, as minimal bounds are // calculated @@ -341,8 +341,8 @@ namespace slideshow /// the list of active view shapes (one for each registered view layer) typedef ::std::vector< ViewShapeSharedPtr > ViewShapeVector; ViewShapeVector maViewShapes; - - ::com::sun::star::uno::Reference< + + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext> mxComponentContext; /// hyperlink support @@ -351,7 +351,7 @@ namespace slideshow typedef ::std::vector<HyperlinkIndexPair> HyperlinkIndexPairVector; mutable HyperlinkIndexPairVector maHyperlinkIndices; mutable HyperlinkRegions maHyperlinkRegions; - + /// Delegated subset handling mutable DrawShapeSubsetting maSubsetting; @@ -372,10 +372,10 @@ namespace slideshow /// Whether attribute layer was revoked (making a redraw necessary) mutable bool mbAttributeLayerRevoked; - + /// whether a drawing layer animation has to be performed bool mbDrawingLayerAnim; - + }; } } |