Stephan Bergmann
e8f8f24c84
vcl: sal_Bool -> bool
...
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
Tobias Lippert
a18a1a4545
Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
...
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-02-20 16:22:17 +00:00
Kohei Yoshida
3d95457572
Only allow approved border styles in cell borders.
...
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-22 19:58:32 -05:00
Kohei Yoshida
ec1a3157c1
Better pixelization of dashed lines for screen rendering.
...
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-20 14:37:02 -05:00
Tsutomu Uchino
66ff6924d5
Related: #i56998# use FUNIT_PERCENT on fields that allow relative value
...
(cherry picked from commit fc6fc5b576b972a8ea0551091cc57aa1cfe1334d)
Conflicts:
svtools/source/control/ctrlbox.cxx
svx/source/dialog/relfld.cxx
Change-Id: Ic8f0f550dbbcab0678fbeb9bf45a478b0cea642d
2014-01-20 10:14:29 +00:00
Kohei Yoshida
009b7be7c8
Revise the line patterns further. Now they look satisfactory to my eye.
...
Change-Id: I27f4e11bceac25c10de28a866bdcec9576027582
2014-01-17 11:33:16 -05:00
Kohei Yoshida
0a8ddb61b1
Apply dashing without consulting current map unit.
...
Using scaling is sufficient.
Change-Id: If976bec3940772432d814a77681170d7c99306d2
2014-01-17 11:33:15 -05:00
Kohei Yoshida
ba4324917a
More fine-tuned stroke patterns.
...
Only the pixel map mode is visually inspected.
Change-Id: Ia8ac978a0d3049d7e7162f1157822b85d475dfdf
2014-01-17 11:33:13 -05:00
Kohei Yoshida
5cdb7a5934
Remove STYLE_* and use css::table::BorderLineStyle instead.
...
Change-Id: I187511dbf85ecdfe0c5d05c6f77cf4ac93363051
2014-01-17 11:33:11 -05:00
Luc Castermans
347af397ca
translated german comments
...
Reviewed on:
https://gerrit.libreoffice.org/7275
Change-Id: I86fef5ab012c7c464271afec3a0a5fa4d3c72f31
2014-01-07 08:42:55 +01:00
Luc Castermans
455b403aaf
translated German comments
...
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 >
2014-01-05 19:06:44 +00:00
Noel Grandin
b273106226
convert OutputDevice::HasGlyphs from xub_StrLen->sal_Int32
...
Change-Id: Ic8f0ae3d263d6cb02e6faa7226db0241681fc45f
2013-12-04 11:29:14 +02:00
Michael Stahl
dd28837249
vcl: mark more Image constructors as "explicit"
...
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-22 14:42:17 +02:00
Caolán McNamara
e5dd19526f
make font style size stable on switching fonts
...
Change-Id: I891fa5b9b8bd3be7dd4d73f2911ec56d16a3b09f
2013-10-07 11:46:59 +01:00
Julien Nabet
3209594748
cppcheck: redundantAssignment
...
Change-Id: I16ced23894e461e7953ed4978ca0d4cf7f40f5e8
2013-09-27 23:23:56 +02:00
Zolnai Tamás
1ae3638dbf
Fix drawing of fine dashed border type
...
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-09-15 18:45:56 +02:00
Noel Grandin
23cafe3f1d
convert svtools/source/control/* from String to OUString
...
Change-Id: I32e411801d3754ca635cfc3ed9529b8ea43ffa3c
2013-08-22 10:49:32 +02:00
Noel Grandin
d09631bd9d
convert include/svtools/ctrl*.hxx from String to OUString
...
Change-Id: I86b78137f02a11c5a2c34930b19cef22acd7ac69
2013-08-22 10:49:25 +02:00
Tor Lillqvist
c6a7300974
Use subfolder names from <config_folders.h>
...
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-18 21:11:16 +03:00
Michael Stahl
fa96ed925f
Revert "fdo#63926 - remove extra include paths in svtools/ and sfx2/"
...
This reverts commit 1cbdcc31b8
.
Sadly this was going in the wrong direction...
2013-08-15 17:19:01 +02:00
Noel Grandin
4e0d0ee674
convert vcl/font.hxx from String to OUString
...
Change-Id: I3df88f26516296ca8f4e81576e86372c8b499a84
2013-08-12 11:56:42 +02:00
Caolán McNamara
9dd40c656f
XubString->OUString
...
Change-Id: I04c7da143425a9d8cc4fae155ad45a469df953c1
2013-08-12 08:32:59 +01:00
Radu Ioan
1cbdcc31b8
fdo#63926 - remove extra include paths in svtools/ and sfx2/
...
- 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-08-05 10:22:35 +00:00
Caolán McNamara
ea3edee44a
callcatcher: update unused code
...
ResId loaders begining to melt away
Change-Id: Ied10d95f6561f24b2305d202847b7e7c39eb63c3
2013-07-19 13:20:19 +01:00
Caolán McNamara
c54f77b718
callcatcher: update unused code
...
All FontSizeBoxs and SmFontPickListBoxs are now .ui loaded, .res ctors unused
Change-Id: I50aa8606fefacab0b15b6795a7ba90dff8109802
2013-07-15 09:07:49 +01:00
Caolán McNamara
30db63e8a3
arrange a way to describe non-dropdown MetricBoxes
...
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-03 12:46:31 +01:00
Caolán McNamara
8e06393ffc
remove post .ui conversion unused ResId loaders
...
Change-Id: Ib6a5455256f4712fc62554cbcbe279e9702d0552
2013-07-02 11:59:52 +01:00
Armin Le Grand
c96802f0e2
Resolves: #i122418# Added workaround to not use GetBitmap on windows
...
(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-19 12:17:19 +01:00
Miklos Vajna
4c3d2dcdad
Add UI for fine dashed border type
...
Commit 7d632ff29e
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 2f0d406911
in other cases seem to be
a bit consistent already anyway.)
Change-Id: Ibf1ed235d51515b065d23a6a5d5eef433162899f
2013-06-16 17:58:06 +02:00
Fridrich Štrba
43135665bf
mingw64: use integers able to contain a size in svtools
...
Change-Id: Id5505f75a2331be682b74d085a7959fc4bf07df8
2013-06-10 14:03:34 +02:00
Fridrich Štrba
35a65baefe
Slowly, but surely going on compiling for mingw64
...
Change-Id: I590aa6a854a040281bf73d5be768c05d4906a984
2013-06-06 15:52:05 +02:00
Armin Le Grand
60285fdc86
Related: #i122041# More unifications for FillStyles
...
better defaults and better preview visualizations
(cherry picked from commit 35c9acfc98fc98399005815e0464b1944f327d4e)
Conflicts:
officecfg/registry/schema/org/openoffice/Office/Common.xcs
svtools/inc/svtools/accessibilityoptions.hxx
svtools/inc/svtools/valueset.hxx
svtools/source/config/accessibilityoptions.cxx
svtools/source/control/ctrlbox.cxx
svtools/source/control/valueset.cxx
svtools/source/inc/configitems/accessibilityoptions_const.hxx
svx/inc/svx/dlgctrl.hxx
svx/inc/svx/xtable.hxx
svx/source/dialog/dlgctrl.cxx
svx/source/tbxctrls/SvxColorValueSet.cxx
svx/source/xoutdev/xtabdash.cxx
svx/source/xoutdev/xtable.cxx
vcl/inc/ilstbox.hxx
vcl/inc/vcl/combobox.hxx
vcl/inc/vcl/lstbox.hxx
vcl/inc/vcl/settings.hxx
vcl/source/app/settings.cxx
vcl/source/control/combobox.cxx
vcl/source/control/ilstbox.cxx
vcl/source/control/lstbox.cxx
Change-Id: I905b6814cb796a35aa23fedb9ce716f77e2bfda0
2013-05-20 11:33:18 +01:00
Tor Lillqvist
cb6d67c21f
Spelling "separate" (etc) correctly is hard
2013-05-15 11:14:28 +03:00
Tor Lillqvist
ec8617568f
Bin ugly (ab)use of preprocessor in headers
...
The time when it made sense to use "clever" #ifdefs to, for performance or
compiler reasons, conditionally bypass private parts of a class declaration
passed a decade or longer ago.
Still more of this in sw and sc. People working on those modules might want to
do it too, or not.
Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be
Reviewed-on: https://gerrit.libreoffice.org/3627
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-27 09:28:37 +00:00
Caolán McNamara
d50fbfabb6
restore a FontSizeBox::GetValue variant
...
correctly removed by 994a737a31
but
we will need it again soon
Change-Id: Ifedf8da2a33e834a5cba6da11c63c784572bd58d
2013-04-22 14:39:13 +01:00
Caolán McNamara
15f4c47f5b
restore FontNameBox from ResId ctor
...
removed by ecda52f6b3
but we'll need it again soon
Change-Id: I3a038c162beba7147ac7abc8bb4085b41140bf5c
2013-04-22 12:50:19 +01:00
Luboš Luňák
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Julien Nabet
77b708117c
coverity#735364 Logical vs. bitwise operator
...
Change-Id: I116db00e16a8cb962ee7c98d9bfafb69312c1333
2013-03-21 22:40:31 +01:00
Caolán McNamara
ecda52f6b3
callcatcher: unused code
...
Change-Id: I7dcaa6f57815321e108cd7ce284fe145dc0506f2
2013-03-04 11:23:59 +00:00
Luboš Luňák
624d469642
remove unused variable
...
Change-Id: Iadc8b161c2742c1b92938c39c00c263b597693f5
2013-02-06 18:37:31 +01:00
Chr. Rossmanith
82e3760855
replace (Xub)String with OUString in vcl
...
Change-Id: I0a44bab196ae239d3bdea75fd2b657bdfa4ecf31
Reviewed-on: https://gerrit.libreoffice.org/2011
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2013-02-06 17:12:24 +00:00
Caolán McNamara
f97ffd1c01
The LineListBox drew lines wider than can fit in its text area
...
it takes the outputsize of the entire widget and take a little
(not enough) off that as the line width. The line is always
wider that space available, so with widget-layout enabled it
will request more space. On the next update of the lines it
repeats, so listbox grows ever wider.
Change-Id: Ib43239d297bb0ba0dc1096acf347ef17b5e41273
2012-12-20 16:52:57 +00:00
Caolán McNamara
c38a1de224
convert columns dialog (and sections/frame/page tab page) to .ui
...
Change-Id: I7ce64b63acba1581754e5a75ea48e3df654973ae
2012-12-20 16:52:57 +00:00
Caolán McNamara
166d825797
Resolves: fdo#57469 allow tab to traverse into custom widgets
...
The magic WB_TABSTOP bit is the one that allows a widget to be accepted as a
candidate for getting focus when pressing tab
Change-Id: I7d964bae6b84184ccbc4652d66cf3d2637566405
2012-12-12 13:27:12 +00:00
Eilidh McAdam
7d632ff29e
Support added for fine dashing on table borders.
...
When reading in docx documents, fine dashing provides a better visual
match for some border types.
Added in this patch:
- FINE_DASHED in BorderLineStyle UNO enum and in internals
- Import of docx table borders using this border style
Change-Id: I39cfa18c915ec94d8e4ecfc6a2ca637076d1e468
Reviewed-on: https://gerrit.libreoffice.org/1123
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2012-12-04 10:59:20 +00:00
Eike Rathke
af60316514
some i18n wrappers with LanguageTag
...
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-23 23:09:16 +01:00
Eike Rathke
9955dbebbd
AllSettings with LanguageTag
...
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-22 12:34:59 +01:00
Michael Meeks
daeed90f45
re-base on ALv2 code. Includes:
...
Patch contributed by: Jurgen Schmidt
remove onlineregistration with dependencies
http://svn.apache.org/viewvc?view=revision&revision=1240245
imported patch package_eventlistener.patch
http://svn.apache.org/viewvc?view=revision&revision=1172103
Patch contributed by Pedro Giffuni
Accept Google Chrome OS fonts as equivalent to MS fonts.
http://svn.apache.org/viewvc?view=revision&revision=1233155
http://svn.apache.org/viewvc?view=revision&revision=1233408
Patch contributed by Andre Fischer
Do not add targets for junit tests when junit is disabled.
http://svn.apache.org/viewvc?view=revision&revision=1241508
Patches contributed by Mathias Bauer (and others)
gnumake4 work variously
http://svn.apache.org/viewvc?view=revision&revision=1394707
http://svn.apache.org/viewvc?view=revision&revision=1394326
cws mba34issues01: #i114600#: remove forbidden characters
from list of unencoded characters
http://svn.apache.org/viewvc?view=revision&revision=1172370
Patches contributed by Oliver Rainer-Wittman
some clean up in JPEGReader due to memory constraints
http://svn.apache.org/viewvc?view=revision&revision=1299729
119114 - method <UpdateDialog::addSpecificError(..)> - create
entry with correct type
http://svn.apache.org/viewvc?view=revision&revision=1305265
Patches contributed by Ariel Constenla-Haile
i118707 - make toolbar control's popup window grab focus
http://svn.apache.org/viewvc?view=revision&revision=1225846
Patches contributed by Herbert Duerr
#i118662# remove usage of BerkeleyDB in desktop module
http://svn.apache.org/viewvc?view=revision&revision=1213171
minor cleanups in dp_persmap.*
http://svn.apache.org/viewvc?view=revision&revision=1215064
flush early to prevent problem with extension manager not
cleaning up its objects
http://svn.apache.org/viewvc?view=revision&revision=1228147
i118726 do not flush *pmap file while reading it
http://svn.apache.org/viewvc?view=revision&revision=1230614
#i119048# migrate BDB extension entries using a simple heuristic
http://svn.apache.org/viewvc?view=revision&revision=1300972
#i119048# handle edge cases when importing BDB hash files
http://svn.apache.org/viewvc?view=revision&revision=1301428
#i119113# fix of-by-one when importing BDB files
http://svn.apache.org/viewvc?view=revision&revision=1305420
restore our encryption settings, icon themes, and dictionaries.
removed wrapper hacks, kill obsolete bundled extension blob /
pre-registration handling, remove duplicated quickstart code.
remove OS/2 conditionals.
2012-11-19 17:44:55 +00:00
Noel Grandin
0666e43c45
fdo#46808, use service constructor for i18n::CharacterClassification
...
Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76
2012-11-05 18:05:00 +01:00
Caolán McNamara
4cc5ccef4b
convert index dialog to .ui
...
Change-Id: I4b16cb517dca25f862b9dd612785dae4d0f21793
2012-10-24 15:39:27 +01:00