summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-09-22 19:35:38 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-09-23 09:32:39 +0200
commit1db66dbdc0336c7de5916a14cbbc0d6a8be50f30 (patch)
treed20ac120abd4d4bad17dcaff7b6be258ce76bf28 /wizards
parent92b811e50b024ecbdf1132e77b91c9eb4981e203 (diff)
cid#1606721 PA: Public Attribute
Change-Id: I2d5c28e7fb220426b5a7c4881e35a4d269322883 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173778 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/form/FormWizard.java20
-rw-r--r--wizards/com/sun/star/wizards/text/TextDocument.java7
2 files changed, 16 insertions, 11 deletions
diff --git a/wizards/com/sun/star/wizards/form/FormWizard.java b/wizards/com/sun/star/wizards/form/FormWizard.java
index 4534d8ac5b35..70e9f01c3b73 100644
--- a/wizards/com/sun/star/wizards/form/FormWizard.java
+++ b/wizards/com/sun/star/wizards/form/FormWizard.java
@@ -215,7 +215,7 @@ public class FormWizard extends DatabaseObjectWizard
{
curDBCommandFieldSelection = new CommandFieldSelection(this, curFormDocument.oMainFormDBMetaData, 92, slblFields, slblSelFields, slblTables, true, 34411);
curDBCommandFieldSelection.addFieldSelectionListener(new FieldSelectionListener());
- curFormDocument.xProgressBar.setValue(20);
+ curFormDocument.getProgressBar().setValue(20);
// Label Help Text
insertLabel("lblBinaryHelpText",
new String[]
@@ -231,7 +231,7 @@ public class FormWizard extends DatabaseObjectWizard
});
curFormConfiguration = new FormConfiguration(this);
- curFormDocument.xProgressBar.setValue(30);
+ curFormDocument.getProgressBar().setValue(30);
curSubFormFieldSelection = new CommandFieldSelection(this, curFormDocument.oSubFormDBMetaData, SOSUBFORMFIELDS_PAGE, 92, slblFields, slblSelFields, slblTables, true, 34431);
curSubFormFieldSelection.addFieldSelectionListener(new FieldSelectionListener());
@@ -248,27 +248,27 @@ public class FormWizard extends DatabaseObjectWizard
28, sShowBinaryFields, Boolean.TRUE, 95, 154, Integer.valueOf(SOSUBFORMFIELDS_PAGE), 210
});
- curFormDocument.xProgressBar.setValue(40);
+ curFormDocument.getProgressBar().setValue(40);
curFieldLinker = new FieldLinker(this, SOFIELDLINKER_PAGE, 30, 34441);
- curFormDocument.xProgressBar.setValue(50);
+ curFormDocument.getProgressBar().setValue(50);
curControlArranger = new UIControlArranger(this, curFormDocument);
curFormDocument.addUIFormController(curControlArranger);
- curFormDocument.xProgressBar.setValue(60);
+ curFormDocument.getProgressBar().setValue(60);
CurDataEntrySetter = new DataEntrySetter(this);
- curFormDocument.xProgressBar.setValue(70);
+ curFormDocument.getProgressBar().setValue(70);
curStyleApplier = new StyleApplier(this, curFormDocument);
curFormDocument.addStyleApplier(curStyleApplier);
- curFormDocument.xProgressBar.setValue(80);
+ curFormDocument.getProgressBar().setValue(80);
curFinalizer = new Finalizer(this);
- curFormDocument.xProgressBar.setValue(100);
+ curFormDocument.getProgressBar().setValue(100);
enableNavigationButtons(false, false, false);
- curFormDocument.xProgressBar.end();
+ curFormDocument.getProgressBar().end();
}
// @Override
@@ -340,7 +340,7 @@ public class FormWizard extends DatabaseObjectWizard
{
Properties.createProperty(PropertyNames.ACTIVE_CONNECTION, curFormDocument.oMainFormDBMetaData.DBConnection)
});
- curFormDocument.xProgressBar.setValue(20);
+ curFormDocument.getProgressBar().setValue(20);
buildSteps();
this.curDBCommandFieldSelection.preselectCommand(m_wizardContext, false);
XWindowPeer xWindowPeer2 = createWindowPeer(curFormDocument.xWindowPeer);
diff --git a/wizards/com/sun/star/wizards/text/TextDocument.java b/wizards/com/sun/star/wizards/text/TextDocument.java
index 710c73a9b494..bc050b07d1b1 100644
--- a/wizards/com/sun/star/wizards/text/TextDocument.java
+++ b/wizards/com/sun/star/wizards/text/TextDocument.java
@@ -50,7 +50,7 @@ public class TextDocument
public XComponent xComponent;
protected com.sun.star.text.XTextDocument xTextDocument;
- public com.sun.star.task.XStatusIndicator xProgressBar;
+ protected com.sun.star.task.XStatusIndicator xProgressBar;
public com.sun.star.frame.XFrame xFrame;
public XText xText;
public XMultiServiceFactory xMSFDoc;
@@ -232,6 +232,11 @@ public class TextDocument
return xTextDocument;
}
+ public com.sun.star.task.XStatusIndicator getProgressBar()
+ {
+ return xProgressBar;
+ }
+
private Size getPageSize()
{
try