summaryrefslogtreecommitdiff
path: root/svx/source/dialog
AgeCommit message (Collapse)Author
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-28fixincludeguards.sh: svxThomas Arnhold
Change-Id: I885bbc431322ee233f8e67ec2bb5701af909046c
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22vcl: mark more Image constructors as "explicit"Michael Stahl
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-21remove uses of COMPARE_*Caolán McNamara
Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
2013-10-09update unusedcode listCaolán McNamara
Change-Id: I201985753fc53f037807e7870c6786a442717d6e
2013-10-06RulerItem: indent and cleanupTomaž Vajngerl
Change-Id: Ice76e03b6cac32263fb1909175b105ccc544e234
2013-10-01Convert change password dialog to widget UIManal Alhassoun
Change-Id: I0ff0eda77b849927fe6cffe5cf203c46ba9ef340 Reviewed-on: https://gerrit.libreoffice.org/6089 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-01convert remnants of String in SVX to StringNoel Grandin
Change-Id: I66fd6387c3fcd33c6ae0b431810abf6679345767
2013-09-26typo fixes in commentsAndras Timar
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-22insert on-the-fly-ID if select requestedEike Rathke
Change-Id: I2935b211aaee345827d89c63de207c7e4fbc78f4
2013-09-20fdo#39881 change Find All behaviour in CalcMatúš Kukan
Allow to search in all sheets. Find all now creates new dialog describing all matching cells. Change-Id: I36a9bee314b620384937fff074680022397c8c5f Reviewed-on: https://gerrit.libreoffice.org/5886 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-09-16Resolves: fdo#69236 route size request to layout widget, not hard-coded valueCaolán McNamara
a) For the sidebar the sidebars automatically handle scrolling, but for the older panel the widgets has to do the scrolling so add scrolling parents to the .ui b) Fold the DialogListBox scrolling widget implementation into VclScrolledWindow and remove the duplication. Change-Id: Ife9ccd8c501e5dee7bf3102a92c8261d979cd834
2013-09-15use rtl::math::round for rounding, std:round is C++11Tomaž Vajngerl
Change-Id: Ibba1a3e712de56844be454a87a0bb65c26ae4fe1
2013-09-15include cmathTomaž Vajngerl
Change-Id: I34fd87a7599884340adbf6e3ae7df321cfc85e23
2013-09-15cleanup ruler items (rulritem.hxx) - remove comments, identationTomaž Vajngerl
Change-Id: I450ebe3ceab0acf03221970b33c8da4cbb2c6a52
2013-09-15remove CalcOrtho "redeclaration"Tomaž Vajngerl
Change-Id: I3a0d74e0232fedc8a3beabebadca45fa8ad841fb
2013-09-15Use vector instead of scoped_array to hold ruler itemsTomaž Vajngerl
Change-Id: I51f8d1d22da5f869e9937813de9649fddae1ffda
2013-09-15Fix ruler margin dragging in vertical modeTomaž Vajngerl
Change-Id: I4727bbb304059859f3f5b4a96f834b41191c0bab
2013-09-15ruler: RTL fixes for indents in tables and columnsTomaž Vajngerl
Change-Id: I6c0a819e4a294fcf50c96a51bb9eea3ddef84c57
2013-09-15Ruler: disable snapping, tooltipsTomaž Vajngerl
It is now possible to disable snapping of the ruler at dragging with holding the ALT key and coarse snapping with ALT+SHIFT key. Tooltips are shown when hovering over indents and borders. Change-Id: Ib1e9639e1e2824f2a75b5abd35765bbbd02c87f7
2013-09-15SvxColumnItem: indents, useless comments, clean-upTomaž Vajngerl
Change-Id: Ib1eb99e9e43526422e7e90e72cdbdaaeed678955
2013-09-14callcatcher: update unused code listCaolán McNamara
No TriStateBoxes are loaded from .res files anymore. Change-Id: Ie897dc9a46a4e09e7fb1160a5bd4a65c63ba7979
2013-09-12Convert connector tab page to widget UIOlivier Hallot
Also: * Rename dimensionline.ui to dimensionlinetabpage for naming consistency * Fix connector and measure dialogs for connectors and dimension lines Change-Id: I921890b33a5f9807a6e12341ef7f374312abfc8b Reviewed-on: https://gerrit.libreoffice.org/5920 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-12CID#705986 avoid tmpnamCaolán McNamara
Change-Id: I47fa843284a074ef77da8631f4e4de914f4d0cf7
2013-09-09unify strip previews optimal size in one placeCaolán McNamara
Change-Id: I6ae1073d013c9d9bbca39c505955436cd4950d1b
2013-09-09Convert dimension lines tab page to widget UIOlivier Hallot
Change-Id: I1d5176609e2acd0d70991a541196e2b9857576f8 Reviewed-on: https://gerrit.libreoffice.org/5879 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-05match original intent of String::Erase(String::Search))Caolán McNamara
the single argument String::Erase erased from the passed in index to the end of the string Search returns STRING_NOTFOUND on failure, which results in String::Erase erasing nothing and so leaving the original string untouched. Change-Id: I83939fce2a92c38fbfb62196b7248908117c1e69
2013-09-05fix windows buildThomas Arnhold
Change-Id: Id09c09b402866b5fb00114c47da7d85d17866ca3
2013-09-05convert svx/source/dialog/*.cxx from String to OUStringNoel Grandin
Change-Id: Icba1afdaf0d6ec16d2d09788ed3346160cb7564d
2013-09-05convert source/dialog/imapdlg.hxx from String to OUStringNoel Grandin
Change-Id: I67484e2485f392ece69d1652fadf20f63d88691b
2013-09-05convert svx/source/inc/docrecovery.hxx from String to OUStringNoel Grandin
Change-Id: I2227e623dc6b27b425504329db230819a20160e0
2013-09-05convert include/svx/SpellDialogChildWindow.hxx from String to OUStringNoel Grandin
Change-Id: I6fe9e996b67dc689f4fc2abc1cf63cb4af39084f
2013-09-05convert include/svx/checklbx.hxx from String to OUStringNoel Grandin
Change-Id: If632dc3e2fc13379ab3f2bb3f63f1e48a5119a57
2013-09-05convert include/svx/dialcontrol.hxx from String to OUStringNoel Grandin
Change-Id: I6f35595305178ec10b19a9d5f499526d76e2b736
2013-09-05convert include/svx/dlgctrl.hxx from String to OUStringNoel Grandin
Change-Id: Ic029164e691eba81819b09c7379fccc1160ad849
2013-09-05convert include/svx/frmdirlbox.hxx from String to OUStringNoel Grandin
Change-Id: Ib7d7a6e62f5fb28664c25fbc96cd3d56bf1797ac
2013-09-05convert include/svx/langbox.hxx from String to OUStringNoel Grandin
Change-Id: I8a587f573b3a74b6fdd4ca36b49e78e18de8ca3b
2013-09-05convert include/svx/linkwarn.hxx from String to OUStringNoel Grandin
Change-Id: Iec378f2cbb3b9f519b68abcf1cdd4dfac0e31702
2013-09-05convert include/svx/pfiledlg.hxx from String to OUStringNoel Grandin
Change-Id: I7bcc35b1b0a01a474155763f4e59a49f8191ba50
2013-09-05convert includes/vx/rubydialog.hxx from String to OUStringNoel Grandin
Change-Id: I5b43080ffce00370d095b8c125457f5fbb8fcaac
2013-09-05convert includes/svx/srchdlg.hxx from String to OUStringNoel Grandin
Change-Id: I7e2733f3011b3282873f3c80665f1c7297c2845e
2013-09-05convert include/svx/swframeposstrings.hxx from String to OUStringNoel Grandin
Change-Id: I762a08c61f6d7b3fa97195d9da19f54da1b553f4
2013-09-05convert include/svx/txenc*.hxx from String to OUStringNoel Grandin
Change-Id: I4a87fcd660ea64a8328840f731bf4a9ab8b909dd
2013-09-04Remove more unused methodsMarcos Paulo de Souza
Change-Id: I8fec40d767905bcca366257a67f669eaa1055cbc Reviewed-on: https://gerrit.libreoffice.org/5789 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-03Ruler: minimal unit 1/16 inch, 1/10 cm, dynamic tick draw, variousTomaž Vajngerl
- minimal unit for inch is 1/16 and for cm 1/10 (1mm) - additional tick level (now 4 in total) - top and bottom tick in addition to the number (highes tick level) - dynamically draw tick levels depending on the tick gap (should be at least 6 pixel wide) Change-Id: I0598b16e32d19eb1294a2358eacbeb19a70966a2
2013-08-29Convert more instance vars to scoped_ptr and scoped_array in rulerTomaž Vajngerl
Change-Id: I8f6f0800af814e08a38e09136c4e26cb1b9c7902
2013-08-29fdo#67033 fix default tab drawing on rulerTomaž Vajngerl
Change-Id: I471920e26a8e336cde795360945b5a843fe8f9c8
2013-08-29Remove paragraph border drawing in ruler as it is not useful.Tomaž Vajngerl
Change-Id: I8fbe294722b448aaa08b5f14d9902bdbfe9f8f25
2013-08-29Use scoped_ptr for items in svxruler and clean-up code.Tomaž Vajngerl
Change-Id: Ia461bdf633364fdc379a8180998452ef08a58316