summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-07-03 15:35:44 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-07-03 15:47:29 +0200
commit0f6888a25b3d39eca2b7aac596121dc0128c7c6a (patch)
tree9eca31f08d4840de7317a68b5fd90c2d8d76daea /sax
parentb5997b9354f536b9631df3cfada6595c7b60d6c9 (diff)
FastSaxSerializer: update documentation
Change-Id: I5e374c426a4741a88d43848392fc83e2368dbf92
Diffstat (limited to 'sax')
-rw-r--r--sax/source/tools/fastserializer.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sax/source/tools/fastserializer.hxx b/sax/source/tools/fastserializer.hxx
index fbbaede5f94b..da8c5273cad3 100644
--- a/sax/source/tools/fastserializer.hxx
+++ b/sax/source/tools/fastserializer.hxx
@@ -120,20 +120,20 @@ public:
This is to be able to change the order of the data being written.
If you need to write eg.
- p, r, rPr, [something], /rPr, t, [text], /r, /p,
+ p, r, rPr, [something], /rPr, t, [text], /t, /r, /p,
but get it in order
p, r, t, [text], /t, rPr, [something], /rPr, /r, /p,
simply do
p, r, mark(), t, [text], /t, mark(), rPr, [something], /rPr,
- mergeTopMarks( true ), mergeTopMarks(), /r, /p
+ mergeTopMarks( MERGE_MARKS_PREPEND ), mergeTopMarks( MERGE_MARKS_APPEND ), /r, /p
and you are done.
*/
void mark( const Int32Sequence& aOrder = Int32Sequence() );
/** Merge 2 topmost marks.
- There are 3 possibilities - prepend the top before the second top-most
- mark, append it, or append it later; prepending brings the possibility
+ The possibilities: prepend the top before the second top-most
+ mark, append it, append it later or ignore; prepending brings the possibility
to switch parts of the output, appending later allows to write some
output in advance.