summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-11-30 18:51:55 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-11-30 22:15:38 +0100
commita0dcf961879ab644a52f801f65466756cb144b72 (patch)
treef99701fb10d080eb3eb337a0261702394b183077 /xmloff/inc
parent316656755caabf4797391c46338c58945908837d (diff)
Hidden styles: ODF import/export
Change-Id: I1138314eba33dc8cf8d1f60e77ac419b4550bbcc
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/xmloff/xmlnume.hxx2
-rw-r--r--xmloff/inc/xmloff/xmlstyle.hxx3
2 files changed, 4 insertions, 1 deletions
diff --git a/xmloff/inc/xmloff/xmlnume.hxx b/xmloff/inc/xmloff/xmlnume.hxx
index e6406bd02ad5..dca651db2bcc 100644
--- a/xmloff/inc/xmloff/xmlnume.hxx
+++ b/xmloff/inc/xmloff/xmlnume.hxx
@@ -86,7 +86,7 @@ public:
XMLTextListAutoStylePool *pPool,
sal_Bool bExportChapterNumbering = sal_True );
void exportNumberingRule(
- const ::rtl::OUString& rName,
+ const ::rtl::OUString& rName, sal_Bool bIsHidden,
const ::com::sun::star::uno::Reference<
::com::sun::star::container::XIndexReplace > & xNumRule );
};
diff --git a/xmloff/inc/xmloff/xmlstyle.hxx b/xmloff/inc/xmloff/xmlstyle.hxx
index 222ba2643689..8296b24799a0 100644
--- a/xmloff/inc/xmloff/xmlstyle.hxx
+++ b/xmloff/inc/xmloff/xmlstyle.hxx
@@ -65,6 +65,7 @@ class XMLOFF_DLLPUBLIC SvXMLStyleContext : public SvXMLImportContext
::rtl::OUString maAutoName;
::rtl::OUString maParentName;// Will be moved to XMLPropStyle soon!!!!
::rtl::OUString maFollow; // Will be moved to XMLPropStyle soon!!!!
+ sal_Bool mbHidden;
::rtl::OUString maHelpFile; // Will be removed very soon!!!!
@@ -125,6 +126,8 @@ public:
sal_Bool IsNew() const { return mbNew; }
void SetNew( sal_Bool b ) { mbNew = b; }
+ sal_Bool IsHidden() const { return mbHidden; }
+
// This method is called for every default style
virtual void SetDefaults();