summaryrefslogtreecommitdiff
path: root/chart2/uiconfig
AgeCommit message (Collapse)Author
2017-07-21migrate to boost::gettextCaolán McNamara
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-07-04tdf#105831 Add Donate entry on Help menuOlivier
The full implementation depends on infra Task #2179 https://redmine.documentfoundation.org/issues/2179 revision1: change to https, per demand of #2179 Removed ellipsis Code changed as suggested Change call to pass BCP47 string, with language as fallback. task #2179 will be reviewed accordingly. Change-Id: I573542da0f394d7128faab0106df852d622c98b3 Reviewed-on: https://gerrit.libreoffice.org/34693 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-02-05.uno:ScriptOrganizer should be menu:menuitemMaxim Monastirsky
... so it won't show as an empty submenu in the customization dialog, and allow accidentally overwriting it. Change-Id: I9431e5240485a58f63a2333850a9052e475db63e
2017-02-05chart2: Remove empty labels from main menuMaxim Monastirsky
Change-Id: I600d5bd2d502ffce7d54a699f390d30874323ca8
2017-01-31tdf#105571 Drop toolbar:helpid attribute from toolbar definitionsGabor Kelemen
These are no longer useful. Made with: git grep toolbar:helpid | cut -d : -f1 | sort -u | xargs sed -i -r -e 's/ toolbar:helpid="[0-9]*"//' git grep toolbar:helpid | cut -d : -f1 | sort -u | xargs sed -i -r -e 's/ toolbar:helpid=""//'1 Change-Id: If1bf04265f4e03b44b6a92529f6133aff1589526 Reviewed-on: https://gerrit.libreoffice.org/33642 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-12-21Add move column right and move row up in DataTablebansan85
Change-Id: Ib224a99636dfbb4451aa26263573af2f3d31b84a Reviewed-on: https://gerrit.libreoffice.org/32265 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-11-07Revert "Reverts a commit series that cripple windows ci."Caolán McNamara
with addition of... - svxlo-SvxColorListBox + svxcorelo-SvxColorListBox This reverts commit db380aab1063e8a5e40111c40ee9f7921aa82601. Change-Id: I3af7aa0abb1a430bce64188244404fcbd480b128 Reviewed-on: https://gerrit.libreoffice.org/30598 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-11-05Reverts a commit series that cripple windows ci.Norbert Thiebaud
Revert "SvxShadowTabPage::Construct was removed" f9a2c1c12ecad833c63b894c89d6008907477eb5. Revert "replace OColorPopup with SvxColorWindow" f300754bb1c6a347c92bb9548be7a65237176542. Revert "drop AutoColorInvalid/SID_ATTR_AUTO_COLOR_INVALID" 347c2c334589b18cc62af292674bb3df1dd54b71. Revert "replace last ColorLB use with a listbox of colors" 604b35bf55351751a396e34dcca3f85e75860fd5. Revert "simplify, its just a vector of colors" 351a97ce6bda3075677b59fa1387ba3d1ab17d7a. Revert "replace user draw with an Image of the color" df738e0f8ceedb4bad756960be14d9c41adc165d. Revert "strip down to the used pieces" commit 08d6cd788f2584ce10ab8fa10665245e953c59d9. Revert "move now combined ColorLB to location of last user" a19b18ad7c9eb0197c10e6d7e451ec4542e4bc9e. Revert "fold ColorListBox and ColorLB together" a989a0b1f2b425f05b58d0e44ce2de31c842ed65. Revert "move ColorListBox beside sole thing that uses it" 760a198e697f3070a5e0e029e4eff7be220eb9cd. Revert "extensions leaks out details of Color Selector, patch it up" 8bea644d6117a49405e6426dc97214220fc869d1. Revert "inherit FillAttrLB from ListBox not ColorListBox" d2ce812f1d3a7a2aad89ca0bd11948b63d2db7b0. Revert "unify color selectors" 43bc3031483d172eccd72c3804e2d4fc2ef37de4.
2016-11-04unify color selectorsCaolán McNamara
Note: this removes the use of auto-color from writer's asian text grid, because its always invisible as far as I can see in practice. Change-Id: Ie850790d740a4d56c43015e493e093678cef3b4e
2016-10-19tdf#96015 (part) link to Doc'tation in Help menuOlivier Hallot
Add the entry "Documentation" to the modules Help menu. on click, the system browser opens http://hub.libreoffice.org/documentation/?&LOlang=<locale> <locale> is obtained from .getLocale() Patch2: create a member with try/catch for external URLs Patch3 Use sfx2::openUriExternally Revert to User Guides.. in UI. Change-Id: I8332253c31bd3be330cdd794f9e056b632b38037 Patch4: remove 1st '&' in URLs Reviewed-on: https://gerrit.libreoffice.org/28817 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-10-10safemode: Add uno command and menu entrySamuel Mehrbrodt
Change-Id: I1843767160b79041c42e506eff0cf39399c74f26 Reviewed-on: https://gerrit.libreoffice.org/29668 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-09-28tdf#101549: Remove tooltip_markup from glade .ui filesMuhammet Kara
where there is also an identical tooltip_text. And convert the remaining tooltip_markup properties to tooltip_text. Change-Id: Id9995217468fb7046a2822dcef9a99072a7269ee Reviewed-on: https://gerrit.libreoffice.org/29367 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-08-18Trend Line UI: R² was hiddenLaurent Balland-Poirier
Un-hide correlation coefficient better choice of shortcut Change-Id: I85acd8a91de2d337d8619ba164dcd14d1939fac9 Reviewed-on: https://gerrit.libreoffice.org/28212 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-16Start tdf#100547 Trendline equation: customize X, Y namesLaurent Balland-Poirier
Change trend line UI to add fields: X name and Y name to change "x" and "f(x)" in equation representation Next to be done: save it to ODF file Change-Id: I0680ee1bbfbbb74016ecc858917e10d6790ac63a Reviewed-on: https://gerrit.libreoffice.org/27069 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2016-08-11tdf#96015 (part) links to Askbot in the Help menuOlivier Hallot
Add the entry "~Get help online" to the modules Help menu. on click, the system browser opens http://hub.libreoffice.org/forum/?&LOlang=<lang> <lang> is obtained from .getLocale() That in turn will redirect to e.g. askbot (but only few languages are using it at the moment) or other nl-specific resources. (nl-projects can request corresponding targets from infa, without the need to change the code – cf rdm#1983) The link can/should be extended to also include the version of LO and the currently used module to allow finer grained redirects. Change-Id: I56108dba4dd2684405623c4586103fc8ff9bea56 Reviewed-on: https://gerrit.libreoffice.org/27028 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2016-06-10Move accessibility relations to .ui files, Part 8: tdf#87026Muhammet Kara
By removing unnecessary variables/strings/function calls, and making proper changes in the related .ui files. Change-Id: I04244b360b4bb32ccbbe5bde4756a9166ae1fcaf Reviewed-on: https://gerrit.libreoffice.org/26018 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-06-02Remove SetAccessibleRelationLabeledBy calls tdf#87026Muhammet Kara
And make proper changes in the related .ui files Change-Id: Iea998b6de25831c08950a8afa725713288113bfa Reviewed-on: https://gerrit.libreoffice.org/25807 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-03-29set translatable property in .ui files (bin/ui-translatable.sh)Andras Timar
Change-Id: I8b382bddac208d12216842ace6511b8b9127f205
2016-03-21tdf#93837 chart2: Convert shape context menus to xmlMaxim Monastirsky
Change-Id: Ie0589c576b26dd74b9bc16d78a37a01c9bb2985e
2015-12-22tdf#91063 Better organize Error Bar content panelYousuf Philips
Change-Id: I7c85cb926187ff757a75f985ee1e5cbfe265f9dc Reviewed-on: https://gerrit.libreoffice.org/19577 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-20Remove last redundant toolbar:style propertiesSamuel Mehrbrodt
Change-Id: I42fa834464fd4cd7f0c1f11e310c1145fb1f071b
2015-11-19Remove redundant toolbar:style attributesSamuel Mehrbrodt
These have been defined in the widgets Change-Id: If46a6862872286a454804846128bd8658f60af9b
2015-10-27tdf#91063 Move border to Gtkbox in Data Series content panelYousuf Philips
Change-Id: I33dd8f0688df09e57d565f0f5fb2883297e0497f Reviewed-on: https://gerrit.libreoffice.org/19607 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-10-24tdf#91063 Change show legend label to tooltip in chart sidebarYousuf Philips
Change-Id: I3d4cd44527bd9687df002543055286daf6e24a65 Reviewed-on: https://gerrit.libreoffice.org/19370 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-10-19tdf#91063 Move border to Gtkbox similar to other panelsYousuf Philips
Change-Id: I8f385b2997585b3245ad862da60f0b394689b03b Reviewed-on: https://gerrit.libreoffice.org/19463 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-18mark numbers as untranslatableStanislav Horacek
Change-Id: I44c44f96c0ece4d9412df234f57d0acb26b10f2d Reviewed-on: https://gerrit.libreoffice.org/19423 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-10-09don't put the checkbox into the HBox, tdf#94870Markus Mohrhard
Change-Id: I28f4895814d9fc419274de5681efa535e815f822
2015-09-20use localized string for title text, tdf#94294Markus Mohrhard
Change-Id: Id27e5c3794b728ce79d63b6c7d552df0cc1ba239
2015-09-17tdf#91063 Improve the elements content panel of the chart sidebarYousuf Philips
Change-Id: I6fa83512a1a4949eb4f4dd9f849aab04b5f58374 Reviewed-on: https://gerrit.libreoffice.org/18658 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-09-09tdf#90839: support for wrapped text in data labels and for centered data valueMarco Cecchetti
Now in a pie chart the text of a label can be wrapped, the wrapping is automatic and the maximum text width is fixed to almost half the pie radius. This feature is used to import correctly the relative text wrapping property provided by MSO. Moreover the data value and percent value of a label are now centered horizontally, respect with the label text. Conflicts: chart2/qa/extras/xshape/chart2xshape.cxx Change-Id: Ie10d6184365436f763cd9693a5bbefcfa9b3862b Reviewed-on: https://gerrit.libreoffice.org/17193 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-08-16Some (mostly HIG) tweaks to chart error bar panelKatarina Behrens
stacked radiobuttons horizontally, they have no text now, but img and tooltip, it looks more sidebar-ish Change-Id: I6381a2e5e2c056b8928152b9154565eecce7a372 Reviewed-on: https://gerrit.libreoffice.org/17451 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-07-30Some (mostly HIG) tweaks to chart axis panelKatarina Behrens
+ added a text orientation spinbox to .ui file, but it does nothing so far Change-Id: Idb9177683c46fba50a153aff795aab7a2f419694 Reviewed-on: https://gerrit.libreoffice.org/17402 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-29Some (mostly HIG) tweaks to chart data series panelKatarina Behrens
Additional tweak: use 'Data series %1' as frame label, substitute %1 by real series name Change-Id: Id5bee4c2e52ccd98fa40649ec539b3efdee55962 Reviewed-on: https://gerrit.libreoffice.org/17387 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-07-29Some (mostly HIG) tweaks to chart elements panelKatarina Behrens
As I wanted to represent subsections as frames (it looks kinda better with bold labels), I tried to emulate grid behaviour by putting widgets into 2 size groups Other tweaks include disabling legend position listbox when legend is not to be shown and missing clear() of that listbox Change-Id: I0b635fe5aba1580542cf982e2e6be02eb0056352 Reviewed-on: https://gerrit.libreoffice.org/17386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-07-26finish error bar panelMarkus Mohrhard
Change-Id: I954b858ea76c949fe3e5de15e3ed45a7aba6bb2d
2015-07-18add skeleton for error bar panelMarkus Mohrhard
Change-Id: I397b10d95356a1d376e868af6a93077fd996b680
2015-07-17add chart sidebar axis panelMarkus Mohrhard
Change-Id: Ia0f75c09f11c5751428a19fca33b39a54cdbb249
2015-07-17also handle primary vs secondary axis in series panelMarkus Mohrhard
Change-Id: Ieed69e1e7ebd88b15dd6a6fb51863fab4f57479c
2015-07-16add skeleton for chart series panelMarkus Mohrhard
Change-Id: Ib1e5da270812aa909a6e773abbd9716256f4d5f4
2015-07-16remove unused labelsMarkus Mohrhard
Change-Id: I6b16fcd7ee48d782c9b25b1f90f3ff25c103633d
2015-07-16make chart elements panel beautifulMarkus Mohrhard
Change-Id: I9e76f9b314dce6b4392d43fee4d5e05a450aac84
2015-07-16handle legend position combobox correctlyMarkus Mohrhard
Change-Id: Ic19e8cd20d739761975db2b00cb92fd27f8ac4be
2015-07-16adapt to UX discussionMarkus Mohrhard
Change-Id: I6a7ba1f13cddf20b2751f2ee113427db43978cfa
2015-07-13chart2: Fix .ui widget namesMaxim Monastirsky
warn:vcl.layout:13283:1:include/vcl/builder.hxx:413: widget "checkbutton_x_axis_title" not found in .ui warn:vcl.layout:14352:1:include/vcl/builder.hxx:413: widget "checkbutton_y_axis_title" not found in .ui Change-Id: I5a6e29b24706df0925038e869be94b0f6a8d232f
2015-07-12add ChartElements panelMarkus Mohrhard
Change-Id: I935a0d637a9ea3a1716d6e839e65c4e565a2c840
2015-04-10tdf#90492 Rearrange toolbars and buttons in ChartYousuf Philips
Change-Id: I8594ad75b82ea4d8b5178de7e1f44e7402b22fda Reviewed-on: https://gerrit.libreoffice.org/15225 Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-01-05fdo#67343 Arrange Help button in a secondary groupAdolfo Jayme Barrientos
This helps de-clutter action button groups and eases visual scanning. This patch also contains little layout tweaks where needed to separate the Help button from its neighbors when the dialog is too small. Change-Id: I56aafdaf2a5351bd7bcb4db693e520fd5c5166ce Reviewed-on: https://gerrit.libreoffice.org/13427 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-20Resolves: fdo#84885 chart wizard dialog cut offCaolán McNamara
Change-Id: Ie24687cd1c54b1fed04745c83f507c17a5574175
2014-09-25Resolves: fdo#83010 remove svx::WrapFieldCaolán McNamara
in favour of a wrap property on NumericField Change-Id: I62c6bdb69a16f37ae6018a2fe41070fb18dbe4a0
2014-07-22fdo#81547, part2: show only relevant widgets in layout tabpageKatarina Behrens
Set initial status of most of the widgets in .ui file to hidden, *ResourceGroup::showControls() method will take care of showing them when appropriate Change-Id: I19d8df661ea7ee122e06ab854a9eb0a5edf62320