summaryrefslogtreecommitdiff
path: root/xmloff/source/style/prhdlfac.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-11-26 12:02:55 +0000
committerRüdiger Timm <rt@openoffice.org>2004-11-26 12:02:55 +0000
commitea5ec419162add5932e1ac3587539fdbe85ef913 (patch)
tree445d5204a2a24b7ba708121e74b64fa6bcb9ccd5 /xmloff/source/style/prhdlfac.cxx
parent685c10e267f4a8e0cb517e3a9233d389c95a730a (diff)
INTEGRATION: CWS oasisbf2 (1.22.80); FILE MERGED
2004/11/04 19:16:50 dvo 1.22.80.2: #i35851# do not write style:page-number="0" text styles 2004/10/28 20:10:27 dvo 1.22.80.1: #i35801# style:break-inside -> fo:keep-together
Diffstat (limited to 'xmloff/source/style/prhdlfac.cxx')
-rw-r--r--xmloff/source/style/prhdlfac.cxx20
1 files changed, 14 insertions, 6 deletions
diff --git a/xmloff/source/style/prhdlfac.cxx b/xmloff/source/style/prhdlfac.cxx
index fa44ef6dce5e..9d70548e05c5 100644
--- a/xmloff/source/style/prhdlfac.cxx
+++ b/xmloff/source/style/prhdlfac.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: prhdlfac.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: obo $ $Date: 2004-11-17 10:35:53 $
+ * last change: $Author: rt $ $Date: 2004-11-26 13:02:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -123,9 +123,6 @@
#ifndef _XMLOFF_PROPERTYHANDLER_FONTWEIGHTTYPES_HXX
#include "weighhdl.hxx"
#endif
-#ifndef _XMLOFF_PROPERTYHANDLER_FMTSPLITTYPES_HXX
-#include "splithdl.hxx"
-#endif
#ifndef _XMLOFF_PROPERTYHANDLER_BREAKTYPES_HXX
#include "breakhdl.hxx"
#endif
@@ -431,7 +428,9 @@ const XMLPropertyHandler* XMLPropertyHandlerFactory::CreatePropertyHandler( sal_
pPropHdl = new XMLFontWeightPropHdl;
break;
case XML_TYPE_TEXT_SPLIT:
- pPropHdl = new XMLFmtSplitPropHdl;
+ pPropHdl = new XMLNamedBoolPropertyHdl(
+ GetXMLToken(XML_AUTO),
+ GetXMLToken(XML_ALWAYS) );
break;
case XML_TYPE_TEXT_BREAKBEFORE:
pPropHdl = new XMLFmtBreakBeforePropHdl;
@@ -517,6 +516,15 @@ const XMLPropertyHandler* XMLPropertyHandlerFactory::CreatePropertyHandler( sal_
case XML_TYPE_STYLENAME :
pPropHdl = new XMLStyleNamePropHdl;
break;
+ case XML_TYPE_NUMBER_NO_ZERO:
+ pPropHdl = new XMLNumberWithoutZeroPropHdl( 4 );
+ break;
+ case XML_TYPE_NUMBER8_NO_ZERO:
+ pPropHdl = new XMLNumberWithoutZeroPropHdl( 1 );
+ break;
+ case XML_TYPE_NUMBER16_NO_ZERO:
+ pPropHdl = new XMLNumberWithoutZeroPropHdl( 2 );
+ break;
}
return pPropHdl;