diff options
author | Pierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com> | 2013-01-11 14:34:04 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-01-14 15:51:14 +0000 |
commit | 1f2c079dd2bc9a2f5aa3597a8222bde3073a04da (patch) | |
tree | b363ffb350b31a55d62f82bf4081bb625ee10746 /sax/inc | |
parent | 8c178a50334109b34ef456ca6aa51cd3d98699ae (diff) |
sax: add methods to duplicate current top marker and reapply it later
The need for this is ooxml: we need to have a duplicate entry (rPr)
like this:
<p>
<pPr>
<rPr>...</rPr>
</pPr>
<r>
<rPr>...</rPR>
</r>
</p>
This patch allows to do that by setting aside a copy of the <rPr> line,
and then merging the copy when needed.
Change-Id: I3868a822aa9e5210f3d814c68398a38f95072cd5
Reviewed-on: https://gerrit.libreoffice.org/1648
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'sax/inc')
-rw-r--r-- | sax/inc/sax/fshelper.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sax/inc/sax/fshelper.hxx b/sax/inc/sax/fshelper.hxx index b0b8b0970465..2e9d07b7ce26 100644 --- a/sax/inc/sax/fshelper.hxx +++ b/sax/inc/sax/fshelper.hxx @@ -142,6 +142,8 @@ public: void mark( ::com::sun::star::uno::Sequence< sal_Int32 > aOrder = ::com::sun::star::uno::Sequence< sal_Int32 >() ); void mergeTopMarks( MergeMarksEnum eMergeType = MERGE_MARKS_APPEND ); + void copyTopMarkPush(); + void copyTopMarkPop(); /* Now create all the overloads in a typesafe way (i.e. without varargs) by creating a number of overloads |