Commit Graph

305875 Commits

Author SHA1 Message Date
Markus Mohrhard
cdd36980f1 repaint for every change when using formulas in color scales
Change-Id: I1eb42ac75228dee00079c86e7c378efb72f16e28
2012-05-11 06:47:37 +02:00
Markus Mohrhard
fc48c49434 import formulas for color scales from xlsx
Change-Id: If19c6486c95cab0106bf04a4ec68359f7a4ed220
2012-05-11 06:38:57 +02:00
Markus Mohrhard
caa7f3f564 add formula input to color scales
Change-Id: I I7f0a46cf5aea2eb1aa8bc9415d9761cc197b0c23
2012-05-11 06:03:51 +02:00
Markus Mohrhard
d0e4d1f397 map percentile and percent into the same element
This is most likely wrong but I have not yet an idea what should be the
difference between these two.

Change-Id: I3ee87de8d3b3f9a495ee653576a533690d66a3d0
2012-05-11 01:22:12 +02:00
Markus Mohrhard
2d74e6c122 update the color scales when moving tabs
Change-Id: Iabeeae6d2c31f983ea04652dce81e448a7623472
2012-05-11 01:20:02 +02:00
Markus Mohrhard
3b992e247e repaint color scale range if min/max changed
Change-Id: Id9a8479d286e50756c41fbd948d738a0c8d8c883
2012-05-11 01:20:02 +02:00
Markus Mohrhard
a1b1c1ebbf calculate color for color scales with more than 2 entries correctly
Change-Id: I5b62644df8742939551c1aaeaae1ebeda9b97f63
2012-05-11 01:20:02 +02:00
Tor Lillqvist
fdca787021 It seems also nested struct needs SALHELPER_DLLPUBLIC for Mac OS X visibility
Change-Id: Ifd7a248b49a00df2e01f537074d0a94e9de09b10
2012-05-11 00:46:02 +03:00
Tor Lillqvist
991e3520bc Argh, make the use of -fvisibility=hidden actually happen
Move initialisations of gb_CFLAGS and gb_CXXFLAGS earlier, like in
unxgcc.mk.

Change-Id: I2382edad42f0f52bcbb062ec6930e2cfe12ec8ca
2012-05-11 00:46:01 +03:00
Caolán McNamara
75e7643e22 Related: fdo#47644 get out of bounds conditions right
Change-Id: Icac9a8337296f92af5007a051f00388a64955178
2012-05-10 21:46:53 +01:00
Tor Lillqvist
a24a980424 Make visibility tests work as intended on Mac OS X
If the tests detect that visibiliy works, then use it also in
gbuild. In the old build system, -fvisibility=hidden was already
being used on Mac OS X if HAVE_GCC_VISIBILITY_FEATURE had been
detected.

In configure.in, let's not hardcode the -shared, -fpic and -Wl,-z,defs
options or the .so suffix used in visibility-related tests. Factor
them out and use platform-specific options. Done just for Mac OS X so
far. Using the Linux options for Mac OS X caused visibility tests to
silently and misleadingly fail.

