summaryrefslogtreecommitdiff
path: root/sd/inc/stlpool.hxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2002-01-09 13:37:41 +0000
committerChristian Lippka <cl@openoffice.org>2002-01-09 13:37:41 +0000
commit159ae88b207cd22a5c72999f117b2d941585eab9 (patch)
tree05a9db5411e97db94f72766c371474afb3392ba3 /sd/inc/stlpool.hxx
parent27656c2c83f0c35ee8cda4a96726a1dcfe87a405 (diff)
#96323# add check for creation of new layout template sheets
Diffstat (limited to 'sd/inc/stlpool.hxx')
-rw-r--r--sd/inc/stlpool.hxx15
1 files changed, 12 insertions, 3 deletions
diff --git a/sd/inc/stlpool.hxx b/sd/inc/stlpool.hxx
index f5f2c4d7b2dd..f31109d9ea61 100644
--- a/sd/inc/stlpool.hxx
+++ b/sd/inc/stlpool.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: stlpool.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: cl $ $Date: 2001-03-30 15:29:32 $
+ * last change: $Author: cl $ $Date: 2002-01-09 14:37:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -96,7 +96,16 @@ public:
// Caller muss Liste loeschen
List* CreateOutlineSheetList(const String& rLayoutName);
- void CreateLayoutStyleSheets(const String& rLayoutName);
+
+ /** creates all layout style sheets for the givin layout name if they
+ don't exist yet.
+
+ @param rLayoutName Must be the name of a master page
+ @param bCheck If set to true, the debug version will assert if a style
+ had to be created. This is used to assert errors in documents
+ when styles are missing.
+ */
+ void CreateLayoutStyleSheets(const String& rLayoutName, sal_Bool bCheck = sal_False );
void EraseLayoutStyleSheets(const String& rLayoutName);
List* CreateLayoutSheetNames(const String& rLayoutName) const;
List* CreateLayoutSheetList(const String& rLayoutName);