summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLChangeElementImportContext.hxx
diff options
context:
space:
mode:
authorMaxime de Roucy <mderoucy@linagora.com>2013-04-04 18:05:24 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-04-25 08:55:10 +0000
commitf215e634de4926def396d8442b8b15a912cb69e8 (patch)
treebcfb1be124987d29bcd620647165ba9be60e3ce3 /xmloff/source/text/XMLChangeElementImportContext.hxx
parente42eed90b5c8151f8b5520ca2728061b1ac8e41e (diff)
comments and code reformat
Change-Id: Ib4e45cb85c9e5e5ffa6476c939300c6795412b1a Reviewed-on: https://gerrit.libreoffice.org/3582 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmloff/source/text/XMLChangeElementImportContext.hxx')
-rw-r--r--xmloff/source/text/XMLChangeElementImportContext.hxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/xmloff/source/text/XMLChangeElementImportContext.hxx b/xmloff/source/text/XMLChangeElementImportContext.hxx
index 80a0b78ebe0a..c9b230f39766 100644
--- a/xmloff/source/text/XMLChangeElementImportContext.hxx
+++ b/xmloff/source/text/XMLChangeElementImportContext.hxx
@@ -40,7 +40,21 @@ class XMLChangedRegionImportContext;
*/
class XMLChangeElementImportContext : public SvXMLImportContext
{
+ /**
+ * accept text content (paragraphs) in element as redline content?
+ *
+ * From the "5.5.4 <text:deletion>" section of the ODF 1.2 standard :
+ * The <text:deletion> element may also contain content that was
+ * deleted while change tracking was enabled.
+ *
+ * No other section in the "5.5 Change Tracking" chapter contain
+ * this sentence.
+ *
+ * So if bAcceptContent is true, we are importing a <text:deletion> element
+ */
sal_Bool bAcceptContent;
+
+ /// context of enclosing <text:changed-region> element
XMLChangedRegionImportContext& rChangedRegion;
public: