summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2002-10-09 15:12:06 +0000
committerChristian Lippka <cl@openoffice.org>2002-10-09 15:12:06 +0000
commit333d1e96149d968b579605dcfee9cb229428d513 (patch)
tree96a2b441ef7e92b4b5af0291339a1c271a137a94 /xmloff
parent00a0b5b0d4fbdae0e8871d7285eb4186f68b55b1 (diff)
#101297# keep number of decimal places persistent for measure lines
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/dtd/drawing.mod3
-rw-r--r--xmloff/source/draw/sdpropls.cxx5
2 files changed, 5 insertions, 3 deletions
diff --git a/xmloff/dtd/drawing.mod b/xmloff/dtd/drawing.mod
index 1271ec972935..c0388ae99db7 100644
--- a/xmloff/dtd/drawing.mod
+++ b/xmloff/dtd/drawing.mod
@@ -1,5 +1,5 @@
<!--
- $Id: drawing.mod,v 1.78 2002-09-30 09:33:39 mib Exp $
+ $Id: drawing.mod,v 1.79 2002-10-09 16:08:24 cl Exp $
The Contents of this file are made available subject to the terms of
either of the following licenses
@@ -398,6 +398,7 @@
<!ATTLIST style:properties draw:show-unit %boolean; #IMPLIED>
<!ATTLIST style:properties draw:placing (below|above) #IMPLIED>
<!ATTLIST style:properties draw:parallel %boolean; #IMPLIED>
+<!ATTLIST style:properties draw:decimal-plaaces %nonNegativeLength; #IMPLIED>
<!-- frame attributes -->
<!ATTLIST style:properties draw:frame-display-scrollbar %boolean; #IMPLIED>
diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx
index 9ed8868d3227..18f03d8a8f70 100644
--- a/xmloff/source/draw/sdpropls.cxx
+++ b/xmloff/source/draw/sdpropls.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sdpropls.cxx,v $
*
- * $Revision: 1.57 $
+ * $Revision: 1.58 $
*
- * last change: $Author: cl $ $Date: 2002-01-11 12:18:09 $
+ * last change: $Author: cl $ $Date: 2002-10-09 16:06:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -333,6 +333,7 @@ const XMLPropertyMapEntry aXMLSDProperties[] =
MAP( "MeasureShowUnit", XML_NAMESPACE_DRAW, XML_SHOW_UNIT, XML_TYPE_BOOL, 0 ),
MAP( "MeasureBelowReferenceEdge", XML_NAMESPACE_DRAW, XML_PLACING, XML_SD_TYPE_MEASURE_PLACING, 0 ),
MAP( "MeasureTextRotate90", XML_NAMESPACE_DRAW, XML_PARALLEL, XML_TYPE_BOOL, 0 ),
+ MAP( "MeasureDecimalPlaces", XML_NAMESPACE_DRAW, XML_DECIMAL_PLACES, XML_TYPE_NUMBER16, 0 ),
// 3D geometry attributes
MAP( "D3DHorizontalSegments", XML_NAMESPACE_DR3D, XML_HORIZONTAL_SEGMENTS, XML_TYPE_NUMBER, 0 ),