summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-09-02 16:39:26 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-09-02 19:24:16 +0200
commit6d9b61c22a5b4372bf5592556d21c8417ed22bfa (patch)
tree5cf3779bdcb26dc8165f1e260a2fc55cbf38f509 /include/xmloff
parent40c760ff73d9713b11b6c6b124dc27f0da17daf3 (diff)
Related: tdf#137363 ODT import: handle style:list-level="..." for para styles
This is just the import side, the export side still needs doing. The used attribute was already part of ODF, and NumberingLevel for para styles where already imported/exported for DOCX. Change-Id: I8385ed23dc799c99e81318387236341b404d01a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121515 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/txtstyli.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xmloff/txtstyli.hxx b/include/xmloff/txtstyli.hxx
index 27e9f6dd5b15..aa5627c0e608 100644
--- a/include/xmloff/txtstyli.hxx
+++ b/include/xmloff/txtstyli.hxx
@@ -20,6 +20,9 @@
#define INCLUDED_XMLOFF_TXTSTYLI_HXX
#include <sal/config.h>
+
+#include <optional>
+
#include <xmloff/dllapi.h>
#include <xmloff/prstylei.hxx>
@@ -45,6 +48,9 @@ class XMLOFF_DLLPUBLIC XMLTextStyleContext : public XMLPropStyleContext
rtl::Reference<XMLEventsImportContext> m_xEventContext;
+ /// Reads <style:style style:list-level="...">.
+ std::optional<sal_Int16> m_aListLevel;
+
protected:
virtual void SetAttribute( sal_Int32 nElement,