summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-08-19 09:34:50 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-08-19 09:34:50 +0000
commite666108b257a33443e81e686c31e1d00f13b6cde (patch)
tree79e2d0835c26e545c9ec7f8f4302fff11e02e020 /wizards
parent1c9b0a2fce6db785cb6aef5e35df96c742de1ac3 (diff)
INTEGRATION: CWS dba31a (1.2.10); FILE MERGED
2008/07/02 12:08:44 fs 1.2.10.1: copying following changes from CWS dba30f to CWS dba31a: 2008/07/01 09:39:35 lla 1.2.2.1: #i90874# Orientation handled wrong (Cache problem)
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java16
1 files changed, 10 insertions, 6 deletions
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java
index c2156df37..918085850 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java
@@ -9,7 +9,7 @@
*
* $RCSfile: SectionLabel.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
* This file is part of OpenOffice.org.
*
@@ -35,7 +35,7 @@ package com.sun.star.wizards.reportbuilder.layout;
import com.sun.star.awt.FontDescriptor;
import com.sun.star.report.XFixedText;
-import com.sun.star.wizards.common.PropertySetHelper;
+// import com.sun.star.wizards.common.PropertySetHelper;
/**
*
@@ -47,22 +47,26 @@ public class SectionLabel extends SectionObject
{
m_aParentObject = _aFixedText;
// We would like to know, what properties are in this object.
- PropertySetHelper aHelper = new PropertySetHelper(_aFixedText);
- aHelper.showProperties();
+// PropertySetHelper aHelper = new PropertySetHelper(_aFixedText);
+// aHelper.showProperties();
}
public static SectionObject create(XFixedText _aFixedText)
{
- SectionLabel a = new SectionLabel(_aFixedText);
+ final SectionLabel a = new SectionLabel(_aFixedText);
return a;
}
+ /**
+ * Return the current FontDescriptor
+ * @return
+ */
public FontDescriptor getFontDescriptor()
{
FontDescriptor a = null;
try
{
- XFixedText aLabel = (XFixedText)getParent();
+ final XFixedText aLabel = (XFixedText)getParent();
a= aLabel.getFontDescriptor();
}
catch (com.sun.star.beans.UnknownPropertyException e)