summaryrefslogtreecommitdiff
path: root/svtools/source/control/ctrlbox.cxx
AgeCommit message (Collapse)Author
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-09-29loplugin: cstylecastNoel Grandin
Change-Id: Iea517d2287bded4a702c73dfdd1f182023425d67
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-08-29Resolves: fdo#83068 ignore spaces in font-size unit detectionCaolán McNamara
Change-Id: Id9a5c2ee576bd533d8b0a2b4356e319354abbbac
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: If7b285a2214bc878e8464a986538d0445078fcb3
2014-06-04new loplugin: inlinesimpleaccessmethodsNoel Grandin
Create a rewriting plugin for finding methods that simply return object fields, and should therefore be declared in the header, so that the compiler can reduce method calls into a simple fixed-offset load instruction. Change-Id: I7a620fc54250b79681918dc31ed9a8f21118c037 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-04avoid problems with poppler's and vcl's FontInfo during runtimeMarkus Mohrhard
Change-Id: I1dbd256812cccae1e6ed0ad8bb34ce427e5e5be8
2014-06-04remove whitespaceMarkus Mohrhard
Change-Id: Iae0f6b9818f84a92c46b24f90d3051c7b6a45d94
2014-04-04callcatcher: update unused codeCaolán McNamara
Change-Id: I23ad8bcbef9a0ef17aaa5d401d111c40a6560ee2
2014-04-02Resolves: fdo#76905 long delay when changing font size from % to ptCaolán McNamara
Change-Id: I33d72b51536ab96653ccda64c6e058c497289327
2014-03-24svtools: sal_Bool->boolNoel Grandin
Change-Id: Iaa489318f25107e91fc8133523fbd9d724493314
2014-03-19Add dash-dot and dash-dot-dot line styles.Kohei Yoshida
We need these for Excel interop. Change-Id: I91450c1d205f28636edfb4392aa6ae5091b1d7b7
2014-03-05cast to the higher capacity type insteadEike Rathke
Change-Id: I515f315c93dd19016dfdabdf9524606214f84891
2014-03-05WaE: comparison of integers of different signsTor Lillqvist
Change-Id: I936e7bdaf3a4236775add4982005b465f229eb78
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke
ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-02-28remove unused code FontSizeBox::GetValue(unsigned short, FieldUnit)Noel Grandin
Change-Id: I63df5364d69bf60e7a5ee2b5854b41ce27f10894
2014-02-25Remove visual noise from svtoolsAlexander Wilms
Change-Id: I7c2b74a449fb20aae5bc643e24a22cf6f732136d Reviewed-on: https://gerrit.libreoffice.org/8320 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21vcl: sal_Bool -> boolStephan Bergmann
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-22Only allow approved border styles in cell borders.Kohei Yoshida
Line styles such as inset, outset, embossed etc are not supportable in Calc. So, don't show them in the UI. Change-Id: Ie7be74193d01e13a79132a979e2d9a2e4d06de3f
2014-01-20Better pixelization of dashed lines for screen rendering.Kohei Yoshida
Now the dashed lines are evenly placed on screen. For now, horizontal lines only. I'll work on vertical lines later. Change-Id: I474e9c8214e5f079ea2cfca12b35381d8fcf2ae1
2014-01-20Related: #i56998# use FUNIT_PERCENT on fields that allow relative valueTsutomu Uchino
(cherry picked from commit fc6fc5b576b972a8ea0551091cc57aa1cfe1334d) Conflicts: svtools/source/control/ctrlbox.cxx svx/source/dialog/relfld.cxx Change-Id: Ic8f0f550dbbcab0678fbeb9bf45a478b0cea642d
2014-01-17Revise the line patterns further. Now they look satisfactory to my eye.Kohei Yoshida
Change-Id: I27f4e11bceac25c10de28a866bdcec9576027582
2014-01-17Apply dashing without consulting current map unit.Kohei Yoshida
Using scaling is sufficient. Change-Id: If976bec3940772432d814a77681170d7c99306d2
2014-01-17More fine-tuned stroke patterns.Kohei Yoshida
Only the pixel map mode is visually inspected. Change-Id: Ia8ac978a0d3049d7e7162f1157822b85d475dfdf
2014-01-17Remove STYLE_* and use css::table::BorderLineStyle instead.Kohei Yoshida
Change-Id: I187511dbf85ecdfe0c5d05c6f77cf4ac93363051
2014-01-07translated german commentsLuc Castermans
Reviewed on: https://gerrit.libreoffice.org/7275 Change-Id: I86fef5ab012c7c464271afec3a0a5fa4d3c72f31
2014-01-05translated German commentsLuc Castermans
Change-Id: I75c7611c36c15fb36e00de239f5b322adb182e73 Reviewed-on: https://gerrit.libreoffice.org/7273 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-12-04convert OutputDevice::HasGlyphs from xub_StrLen->sal_Int32Noel Grandin
Change-Id: Ic8f0ae3d263d6cb02e6faa7226db0241681fc45f
2013-10-22vcl: mark more Image constructors as "explicit"Michael Stahl
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-07make font style size stable on switching fontsCaolán McNamara
Change-Id: I891fa5b9b8bd3be7dd4d73f2911ec56d16a3b09f
2013-09-27cppcheck: redundantAssignmentJulien Nabet
Change-Id: I16ced23894e461e7953ed4978ca0d4cf7f40f5e8
2013-09-15Fix drawing of fine dashed border typeZolnai Tamás
On the Borders tab in the preview block (called User-defined area in help) fine dashed border is drawn as solid line. The problem is that 1 pixel gap is too small and painting can hadnle it so I doubled the numbers to get the same rate and get the rigth visual result. Change-Id: Ide037fa3f4f90b304dc53f5f806c2acd2194ec0c
2013-08-22convert svtools/source/control/* from String to OUStringNoel Grandin
Change-Id: I32e411801d3754ca635cfc3ed9529b8ea43ffa3c
2013-08-22convert include/svtools/ctrl*.hxx from String to OUStringNoel Grandin
Change-Id: I86b78137f02a11c5a2c34930b19cef22acd7ac69
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-15Revert "fdo#63926 - remove extra include paths in svtools/ and sfx2/"Michael Stahl
This reverts commit 1cbdcc31b8a921c508f2fdf09847f64d004a7faa. Sadly this was going in the wrong direction...
2013-08-12convert vcl/font.hxx from String to OUStringNoel Grandin
Change-Id: I3df88f26516296ca8f4e81576e86372c8b499a84
2013-08-12XubString->OUStringCaolán McNamara
Change-Id: I04c7da143425a9d8cc4fae155ad45a469df953c1
2013-08-05fdo#63926 - remove extra include paths in svtools/ and sfx2/Radu Ioan
- removed some paths from include - more of this kind wil follow Change-Id: I0255d8dd338d82dfd4ac3027c34cddea493f105d Reviewed-on: https://gerrit.libreoffice.org/5281 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-07-19callcatcher: update unused codeCaolán McNamara
ResId loaders begining to melt away Change-Id: Ied10d95f6561f24b2305d202847b7e7c39eb63c3
2013-07-15callcatcher: update unused codeCaolán McNamara
All FontSizeBoxs and SmFontPickListBoxs are now .ui loaded, .res ctors unused Change-Id: I50aa8606fefacab0b15b6795a7ba90dff8109802
2013-07-03arrange a way to describe non-dropdown MetricBoxesCaolán McNamara
i.e. use a VclComboBoxNumeric which now has an adjustment option and a dropdown option (defaulting to true). Rework existing glade widget placeholders to be children of that widget placeholder. Centralize the dropdown bit tweaking logic. Change-Id: Ib6dc4d19b367986e9d6a2fc2bead51e198892893
2013-07-02remove post .ui conversion unused ResId loadersCaolán McNamara
Change-Id: Ib6a5455256f4712fc62554cbcbe279e9702d0552
2013-06-19Resolves: #i122418# Added workaround to not use GetBitmap on windowsArmin Le Grand
(cherry picked from commit 136976efb17b8617a83c7f26601cd04031b51e7f) Conflicts: vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/source/gdi/bitmap4.cxx vcl/source/gdi/bitmapex.cxx Change-Id: I9c3aeae76c155c9050404f67adeb91106502c3f1
2013-06-16Add UI for fine dashed border typeMiklos Vajna
Commit 7d632ff29e601c2e680c4a689997fbf552592a4b added document model / layout support for this, but UI was lacking. First, add a new item to the list box in SvxBorderTabPage::FillLineListBox_Impl(). Second, handle MAP_TWIP unit in svtools::GetDashing() for STYLE_FINE_DASHED. Pick up some values that give visually the fine dashed result when painted. (The original values from 2f0d406911f9790a434e46bc82ea36bb8ae714e7 in other cases seem to be a bit consistent already anyway.) Change-Id: Ibf1ed235d51515b065d23a6a5d5eef433162899f
2013-06-10mingw64: use integers able to contain a size in svtoolsFridrich Štrba
Change-Id: Id5505f75a2331be682b74d085a7959fc4bf07df8