summaryrefslogtreecommitdiffstats
path: root/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextUnderlineStyleMapper.java
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-01-27 13:51:16 +0100
committerIvo Hinkelmann <ihi@openoffice.org>2010-01-27 13:51:16 +0100
commit6163dce52f006f6f5a390eebd000caeaa1c70854 (patch)
treed789b8d74ace47cf1dbeecd505c268be107c6864 /reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextUnderlineStyleMapper.java
parentCWS-TOOLING: integrate CWS vcl108 (diff)
parentAutomated merge with ssh://hg@hg.services.openoffice.org/cws/dba33b (diff)
downloadcore-6163dce52f006f6f5a390eebd000caeaa1c70854.tar.gz
core-6163dce52f006f6f5a390eebd000caeaa1c70854.zip
CWS-TOOLING: integrate CWS dba33d
Diffstat (limited to 'reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextUnderlineStyleMapper.java')
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextUnderlineStyleMapper.java28
1 files changed, 12 insertions, 16 deletions
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextUnderlineStyleMapper.java b/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextUnderlineStyleMapper.java
index 70630674abbb..fcc4e8cc6a7a 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextUnderlineStyleMapper.java
+++ b/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextUnderlineStyleMapper.java
@@ -27,8 +27,6 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-
-
package com.sun.star.report.pentaho.parser.stylemapper.style;
import com.sun.star.report.pentaho.parser.stylemapper.OneOfConstantsMapper;
@@ -37,19 +35,17 @@ import org.jfree.layouting.input.style.keys.text.TextDecorationStyle;
public class TextUnderlineStyleMapper extends OneOfConstantsMapper
{
- public TextUnderlineStyleMapper ()
- {
- super(TextStyleKeys.TEXT_UNDERLINE_STYLE);
- addMapping("none", TextDecorationStyle.NONE);
- addMapping("solid", TextDecorationStyle.SOLID);
- addMapping("dotted", TextDecorationStyle.DOTTED);
- addMapping("dash", TextDecorationStyle.DASHED);
- addMapping("long-dash", TextDecorationStyle.LONG_DASH);
- addMapping("dot-dash", TextDecorationStyle.DOT_DASH);
- addMapping("dot-dot-dash", TextDecorationStyle.DOT_DOT_DASH);
- addMapping("wave", TextDecorationStyle.WAVE);
- }
-
-
+ public TextUnderlineStyleMapper()
+ {
+ super(TextStyleKeys.TEXT_UNDERLINE_STYLE);
+ addMapping("none", TextDecorationStyle.NONE);
+ addMapping("solid", TextDecorationStyle.SOLID);
+ addMapping("dotted", TextDecorationStyle.DOTTED);
+ addMapping("dash", TextDecorationStyle.DASHED);
+ addMapping("long-dash", TextDecorationStyle.LONG_DASH);
+ addMapping("dot-dash", TextDecorationStyle.DOT_DASH);
+ addMapping("dot-dot-dash", TextDecorationStyle.DOT_DOT_DASH);
+ addMapping("wave", TextDecorationStyle.WAVE);
+ }
}