summaryrefslogtreecommitdiff
path: root/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java
diff options
context:
space:
mode:
authorOcke Janssen [oj] <Ocke.Janssen@sun.com>2009-11-19 09:03:57 +0100
committerOcke Janssen [oj] <Ocke.Janssen@sun.com>2009-11-19 09:03:57 +0100
commit78155803fd8f1e7d6eb9f0af390a4a928d2fb9cd (patch)
treeccbf1863a72b8c39a7301c2ea856e77c95fdd933 /reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java
parent563af76127ad7c1d20b21c1e8433b6122b34608f (diff)
dba33d: #i102563# use rootURL to resolve the given URI and some refactoring
Diffstat (limited to 'reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java')
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java19
1 files changed, 9 insertions, 10 deletions
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java b/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java
index 49571efae772..ec73596462e5 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java
+++ b/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/FontWeightMapper.java
@@ -27,8 +27,6 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-
-
package com.sun.star.report.pentaho.parser.stylemapper.fo;
import com.sun.star.report.pentaho.parser.StyleMapper;
@@ -37,13 +35,14 @@ import org.jfree.layouting.input.style.keys.font.FontStyleKeys;
public class FontWeightMapper implements StyleMapper
{
- public FontWeightMapper ()
- {
- }
- public void updateStyle (final String uri, final String attrName, final String attrValue,
- final CSSDeclarationRule targetRule)
- {
- targetRule.setPropertyValueAsString(FontStyleKeys.FONT_WEIGHT, attrValue);
- }
+ public FontWeightMapper()
+ {
+ }
+
+ public void updateStyle(final String uri, final String attrName, final String attrValue,
+ final CSSDeclarationRule targetRule)
+ {
+ targetRule.setPropertyValueAsString(FontStyleKeys.FONT_WEIGHT, attrValue);
+ }
}