summaryrefslogtreecommitdiff
path: root/wizards
AgeCommit message (Collapse)Author
2014-12-19GroupShape takes care of scaling the subshapesLionel Elie Mamane
Change-Id: I1e913287229119276fa97f73cb249ed0a0b2c473
2014-12-19detect groupShapes (TimestampFields) in forms, tooLionel Elie Mamane
as a consequence, successfully delete them Change-Id: I5dd7b329708dd13f8bfe4a38974c5f6f1202b392
2014-12-19xShapeGroup *is* the control's global xShape, so use it as suchLionel Elie Mamane
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 Mamane
Change-Id: Iebf7fa5b2335e5c6d71fdba791e49a6378db8a31
2014-12-19Revert "fdo#87301 don't rely on the shape to get the control"Lionel Elie Mamane
This reverts commit 89b3af722cc13a0af06822afe248cdec3b63cfeb.
2014-12-19Revert "fix indentation"Lionel Elie Mamane
This reverts commit 534e5676028e41205adba3928f96cd35559b5dca.
2014-12-19fix indentationLionel Elie Mamane
Change-Id: I13b50f49658a9ca38dc9a41b219428d5faad70a3
2014-12-19fdo#87301 don't rely on the shape to get the controlLionel Elie Mamane
as it forgets its associated control Change-Id: Ia5bd2212725376ab629f2c271102cea2cff9e823
2014-12-19remove unnecessary and confusing lineLionel Elie Mamane
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 Grandin
found by UCDetector Change-Id: I0a0a00d1fae1fed2e6aef198b7a1482d7e7e29f0
2014-12-19java: static fields that should not be staticNoel Grandin
Found by FindBugs. Change-Id: I223841f7bb8c515c9612322abc0b13e134385abd
2014-12-19java: these fields can be converted to local variablesNoel Grandin
Change-Id: Ifefb5de196a3e5cbaa8945759da42886c69daacf
2014-12-15java: remove some unused fields and variablesNoel Grandin
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 Grandin
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 Grandin
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 Nabet
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 Grandin
Change-Id: I1b6fb6b47439c448ac31983702772e2115c70d56
2014-12-05java: static fields should be accessed in a static wayNoel Grandin
Change-Id: I727e7f2a7527c60bb45f0ba5d0e88a66c5ccdd6f
2014-11-27java,wizards: remove unused parametersNoel Grandin
Change-Id: I13f0c7afca233cc0ff6692f8fb442a80c4208d20
2014-11-27java,wizards: remove unread fieldsNoel Grandin
found by UCDetector Change-Id: Ia98606a98b998a224f821f2e673e788fb0ecf7d1
2014-11-27java,wizards: remove unused constantsNoel Grandin
found by UCDetector Change-Id: Ic62ec16bceb9ab7b6898f8a469af65ba3884bb51
2014-11-27java,wizards: remove unused classesNoel Grandin
found by UCDetector Change-Id: I7993f781a9e195d7d591e8a9e94a72ee86d77826
2014-11-27java,wizards: remove unused methodsNoel Grandin
found by UCDetector Change-Id: If7d7f7b271f48f82d823a3d7b175adcae91180e3
2014-11-27java,wizards: remove unused class XCommandSelectionListenerNoel Grandin
Change-Id: I80416b3e2065263abd6015843e3aa6f7b7c0b3e4
2014-11-27java,wizards: remove completely unreferenced fieldsNoel Grandin
found by UCDetector Change-Id: I00a35337478111991dec7fa6310e57d3b5a146fa
2014-11-27java,wizards: remove unnecessary use of reflectionNoel Grandin
Change-Id: I44750fa6673c7b5e0a796b6e443028aa3a5e68fc
2014-11-27java,wizards: remove unnecessary use of reflectionNoel Grandin
Change-Id: I6c879957e4dcd003eb155900d4cc9cd8f445ef32
2014-11-25java,wizards: forgot to commit some filesNoel Grandin
Change-Id: Ie4532343cf964ade848454d89b44e381eadb6582
2014-11-25java: remove some comment noiseNoel Grandin
Change-Id: I1c258b853097448d4a59334d915e94dba4c7eb34
2014-11-25java: remove now unused CommonListener classNoel Grandin
Change-Id: I2b3d73dc38ab4c5b7ac60bc8b4b3903c36579891
2014-11-25java,wizards: convert event listeners to inner classesNoel Grandin
Change-Id: I3c30d3865302741c7fbdc811e32686a921b6a4df
2014-11-25java,wizards: convert event listeners to inner classesNoel Grandin
Change-Id: I01143a9f3a3b563bf5da58dc4a8ed38c440a5c62
2014-11-25java,wizards: convert event listeners to inner classesNoel Grandin
Change-Id: Ia95a07f798de01bfedcce6cd5e97090e165a7ca9
2014-11-25java,wizards: convert event listeners to inner classesNoel Grandin
Change-Id: Id6a6991704009b909e5108daf65c48722fa97447
2014-11-25java,wizards: convert event listeners to inner classesNoel Grandin
Change-Id: I8379bb8194b86a194c351c5e33e1765b8feb59d2
2014-11-25java,wizards: convert some listeners to more normal inner classesNoel Grandin
Change-Id: Iee0b9e3409f5789a1ca17eb10b100a457dfbdea3
2014-11-25java: simplify CommonListenere some moreNoel Grandin
and remove some unused methods in UnoDialog2, and rename some parameters to be more explanatory Change-Id: Ic57510159bebacc1c79d8d689a14bd3cd5a81ae8
2014-11-25java: simplify the CommonListener stuffNoel Grandin
by moving the MethodInvocation to be purely an internal detail Change-Id: Id7863261abd5ebd30b7596bac756ca5360119283 Reviewed-on: https://gerrit.libreoffice.org/13100 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-25java: final fields that can be staticNoel Grandin
found by PMD Change-Id: I2b48f35d252d6e914c2a18a2c175b075a9d3ac0f Reviewed-on: https://gerrit.libreoffice.org/13099 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-24convert EventNames to an enumNoel Grandin
Change-Id: I68496b47564f4c00c19a62f9f1bf38d3353598f7 Reviewed-on: https://gerrit.libreoffice.org/13095 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-24merge AbstractListener into CommonListenerNoel Grandin
since CommonListener is the only subclass Change-Id: If10ccb29991d7c48e2c20fc41330572a669f1497 Reviewed-on: https://gerrit.libreoffice.org/13094 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-24the getGuiEventListener method is unnecessaryNoel Grandin
Change-Id: I1c8b0ea28b6dbc2b6825f5f30ae0d234b7362d64 Reviewed-on: https://gerrit.libreoffice.org/13093 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-24the UnoDialog constructor parameters can be simplifiedNoel Grandin
Change-Id: I5c790a4b79966c977899a0cdacde8fb41148eb1a Reviewed-on: https://gerrit.libreoffice.org/13092 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-24createListener() is never overridenNoel Grandin
Change-Id: I95c095eb7a6f315019fb851fb20e65314eaebf55 Reviewed-on: https://gerrit.libreoffice.org/13091 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-18java, wizards: remove unused local variables and fieldsNoel Grandin
Change-Id: I77dfcaae8950397e0f22c9a3e744e744055b6cf3
2014-11-18java: make fields final where possibleNoel Grandin
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-18java: rather use @Deprecated annotationNoel Grandin
than an empty @deprecated tag Change-Id: I1646ce1c0c8823ac5be0153aeb8eb2b830e7ebfa Reviewed-on: https://gerrit.libreoffice.org/12525 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12java: convert fields to local variables where possibleNoel Grandin
found by PMD Change-Id: I05b45382b8fb1b734657ce9421a20e6ef6fbe542 Reviewed-on: https://gerrit.libreoffice.org/12376 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-10fix spelling implemenation -> implementationNoel Grandin
Change-Id: I5ac499df1f4063a80a5d41f60778106a7b96940d