summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-07-06 11:10:23 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-07-06 11:10:23 +0000
commit628ad56c291bd98b7ebb19ebfc7b93e59c206221 (patch)
tree2c560cd63c74ba42a29cda23f1ef2557f4fc2f86 /xmloff
parentbeb4e25a1303260832cdc4534a0b98e705292939 (diff)
INTEGRATION: CWS swsoftpagebreak (1.135.22); FILE MERGED
2007/06/28 10:21:34 ama 1.135.22.2: RESYNC: (1.135-1.136); FILE MERGED 2007/06/19 10:52:02 ama 1.135.22.1: #i78650#: Soft page break
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtparae.cxx18
1 files changed, 16 insertions, 2 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 6e4f83b9af4d..893324368935 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: txtparae.cxx,v $
*
- * $Revision: 1.137 $
+ * $Revision: 1.138 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 16:16:14 $
+ * last change: $Author: rt $ $Date: 2007-07-06 12:10:23 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -971,6 +971,7 @@ XMLTextParagraphExport::XMLTextParagraphExport(
sServerMap(RTL_CONSTASCII_USTRINGPARAM("ServerMap")),
sShapeService(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.Shape")),
sSizeType(RTL_CONSTASCII_USTRINGPARAM("SizeType")),
+ sSoftPageBreak( RTL_CONSTASCII_USTRINGPARAM( "SoftPageBreak" ) ),
sStartAt(RTL_CONSTASCII_USTRINGPARAM("StartAt")),
sSuffix(RTL_CONSTASCII_USTRINGPARAM("Suffix")),
sTableService(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.TextTable")),
@@ -2185,6 +2186,10 @@ void XMLTextParagraphExport::exportTextRangeEnumeration(
{
exportRuby(xPropSet, bAutoStyles);
}
+ else if (sType.equals(sSoftPageBreak))
+ {
+ exportSoftPageBreak(xPropSet, bAutoStyles);
+ }
else
DBG_ERROR("unknown text portion type");
}
@@ -2243,6 +2248,15 @@ void XMLTextParagraphExport::exportTextField(
}
}
+void XMLTextParagraphExport::exportSoftPageBreak(
+ const Reference<XPropertySet> & ,
+ sal_Bool )
+{
+ SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_TEXT,
+ XML_SOFT_PAGE_BREAK, sal_False,
+ sal_False );
+}
+
void XMLTextParagraphExport::exportTextMark(
const Reference<XPropertySet> & rPropSet,
const OUString sProperty,