diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-06 13:20:26 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-06 13:20:26 +0000 |
commit | 2342a877ac9fa9d0a492a47768e48327e91c3d48 (patch) | |
tree | 4ef7d8072c354e05a2aecf41d97e84586a4ff5c5 | |
parent | 232f316c939342c14f075752fdf321b61364b18e (diff) |
INTEGRATION: CWS dbwizardpp4 (1.5.28); FILE MERGED
2006/06/26 08:11:46 bc 1.5.28.1: #i45673#fieldcolumn can now also handle '.' in their name
-rw-r--r-- | wizards/com/sun/star/wizards/form/StyleApplier.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/form/StyleApplier.java b/wizards/com/sun/star/wizards/form/StyleApplier.java index e5e1a27a43ef..cd44bcb9ddfb 100644 --- a/wizards/com/sun/star/wizards/form/StyleApplier.java +++ b/wizards/com/sun/star/wizards/form/StyleApplier.java @@ -4,9 +4,9 @@ * * $RCSfile: StyleApplier.java,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: vg $ $Date: 2006-04-07 12:44:18 $ + * last change: $Author: kz $ $Date: 2006-07-06 14:20:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -94,6 +94,7 @@ public class StyleApplier{ // final static int SODBCONTROLBACKGROUNDCOLOR = 3; final static int SOLABELBACKGROUNDCOLOR = 4; final static int SOBORDERCOLOR = 5; + Short IBorderValue = new Short((short) 1); public StyleApplier(WizardDialog _CurUnoDialog, FormDocument _curFormDocument) throws NoValidPathException{ @@ -215,11 +216,15 @@ public class StyleApplier{ } */ + public Short getBorderType(){ + return IBorderValue; + } + public void changeBorderLayouts(){ try { curFormDocument.xTextDocument.lockControllers(); - Short IBorderValue = null; + if (optNoBorder.getState()) IBorderValue = new Short((short) 0); else if (opt3DLook.getState()) |