summaryrefslogtreecommitdiff
path: root/xmloff/source/style/PageMasterStyleMap.cxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-09-21 15:27:53 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-09-21 15:27:53 +0000
commita3f4a35fc3d4ffcf74511b10457ed81e63d936fc (patch)
tree3c61019b023603d960b8e555fe416450b5dbd407 /xmloff/source/style/PageMasterStyleMap.cxx
parentd835030c4f73fd5738632dde40843eb64ef3dd15 (diff)
#92176# include PrinterPaperTray property
SvXMLImportProperty now 'knows' the SvXMLImport in order to enable error handling for 'wrong' paper trays and properties
Diffstat (limited to 'xmloff/source/style/PageMasterStyleMap.cxx')
-rw-r--r--xmloff/source/style/PageMasterStyleMap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/PageMasterStyleMap.cxx b/xmloff/source/style/PageMasterStyleMap.cxx
index 213f76fd06de..a39cc2a2a9fd 100644
--- a/xmloff/source/style/PageMasterStyleMap.cxx
+++ b/xmloff/source/style/PageMasterStyleMap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: PageMasterStyleMap.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: dvo $ $Date: 2001-07-13 16:08:25 $
+ * last change: $Author: dvo $ $Date: 2001-09-21 16:27:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -83,7 +83,7 @@ const XMLPropertyMapEntry aXMLPageMasterStyleMap[] =
MAP( "Height", XML_NAMESPACE_FO, XML_PAGE_HEIGHT, XML_TYPE_MEASURE, 0 ),
MAP( "NumberingType", XML_NAMESPACE_STYLE, XML_NUM_FORMAT, XML_PM_TYPE_NUMFORMAT | MID_FLAG_MERGE_PROPERTY, 0 ),
MAP( "NumberingType", XML_NAMESPACE_STYLE, XML_NUM_LETTER_SYNC, XML_PM_TYPE_NUMLETTERSYNC, 0 ),
-// MAP( "PrinterPaperTray", XML_NAMESPACE_STYLE, XML_PAPER_TRAY_NUMBER, XML_PM_TYPE_PAPERTRAYNUMBER, 0 ),
+ MAP( "PrinterPaperTray", XML_NAMESPACE_STYLE, XML_PAPER_TRAY_NAME, XML_TYPE_STRING | MID_FLAG_PROPERTY_MAY_EXCEPT, 0 ),
MAP( "IsLandscape", XML_NAMESPACE_STYLE, XML_PRINT_ORIENTATION, XML_PM_TYPE_PRINTORIENTATION, 0 ),
MAP( "TopMargin", XML_NAMESPACE_FO, XML_MARGIN_TOP, XML_TYPE_MEASURE, 0 ),
MAP( "BottomMargin", XML_NAMESPACE_FO, XML_MARGIN_BOTTOM, XML_TYPE_MEASURE, 0 ),