diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 09:34:50 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 09:34:50 +0000 |
commit | 939c1f65d0bfbb36e278af9018c575db8ef6a63a (patch) | |
tree | 19f3587e56e13ff0b9336c6b233d017cb2d6a377 /wizards/com | |
parent | 6d3aa544bcf2d912a41e33975f03a231bb77a6eb (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/com')
-rw-r--r-- | wizards/com/sun/star/wizards/reportbuilder/layout/SectionLabel.java | 16 |
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 1045f20223b8..65ee9e65f818 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) |