summaryrefslogtreecommitdiff
path: root/wizards
AgeCommit message (Collapse)AuthorFilesLines
2015-01-31Access2Base - Bug in Control.RemoveItemJean-Pierre Ledure1-3/+6
Removing last item of a Listbox produces an "Index out of rande" run-time error Bug reported in user forum https://forum.openoffice.org/en/forum/viewtopic.php?f=47&t=75008 Change-Id: I4bf790f8fee1f88def580dee7bac708b5620fbed
2015-01-19Fix typo comments Resouce->ResourceAndrea Gelmini1-1/+1
Change-Id: Ia3195a21ad46b4c9830ee6293135dfe5945986a2 Reviewed-on: https://gerrit.libreoffice.org/13985 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-09java: simplify array creationNoel Grandin7-27/+13
and remove the need to worry about keeping indexes correct Change-Id: I9a5fc00f7e28f305279b41099274c96daebebb95
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin1-7/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-05fdo#88068 make the string 'Red Line' localizable in Letter WizardAndras Timar1-1/+1
Change-Id: If6a69eb384b7b7e6c71e96f126a27bcd45709ad4
2015-01-05fdo#88069 make the string 'Fax' localizable in Fax WizardAndras Timar2-2/+9
Change-Id: I5258b47cba25451b36645e9de3a6a43e3ea3af4c
2015-01-05java: remove more dead codeNoel Grandin7-12/+6
found by looking for unused parameters (in Eclipse) Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
2015-01-05java: these fields can become local variablesNoel Grandin4-17/+4
found by PMD Change-Id: Id852cfec984a181b91aca1c00a41e342b720a4bf
2015-01-05java: remove dead codeNoel Grandin28-1018/+3
found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
2015-01-04Access2Base - Extend CommandBars scope to most modulesJean-Pierre Ledure1-9/+26
Refine list of supported modules beyond database forms only Change-Id: I6f43234d653a564fa740724b01b7f2bde58d371d
2015-01-04Access2Base - New CommandBarControl classJean-Pierre Ledure18-60/+631
Main functionalities: - show/hide toolbar elements - modify tooltip - get/set internal command - execute internal command Change-Id: Ice830009f9eabc199727c7d4b54ebf524b026d40
2015-01-02Fix simple typos.Andrea Gelmini1-1/+1
Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599 Reviewed-on: https://gerrit.libreoffice.org/13719 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-02Following fdo#87123: Impossible to create table or query with wizardJulien Nabet2-0/+6
See https://bugs.freedesktop.org/show_bug.cgi?id=87123#c15 and above all https://bugs.freedesktop.org/show_bug.cgi?id=87123#c18 Thank you Noel for your help! Change-Id: I9feb2384ff5965bab005c9a1e8803062cd9d0f94
2015-01-02Resolves fdo#87123: Impossible to create a form with wizardJulien Nabet1-9/+0
Quoting Noel: " The original block of code looked like this before my changes: MethodInvocation windowHidden = new MethodInvocation("windowHidden", this); xWindow.addWindowListener((CommonListener) getGuiEventListener()); String dialogName = (String) Helper.getUnoPropertyValue(xDialogModel, PropertyNames.PROPERTY_NAME); getGuiEventListener().add(dialogName, EVENT_ACTION_PERFORMED, windowHidden); which is clearly bogus, since "actionPerformed" is not an event on the XWindowListener interface. " (see https://bugs.freedesktop.org/show_bug.cgi?id=87123#c14) Change-Id: I4c4923e6cb21989fcd3e346b099a7e7b15526bf2
2015-01-02Access2Base - handle ".uno:" prefixJean-Pierre Ledure1-9/+24
Isolate _DispatchCommand sub
2014-12-31Access2Base - solve incompatibility with AOOJean-Pierre Ledure1-4/+16
Controller.FormOperations always returns <Null> in AOO. LibreOffice OK.
2014-12-30Access2Base - CommandBars collection - show/hide toolbarsJean-Pierre Ledure11-46/+639
Addition of CommandBars collection Addition of CommandBar class
2014-12-19fix buildLionel Elie Mamane1-0/+1
Change-Id: I149d36a103df51ca78324df3121f51440797e226
2014-12-19fix indentationLionel Elie Mamane1-12/+12
Change-Id: I35a89fc3a7f388be783c729c8e3414aba1c5c726
2014-12-19janitorialLionel Elie Mamane1-1/+0
Change-Id: I91387b354d0034410819dbcb8dc1ad8889fc8f14
2014-12-19janitorialLionel Elie Mamane1-1/+0
Change-Id: I3e79b0b34507b947ac4234bab45265027e445d7f
2014-12-19protect against division by zeroLionel Elie Mamane1-41/+47
Change-Id: Ib91120e626f772bb52531c4a35fc70f04cc5c48f
2014-12-19Keep as xShapes the newly created GroupShapeLionel Elie Mamane1-0/+1
That's what we should refer to later, not the temporary collection we made! Change-Id: Ie288222c6aefa0f50a0b0878ad83b78909ee56d1
2014-12-19GroupShape takes care of scaling the subshapesLionel Elie Mamane1-21/+0
Change-Id: I1e913287229119276fa97f73cb249ed0a0b2c473
2014-12-19detect groupShapes (TimestampFields) in forms, tooLionel Elie Mamane1-0/+13
as a consequence, successfully delete them Change-Id: I5dd7b329708dd13f8bfe4a38974c5f6f1202b392
2014-12-19xShapeGroup *is* the control's global xShape, so use it as suchLionel Elie Mamane1-16/+1
this allows the rest of the code to automagically do the right stuff: - get&set position - group this control with its label - set the label property to the label control - ... Conflicts: wizards/com/sun/star/wizards/document/TimeStampControl.java Change-Id: Ibf3cb0ae82ba5c8a23fde05f6466f8eec8308186
2014-12-19set *content* control to multiline, not label(!)Lionel Elie Mamane1-1/+1
Change-Id: Iebf7fa5b2335e5c6d71fdba791e49a6378db8a31
2014-12-19Revert "fdo#87301 don't rely on the shape to get the control"Lionel Elie Mamane2-10/+15
This reverts commit 89b3af722cc13a0af06822afe248cdec3b63cfeb.
2014-12-19Revert "fix indentation"Lionel Elie Mamane1-12/+12
This reverts commit 534e5676028e41205adba3928f96cd35559b5dca.
2014-12-19fix indentationLionel Elie Mamane1-12/+12
Change-Id: I13b50f49658a9ca38dc9a41b219428d5faad70a3
2014-12-19fdo#87301 don't rely on the shape to get the controlLionel Elie Mamane2-15/+10
as it forgets its associated control Change-Id: Ia5bd2212725376ab629f2c271102cea2cff9e823
2014-12-19remove unnecessary and confusing lineLionel Elie Mamane1-1/+0
XShapeGrouper.group returns a XShapeGroup which is guaranteed to also be a XShape. If it were not a XShape, this code would not even work since the first assignment would not work, since xShapeGroup is of type XShapeGroup. Change-Id: Ic0d873229a1421c3dc94292d7449614a4b6140a3
2014-12-19java: reduce visibility of some methods and fieldsNoel Grandin13-28/+28
found by UCDetector Change-Id: I0a0a00d1fae1fed2e6aef198b7a1482d7e7e29f0
2014-12-19java: static fields that should not be staticNoel Grandin1-4/+4
Found by FindBugs. Change-Id: I223841f7bb8c515c9612322abc0b13e134385abd
2014-12-19java: these fields can be converted to local variablesNoel Grandin17-65/+30
Change-Id: Ifefb5de196a3e5cbaa8945759da42886c69daacf
2014-12-15java: remove some unused fields and variablesNoel Grandin5-24/+0
Change-Id: I5d6071096307adbe7df0178000346cf915afa3e7 Reviewed-on: https://gerrit.libreoffice.org/13477 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-11java: remove some unnecessary interfacesNoel Grandin7-90/+2
Change-Id: Ie2da7cbbd1733881ff2da6fa095c37c21cf19fe8 Reviewed-on: https://gerrit.libreoffice.org/13435 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-11java: reduce visibility of fields and methodsNoel Grandin77-536/+536
found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-07We need to call decode method considering this:Julien Nabet1-1/+1
java.lang.NumberFormatException: For input string: "#FF9966" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:481) at java.lang.Integer.parseInt(Integer.java:527) at com.sun.star.wizards.form.StyleApplier.getStyleColor(StyleApplier.java:321) When creating form with wizard Partly reverts http://cgit.freedesktop.org/libreoffice/core/commit/?id=10e8e10605b9c52bd7fd8a0665dd4d358c733a66 Change-Id: Ide85566244e0dce1d30f6369d1f5d8d30534a01a
2014-12-05java: remove some unused fieldsNoel Grandin1-1/+0
Change-Id: I1b6fb6b47439c448ac31983702772e2115c70d56
2014-12-05java: static fields should be accessed in a static wayNoel Grandin7-44/+24
Change-Id: I727e7f2a7527c60bb45f0ba5d0e88a66c5ccdd6f
2014-11-27java,wizards: remove unused parametersNoel Grandin35-119/+105
Change-Id: I13f0c7afca233cc0ff6692f8fb442a80c4208d20
2014-11-27java,wizards: remove unread fieldsNoel Grandin32-124/+29
found by UCDetector Change-Id: Ia98606a98b998a224f821f2e673e788fb0ecf7d1
2014-11-27java,wizards: remove unused constantsNoel Grandin9-13/+0
found by UCDetector Change-Id: Ic62ec16bceb9ab7b6898f8a469af65ba3884bb51
2014-11-27java,wizards: remove unused classesNoel Grandin38-3978/+0
found by UCDetector Change-Id: I7993f781a9e195d7d591e8a9e94a72ee86d77826
2014-11-27java,wizards: remove unused methodsNoel Grandin57-3482/+57
found by UCDetector Change-Id: If7d7f7b271f48f82d823a3d7b175adcae91180e3
2014-11-27java,wizards: remove unused class XCommandSelectionListenerNoel Grandin2-25/+0
Change-Id: I80416b3e2065263abd6015843e3aa6f7b7c0b3e4
2014-11-27java,wizards: remove completely unreferenced fieldsNoel Grandin30-74/+0
found by UCDetector Change-Id: I00a35337478111991dec7fa6310e57d3b5a146fa
2014-11-27java,wizards: remove unnecessary use of reflectionNoel Grandin3-10/+19
Change-Id: I44750fa6673c7b5e0a796b6e443028aa3a5e68fc
2014-11-27java,wizards: remove unnecessary use of reflectionNoel Grandin1-44/+15
Change-Id: I6c879957e4dcd003eb155900d4cc9cd8f445ef32