summaryrefslogtreecommitdiff
path: root/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/table/ColumnWidthMapper.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/table/ColumnWidthMapper.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/table/ColumnWidthMapper.java')
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/table/ColumnWidthMapper.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/table/ColumnWidthMapper.java b/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/table/ColumnWidthMapper.java
index fca9edd38d33..82adc828982c 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/table/ColumnWidthMapper.java
+++ b/reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/table/ColumnWidthMapper.java
@@ -27,7 +27,6 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-
package com.sun.star.report.pentaho.parser.stylemapper.table;
import com.sun.star.report.pentaho.parser.StyleMapper;
@@ -41,15 +40,16 @@ import org.jfree.layouting.input.style.keys.box.BoxStyleKeys;
*/
public class ColumnWidthMapper implements StyleMapper
{
- public ColumnWidthMapper()
- {
- }
- public void updateStyle(final String uri,
- final String attrName,
- final String attrValue,
- final CSSDeclarationRule targetRule)
- {
- targetRule.setPropertyValueAsString(BoxStyleKeys.WIDTH, attrValue);
- }
+ public ColumnWidthMapper()
+ {
+ }
+
+ public void updateStyle(final String uri,
+ final String attrName,
+ final String attrValue,
+ final CSSDeclarationRule targetRule)
+ {
+ targetRule.setPropertyValueAsString(BoxStyleKeys.WIDTH, attrValue);
+ }
}