Yes, it is silly to now define some platform-specific options in three
places: configure.in, solenv/inc/* for the old build system, and
solenv/gbuild/platform/* for gbuild.

At least with my Xcode3 installation, I need to pass an -isysroot flag
pointing to the SDK when running $CC -E, otherwise headers weren't
found. This was then misinterpreted as the visibility tests failing.

Pass -DHAVE_GCC_VISIBILITY_FEATURE to the compiler if configure
detected visibility working. In that case also pass
-fvisibility=hidden. HAVE_GCC_VISIBILITY_FEATURE being defined is
supposed to mean that the -fvisibility=hidden option is used, I think.

Pass also -fvisibility-inlines-hidden if that was detected to work.

Change-Id: I I I58d566fcb07584246e91f45e683ce9b31208edba
2012-05-10 23:12:21 +03:00
Tor Lillqvist
44e52d6698 fdo#45081: We never registered the SAL_OBJECT_CHILDCLASSNAMEA window class
A crucial line of code that called RegisterClassExA() for that window
class had been deleted by accident in commit
cda4a29360 "Code cleanup" in May 2011,
whoa. So apparently that window class is not needed for much except
embedded video in Impress?

Change-Id: I I19e70cefcf47aaf8a12a62539e0dacc5adb3c3b1
2012-05-10 21:32:18 +03:00
Eike Rathke
aeb1451dff resolved fdo#49639 import .xls with HTML as such, not CSV
This restores the previous behavior for this content type, regression
introduced with the fix for fdo#40021 a5eadc6aaa
2012-05-10 19:07:47 +02:00
Luboš Luňák
5df9e10d27 do not prepend \n twice, it confuses KFileDialog (rhbz#820439)
Draw -> Export -> filetype combo was broken.

Change-Id: I9349749274498d5834dd63e73f3856434b1ab8d9
2012-05-10 18:31:00 +02:00
Caolán McNamara
cf65166323 WaE: unsafe mix of bool and sal_Bool
Change-Id: Ie2fcc1a5404c62dc15b98f99f89631795df91b01
2012-05-10 16:34:14 +01:00
Miklos Vajna
07d01742c6 i#119219 fix non-unicode RTF export
There were two problems here:

- non-unicode charset being set to Shift JIS for all UTF-8 text
- non-unicode text using UTF-8

Change-Id: I533d3e950a4ebd611b5d5db8a95e724e729a641f
2012-05-10 16:51:33 +02:00
Radek Doulik
ea923cd424 use com::sun::table::BorderLine2 instead of older BorderLine (n#758914)
- older BorderLine doesn't seem to work in case InnerLineWidth and OuterLineWidth are set to equal positive value and distance is set to 0 (possible regression)
 - using the newer API solves the problem for us

Change-Id: I69f10a0e947352d20b78dbdc39b7c9af95f8603b
2012-05-10 16:25:20 +02:00
Eike Rathke
803b5513ef resolved fdo#46233 value >12 with AM/PM can't be clock time 2012-05-10 16:19:44 +02:00
Stephan Bergmann
b43f5ccb6b Reduce broadcasting noise on initial title computation
...otherwise, SfxBaseModel::getTitle calls itself recursively until
TitleHelper::m_sTitle has converged.

Change-Id: I90577d1c2e4275ff2187d6531a1ca61e8355819b
2012-05-10 14:32:38 +02:00
Stephan Bergmann
a50a33c3a7 Fix fdo#49720: Dropped unnecessary "sh -c" from popen call
Change-Id: I5de4ce4e26d995c447c99c8558f621dba6cdf110
2012-05-10 13:45:32 +02:00
Caolán McNamara
5386b7633d configure icu for windows via runConfigureICU Cygwin/MSVC
which should hopefully
a) work
b) unblock the upgrade path for icu

Change-Id: Ic70a627f3135e53016a4f9cfdef3fc85d55ab3e4
2012-05-10 12:19:09 +01:00
Markus Mohrhard
777bbda955 finally support min/max and percentile in color scales
Still some updating problems. If min or max is changed the whole area is
not updated.

Change-Id: I9a513fd9c0613d48ce33524672a31078d8aedf46
2012-05-10 12:41:47 +02:00
Markus Mohrhard
e6e1470c6e import min, max and percent entries for color scales from xlsx
Change-Id: I Icebacfd711851c9223ed8f38d6445c82f575a47d
2012-05-10 12:41:46 +02:00
Markus Mohrhard
f26bf2ba01 first part for min/max in color scales
Change-Id: Ib397b93ac0a5a72052fdaa5bf41199e5967ad559
2012-05-10 12:41:46 +02:00
Stephan Bergmann
d16c1b9290 Removed unused SID_FRAMETITLE
...which was only ever written to, never read.  This in turn allowed
SfxViewFrame::UpdateTitle to return void instead of String, and made
SfxObjectShell::UpdateTitle become unused.  (The title appears to be created via
SfxBaseModel::getTitle instead these days?)

Change-Id: I5e1115a707134058a1f3a0beaa180eb471c817e6
2012-05-10 12:12:09 +02:00
Miklos Vajna
1173bb0dc0 fdo#49692 fix RTF export of empty paragraph numbering rules
When there is a numbering rule, the fallback text is constructed so that
whitespace separates the numbering and the paragraph text. When the
numbering is empty, we don't need that separator.

Change-Id: I17a11ddd73addc8c95a0c2b54402e6dd2705d094
2012-05-10 11:53:19 +02:00
Fridrich Štrba
9980e69e17 Don't bundle stdelibs on Linux by default
Change-Id: Ib498067bad7b370dc5ab58e728de9f64f375a1a8
2012-05-10 11:27:55 +02:00
Caolán McNamara
4453b52924 callcatcher: update unused code list
Change-Id: I286988eabcc2d813008597b3657c366d510f8ab6
2012-05-10 10:18:33 +01:00
Caolán McNamara
7080d629c8 Resolves: fdo#37044 two different TransliterationChgData structs
There are two structs called TransliterationChgData with different
layout. The crashes on MacOSX must be due to this. Rename them
so they've different names.

Change-Id: I887a33bed26b339e229b7fb1ef8dddd192f6fae3
2012-05-10 10:18:32 +01:00
Caolán McNamara
c1324a518d ditch temporary unused Strings
Change-Id: Ie4e27ed027761748e45f2ed6b97b236f742c01be
2012-05-10 10:18:32 +01:00
Caolán McNamara
9cee212202 fix use of cups for default case
27abb730b2 broke printing

Change-Id: Ib1cd9b31c7e3e5644b5207cb28c4fd178837c19d
2012-05-10 10:18:32 +01:00
Caolán McNamara
5f1d65fe21 WaE: msvc2008 C4928 copy-ctor confusion
Change-Id: Id086aedc27977b4ca81299a00a340a65284118b8
2012-05-10 10:18:32 +01:00
Miklos Vajna
f55c922116 fdo#49692 RTFValue::Clone(): copy m_bForceString as well
Change-Id: Ib8f06ff33fd9c01ea4a1e47c97cfa12f2ced7318
2012-05-10 10:53:20 +02:00
Michael Stahl
a9550f63cd normalize variable names in gbuild user makefiles
Variables should have module name as prefix to prevent collisions.
2012-05-10 10:47:44 +02:00
Andras Timar
ce1ac0851f error handling in SortTree custom action
Change-Id: I03a06d09e3e84b6cb13bd68e8be4caebb1b9f5ab
2012-05-10 10:46:15 +02:00
Tor Lillqvist
0d79369ead Bin a few lines of apparently leftover temporary debugging code
Change-Id: Idc543cc7f45c3dbaf3a49c8edeaaa0b5f59492ac
2012-05-10 11:34:31 +03:00
Luboš Luňák
d3ec5c6a8f -Wself-assign
Change-Id: I89e93fdd9e89d37230321d52efe6d2ff91c60767
2012-05-10 10:22:59 +02:00
Miklos Vajna
78e0204579 RTFDocumentImpl::runProps: avoid copy&paste
Change-Id: I3b1f03c0a3236461e753ef236881313ea7daa0d0
2012-05-10 10:08:21 +02:00
Markus Mohrhard
b7ef4c31a6 render color scales correctly
Change-Id: I622b8911122e1c0693e0cbf5de8e6da1b09411c0
2012-05-10 05:12:27 +02:00
Markus Mohrhard
a68b2aaa55 remove debug output
Change-Id: I58e8dc576de18df6da22388a7c25295b260bf98b
2012-05-10 03:04:28 +02:00
Markus Mohrhard
b1ba05b2cc Color Scales are now displayed after import from xlsx
It is still displayed at the wrong position but it looks promising.

Change-Id: I7ee55525cc219594635d81240f198b0a30c8707d
2012-05-10 02:34:16 +02:00
Kohei Yoshida
7c99fff933 Access properties in the edit source when the field item is already inserted.
Change-Id: Idbc8b7fde425c1c14af27472a4850b290cf0a68c
2012-05-09 16:28:47 -04:00
Kohei Yoshida
47910c4953 FILE (title) field doesn't have any properties.
Change-Id: I67c62e6be5afc65d74462a17b047946de88659a0
2012-05-09 16:28:47 -04:00
Kohei Yoshida
151c2aeb10 Use UNO field type when searching for specific field items.
Change-Id: Ic79a545132aabaf93bd4ef465829b024c2e6a865
2012-05-09 16:28:47 -04:00
Daniel Naber
1616759f49 fdo#49605: SwEditShell: fix handling of overlapping grammar errors 2012-05-09 20:42:04 +02:00
Luboš Luňák
df45d9d1c0 work around -Wreturn-type with compilers that cannot figure it out themselves 2012-05-09 19:19:11 +02:00
Luboš Luňák
f21316fbf0 conversion to void* needs an explicit cast 2012-05-09 18:21:11 +02:00
Tomas Chvatal
27abb730b2 Enable configure switch for cups
This allows us not to have cups during the build time of libreoffice.

Commit is inspired from patch from Dave Flogeras <dflogeras@gmail.com>.

Change-Id: I I32a14eb6e7bdd13de1a737d4798c852a830ae326
2012-05-09 17:41:30 +02:00
Caolán McNamara
c7a9318f08 sort fonts so that upright faces are shown in the font dropdown list
Change font sort so that font faces like those of URW Palladio L whose italic
variant is lighter than its upright variant are sorted with the upright fonts
first so we don't see italic variants in the font widget.

Also sort "normal" weight faces below all other weights

Change-Id: I9c81b475d95b9dd17a873fd791b942512ff039c7
2012-05-09 16:37:16 +01:00
Caolán McNamara
e78b716035 WaE: silence tedious msvc2008 warnings
Change-Id: Iecdc085b9af162ffdc6e0c52ad8a408a0983e088
2012-05-09 16:37:16 +01:00