summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-01-20 09:18:19 +0000
committerOliver Bolte <obo@openoffice.org>2004-01-20 09:18:19 +0000
commit59d583a38153de0a14c04dd3b95b5ad06c35fecf (patch)
tree7d6a964e2b79f26f30d0b1d0f9490a72b502a1bb /sd
parent18e8985a3f3c0df677c6cb8d71126c8ec4590a32 (diff)
INTEGRATION: CWS impress1 (1.18.108); FILE MERGED
2003/10/28 09:56:05 af 1.18.108.3: RESYNC: (1.18-1.19); FILE MERGED 2003/10/23 13:03:45 af 1.18.108.2: #111996# Moved creation of new Impress document from Writer outline to its own OutlineToImpress() function. 2003/09/16 12:08:06 af 1.18.108.1: #111996# Moved SdDrawDocShell to namespace sd.
Diffstat (limited to 'sd')
-rw-r--r--sd/inc/sdmod.hxx57
1 files changed, 34 insertions, 23 deletions
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index a438607936dd..86d074675d8c 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sdmod.hxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: rt $ $Date: 2003-09-19 08:14:40 $
+ * last change: $Author: obo $ $Date: 2004-01-20 10:18:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -93,13 +93,16 @@ class SvxErrorHandler;
class EditFieldInfo;
class SvFactory;
class SdTransferable;
-class SdDrawDocShell;
class SvNumberFormatter;
class SfxErrorHandler;
-class SdView;
class OutputDevice;
class SdPage;
class SdDrawDocument;
+
+namespace sd {
+class DrawDocShell;
+}
+
// ----------------------
// - SdOptionStreamMode -
// ----------------------
@@ -124,24 +127,6 @@ enum SdOptionStreamMode
class SdModule : public SfxModule, public SfxListener
{
-protected:
-
- SdOptions* pImpressOptions;
- SdOptions* pDrawOptions;
- SvxSearchItem* pSearchItem;
- SvNumberFormatter* pNumberFormatter;
- SvStorageRef xOptionStorage;
- BOOL bAutoSave;
- BOOL bWaterCan;
- SfxErrorHandler* mpErrorHdl;
- /** This device is used for printer independent layout. It is virtual
- in the sense that it does not represent a printer. The pointer may
- be NULL when the virtual device could not be created.
- */
- OutputDevice* mpVirtualRefDevice;
-
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
-
public:
TYPEINFO();
@@ -181,7 +166,7 @@ public:
@param rDocShell
Unused dummy parameter.
*/
- OutputDevice* GetRefDevice (SdDrawDocShell& rDocShell);
+ OutputDevice* GetRefDevice (::sd::DrawDocShell& rDocShell);
SvNumberFormatter* GetNumberFormatter();
@@ -192,6 +177,24 @@ public:
virtual void ApplyItemSet( USHORT nId, const SfxItemSet& rSet );
virtual SfxTabPage* CreateTabPage( USHORT nId, Window* pParent, const SfxItemSet& rSet );
+protected:
+
+ SdOptions* pImpressOptions;
+ SdOptions* pDrawOptions;
+ SvxSearchItem* pSearchItem;
+ SvNumberFormatter* pNumberFormatter;
+ SvStorageRef xOptionStorage;
+ BOOL bAutoSave;
+ BOOL bWaterCan;
+ SfxErrorHandler* mpErrorHdl;
+ /** This device is used for printer independent layout. It is virtual
+ in the sense that it does not represent a printer. The pointer may
+ be NULL when the virtual device could not be created.
+ */
+ OutputDevice* mpVirtualRefDevice;
+
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
+
private:
/** Create a new summary page. When the document has been created in
@@ -205,6 +208,14 @@ private:
the information about the default transition is retrieved.
*/
void AddSummaryPage (SfxViewFrame* pViewFrame, SdDrawDocument* pDocument);
+
+ /** Take an outline from a text document and create a new impress
+ document according to the structure of the outline.
+ @param rRequest
+ This typically is the unmodified request from a execute()
+ function from where this function is called.
+ */
+ void OutlineToImpress (SfxRequest& rRequest);
};