summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/shapeimporter.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-17 14:14:07 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-17 14:14:07 +0000
commitfb54202d6aa8d9ab98a238c4ddc9837ad2d8d0d4 (patch)
tree12905d85d14e0288de098c209b665fa94c0ab34a /slideshow/source/inc/shapeimporter.hxx
parentde04594fca9a1530257720983bd3f1d5e6d7b206 (diff)
INTEGRATION: CWS presfixes12 (1.6.12); FILE MERGED
2007/01/29 16:29:31 thb 1.6.12.2: #i37778# Build fixes for msvc; added shapes lib to util link line 2007/01/29 14:02:27 thb 1.6.12.1: Issue number: #i37778# Larger slideshow refactoring. Wrote design and coding style manifest, and adapted the code to actually conform to this. In detail: - cleaned up ownership/disposable/weak_ptr story. removed hacks and explicit Disposable implementations, where workaround were available - removed object mutices, where superfluous - reworked EventMultiplexer (using templatized listener class now), added more events. EventMultiplexer now serves as a true blackboard - reworked directory structure: disjunct parts are now physically separated into directories, instantiation happens via factories & abstract interfaces - added CursorManager, to make setting mouse cursor less hackish - reworked DrawShape, to implement SeparateListener pattern - reworked IntrinsicAnimationActivity, to avoid cyclic references - modified hyperlink & shape cursor handling to communicate via EventMultiplexer - renamed & cleaned up files (presentation.cxx now named slideshowimpl.cxx, etc.) - added first version of the z-order fix to layer/layermanager - cleaned up include guards and include syntax
Diffstat (limited to 'slideshow/source/inc/shapeimporter.hxx')
-rw-r--r--slideshow/source/inc/shapeimporter.hxx17
1 files changed, 12 insertions, 5 deletions
diff --git a/slideshow/source/inc/shapeimporter.hxx b/slideshow/source/inc/shapeimporter.hxx
index 61cb53fe6746..effc263363ec 100644
--- a/slideshow/source/inc/shapeimporter.hxx
+++ b/slideshow/source/inc/shapeimporter.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: shapeimporter.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: kz $ $Date: 2006-12-13 16:02:09 $
+ * last change: $Author: obo $ $Date: 2007-07-17 15:14:07 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -46,6 +46,8 @@
namespace slideshow {
namespace internal {
+struct SlideShowContext;
+
/** This class imports all shapes from a given XShapes object
*/
class ShapeImporter
@@ -82,6 +84,10 @@ public:
sal_Int32 nOrdNumStart,
bool bConvertingMasterPage );
+ /** This method imports the presentation background shape
+ */
+ ShapeSharedPtr importBackgroundShape(); // throw (ShapeLoadFailedException)
+
/** This method imports presentation-visible shapes (and skips all others).
@return the generated Shape, or NULL for no more shapes.
@@ -107,19 +113,20 @@ private:
::com::sun::star::beans::XPropertySet> const& xPropSet,
::rtl::OUString const& shapeType ) const;
- struct XShapesEntry {
+ struct XShapesEntry
+ {
ShapeSharedPtr const mpGroupShape;
::com::sun::star::uno::Reference<
::com::sun::star::drawing::XShapes> const mxShapes;
sal_Int32 const mnCount;
sal_Int32 mnPos;
- XShapesEntry( ShapeSharedPtr const& pGroupShape )
+ explicit XShapesEntry( ShapeSharedPtr const& pGroupShape )
: mpGroupShape(pGroupShape),
mxShapes( pGroupShape->getXShape(),
::com::sun::star::uno::UNO_QUERY_THROW ),
mnCount(mxShapes->getCount()), mnPos(0) {}
- XShapesEntry( ::com::sun::star::uno::Reference<
+ explicit XShapesEntry( ::com::sun::star::uno::Reference<
::com::sun::star::drawing::XShapes> const& xShapes )
: mpGroupShape(), mxShapes(xShapes),
mnCount(xShapes->getCount()), mnPos(0) {}