diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-07-13 07:24:41 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-07-13 07:24:41 +0000 |
commit | 566cc2d7fce7abac66014329d6dfc035f283e01d (patch) | |
tree | 24bf59b8dd83d5f27845fae361c7d38dc16560d3 /xmloff/source/style/prhdlfac.cxx | |
parent | 3123774d6eb33bc6e4268e9e936ad30bcdcd5750 (diff) |
INTEGRATION: CWS oasis (1.21.12); FILE MERGED
2004/05/24 09:16:06 mib 1.21.12.3: - #i20153#: replaced transparency with opacity
2004/05/21 15:00:43 mib 1.21.12.2: - #i20153#: changed underline, line-through and tab-stop
2004/05/07 11:59:59 mib 1.21.12.1: - #i20153#: encode/decode style names (ooo2oasis missing)
Diffstat (limited to 'xmloff/source/style/prhdlfac.cxx')
-rw-r--r-- | xmloff/source/style/prhdlfac.cxx | 43 |
1 files changed, 35 insertions, 8 deletions
diff --git a/xmloff/source/style/prhdlfac.cxx b/xmloff/source/style/prhdlfac.cxx index 4aa3d3652883..ad7c9f04c4e9 100644 --- a/xmloff/source/style/prhdlfac.cxx +++ b/xmloff/source/style/prhdlfac.cxx @@ -2,9 +2,9 @@ * * $RCSfile: prhdlfac.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: kz $ $Date: 2004-02-26 15:46:23 $ + * last change: $Author: rt $ $Date: 2004-07-13 08:24:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -293,6 +293,15 @@ const XMLPropertyHandler* XMLPropertyHandlerFactory::CreatePropertyHandler( sal_ case XML_TYPE_PERCENT16 : pPropHdl = new XMLPercentPropHdl( 2 ); break; + case XML_TYPE_NEG_PERCENT : + pPropHdl = new XMLNegPercentPropHdl( 4 ); + break; + case XML_TYPE_NEG_PERCENT8 : + pPropHdl = new XMLNegPercentPropHdl( 1 ); + break; + case XML_TYPE_NEG_PERCENT16 : + pPropHdl = new XMLNegPercentPropHdl( 2 ); + break; case XML_TYPE_MEASURE_PX : pPropHdl = new XMLMeasurePxPropHdl( 4 ); break; @@ -349,13 +358,22 @@ const XMLPropertyHandler* XMLPropertyHandlerFactory::CreatePropertyHandler( sal_ pPropHdl = new XMLRectangleMembersHdl( nType ); break; - case XML_TYPE_TEXT_CROSSEDOUT: - pPropHdl = new XMLCrossedOutPropHdl ; + case XML_TYPE_TEXT_CROSSEDOUT_TYPE: + pPropHdl = new XMLCrossedOutTypePropHdl ; + break; + case XML_TYPE_TEXT_CROSSEDOUT_STYLE: + pPropHdl = new XMLCrossedOutStylePropHdl ; + break; + case XML_TYPE_TEXT_CROSSEDOUT_WIDTH: + pPropHdl = new XMLCrossedOutWidthPropHdl ; + break; + case XML_TYPE_TEXT_CROSSEDOUT_TEXT: + pPropHdl = new XMLCrossedOutTextPropHdl ; break; case XML_TYPE_TEXT_BOOLCROSSEDOUT: pPropHdl = new XMLNamedBoolPropertyHdl( - GetXMLToken(XML_CROSSEDOUT_SINGLE), - GetXMLToken(XML_CROSSEDOUT_NONE) ); + GetXMLToken(XML_SOLID), + GetXMLToken(XML_NONE) ); break; case XML_TYPE_TEXT_ESCAPEMENT: pPropHdl = new XMLEscapementPropHdl; @@ -390,8 +408,14 @@ const XMLPropertyHandler* XMLPropertyHandlerFactory::CreatePropertyHandler( sal_ case XML_TYPE_TEXT_SHADOWED: pPropHdl = new XMLShadowedPropHdl; break; - case XML_TYPE_TEXT_UNDERLINE: - pPropHdl = new XMLUnderlinePropHdl; + case XML_TYPE_TEXT_UNDERLINE_TYPE: + pPropHdl = new XMLUnderlineTypePropHdl; + break; + case XML_TYPE_TEXT_UNDERLINE_STYLE: + pPropHdl = new XMLUnderlineStylePropHdl; + break; + case XML_TYPE_TEXT_UNDERLINE_WIDTH: + pPropHdl = new XMLUnderlineWidthPropHdl; break; case XML_TYPE_TEXT_UNDERLINE_COLOR: pPropHdl = new XMLColorTransparentPropHdl( XML_FONT_COLOR ); @@ -487,6 +511,9 @@ const XMLPropertyHandler* XMLPropertyHandlerFactory::CreatePropertyHandler( sal_ GetXMLToken(XML_TRUE), GetXMLToken(XML_NONE) ); break; + case XML_TYPE_STYLENAME : + pPropHdl = new XMLStyleNamePropHdl; + break; } return pPropHdl; |