Commit Graph

373623 Commits

Author SHA1 Message Date
f630f9598f tdf#90258 Toggle Thousand Separator with Engineering Notation
If scientific format is selected, "Thousands separator" option is almost
useless. It could be replaced by "Engineering Notation".

Rebase of https://gerrit.libreoffice.org/15152
Update with more robust tests.

Change-Id: Ie2b88b1f149fce26c32a43ace623cf1f45f38e6e
Reviewed-on: https://gerrit.libreoffice.org/15606
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-05-06 10:45:50 +00:00
a5a17610d5 android: More services that are probably needed.
Change-Id: Ibc394aa8ae758bbcc478707731cda3b270499ce2
2015-05-06 12:31:02 +02:00
e8fcf3f01e tdf#90565: Focus category list on showing the dialog
Change-Id: Ice995c7061b195ae7ac600635fc7643f762841c0
2015-05-06 12:05:44 +02:00
1fe85984f0 WaE: loplugin:cstylecast
Change-Id: Id59ba5f0fcb27e5a3fec322ba0a016c5fc4bacc1
2015-05-06 12:46:37 +03:00
222a9ef69c tdf#91090 - avoid de-referencing DIALOG_NO_PARENT (-1)
Change-Id: I1032054765013a43744a7be548e892fc973a40ce
2015-05-06 10:52:46 +01:00
80b3c85269 simplify code using ScopedVclPtr
Change-Id: I71db7422ab8ad83455cc61df5314cf214a4d388c
2015-05-06 11:44:15 +02:00
0a825b9aae fix windows build
warning C4334: '<<' : result of 32-bit shift implicitly converted to 64
bits (was 64-bit shift intended?)

after my commit 60e659ae355d073b05b3b9c8d2ac3bdc5f76020d
"convert IMPL_FONT_ATTR constants to scoped enum"

Change-Id: I83f1ea5869fa60c89dbc706020f68cc2c4277f48
2015-05-06 11:41:32 +02:00
776d74bb55 If using std::random_device fails, fall back to just time(nullptr)
For instance, if using LibreOfficeKit in a chroot jail, there might
not be a /dev/urandom, which causes the std::random_device ctor to
throw a std::runtime_error exception, at least in the libstdc++ I
have.

Change-Id: Icc91a4ddf92ce66c66b6ffb8b4d1a02ab5f29ee9
2015-05-06 12:39:36 +03:00
7bd6f298b4 sw: add SwDBData::sEmbeddedName
It is supposed to contain the name of a stream in the document storage
(like "Object 1") that has an embedded database for mail merge data
source definition purposes.

It's just loaded / saved from ODF at the moment, it's not yet used for
anything.

Change-Id: Ida366478fd83aa51e66e958ac09d852332c227c9
2015-05-06 11:33:33 +02:00
27d94c482e color bar doesn't fill tool item
since

commit b8f21298288890d52c06fef6c84441634c56c986
Author: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Date:   Mon Mar 2 20:57:32 2015 +0900

the color bar is always drawn under the icon and doesn't
get drawn to the right and fill all the empty space of
the tool item, e.g. in impress see the new toolbar color
selector

Change-Id: Ib70fec9c933b9d743e67475899938a5d9f405496
2015-05-06 10:27:18 +01:00
ea593a2900 this is a no-op, remove if
Change-Id: I01a7d41084185c8c9d4a103fb124a0416a3bc890
2015-05-06 10:27:18 +01:00
fa405087c6 Add comments about ImplFontAttrs
Change-Id: I32d8b8f4301188245721d31fd234bb1784a1ae8d
2015-05-06 12:14:25 +03:00
74778b12f4 fix windows build
Change-Id: I32dc6c24c523519d6c2376c555b2d774fa40b3ba
2015-05-06 10:33:45 +02:00
5cddfc798e android: add ctors needed for ODT saving to the edit list
Change-Id: I8b83b57f8dbbbc3cc75618d133139fdbe2c24603
2015-05-06 10:17:20 +02:00
35a185e8e1 Doxygenize comments.
Change-Id: I2a54f0c2694bb069478a8c8764a1789a377b4c0a
2015-05-06 09:56:30 +02:00
19b91e0d76 Remove unused SvxControlFocusHelper
Change-Id: I3bdadb02918bf109e7e93ea0c7c709f018caed4a
2015-05-06 09:55:42 +02:00
9f68d0a24b drop useless temp debugging strings
Change-Id: I3dbcc792278814df6c23d0f593bd6d86b5d4907e
2015-05-06 08:35:54 +01:00
918a03c538 fix OSX build
Change-Id: I6df0009cad65134e626f89563be168ff739ca092
2015-05-06 09:14:12 +02:00
662fc8eaa9 convert BMP_MIRROR constants to scoped enum
and fix bug in svx/source/xoutdev/_xoutbmp.cxx,XOutBitmap::MirrorGraphic
where it was not correctly translating between different flags types.

Change-Id: I78b4965544da2aa54b67ec18307fa54c8ffc3aee
2015-05-06 09:01:31 +02:00
b13fbd19b7 convert BMP_SCALE constant to scoped enum
Change-Id: Ibc9f88d2588c028cd71aa86c26d970a73025ef22
2015-05-06 09:01:30 +02:00
ba121a3269 convert USER_OPT constants to scoped enum
Change-Id: I85a1c9f89ac79e0e54fcd8dfd1908325fae9a8ac
2015-05-06 09:01:29 +02:00
bfcb2a1a75 convert DEFAULTFONT_ constants to scoped enum
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-06 09:01:29 +02:00
9b37c2176e convert SUBSFONT_ to scoped enum
Change-Id: Ic66191ac4cdfa753dc784e7bd1a6dd20f50def6b
2015-05-06 09:01:28 +02:00
78706545a6 convert FONTTOSUBSFONT constants to scoped enum
Change-Id: I994bfc76d709d01406404991dbfbd49b15bd03f4
2015-05-06 09:01:27 +02:00
60e659ae35 convert IMPL_FONT_ATTR constants to scoped enum
Change-Id: I2b5986ea69dc09e6ba18b23a80029f6551b48152
2015-05-06 09:01:27 +02:00
96471119f0 convert CVC_ flags to scoped enum
Change-Id: Iadc9b6240121e9fee91de299b94a9f8629656507
2015-05-06 09:01:26 +02:00
b35828ba7d convert CONFIG_MODE constants to scoped enum
Change-Id: I1b0fb976e7bf8d7de06da0c30012e8bba1320498
2015-05-06 09:01:26 +02:00
c8fdfc39eb Use typed ToolBox::SetDeactivateHdl Link
Change-Id: Ia2521b000e962a0cc461a54f73b5c97bbe34a602
2015-05-06 08:20:56 +02:00
8ff3a90d3c Use typed ToolBox::SetActivateHdl Link
Change-Id: I15044bd9ea94562c1d4727f64aa0b32543e0cc0a
2015-05-06 08:20:56 +02:00
b515d1f36f Use various typed ToolBox::Set*Hdl Links
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-06 08:20:55 +02:00
f593be5bcd SfxBoolItem takes a sal_uInt16 nWhich as first argument
This code was like that ever since 9ae5a91f7955e44d3b24a3f7741f9bca02ac7f24
"initial import."  From the surrounding code, the best bet appears to be
ATTR_LINEBREAK?

Change-Id: Id0e3346f2f9bb9c00c202003d06c2518dea38112
2015-05-06 08:17:32 +02:00
6a37faafa5 sw: make SplitRedline() a little more readable
Change-Id: Icd99c8d98ae4c5cd6c6552a929c28ad0f096c214
2015-05-06 00:10:17 +02:00
c4cf857664 sw: fix crash due to redlines on tables on ooo121112-2.docx
Problem is that after import there are SwRangeRedline that start in the
first cell of a table and end in the paragraph following the table.

There are <w:del> elements covering every individual paragraph in the
table; all of these are merged into one SwRangeRedline.

This could possibly be fixed in writerfilter by buffering the
m_pParaMarkerRedline until after convertToTable() to prevent the
merging, but perhaps it's better to fix it in SwXText::convertToTable().

Change-Id: I853ae624fffedb59a48bd90decb0973bf33beb68
2015-05-06 00:10:17 +02:00
1848430d61 Use more proper integer types
Change-Id: If1515df57cd90451f2c912bf5c268fec8688c063
2015-05-05 23:38:38 +02:00
3cc95ee73e Store getColumnCount()/getRowCount() results in sal_Int32
instead of sal_uInt16, to match type preferred by following
code. Also use size_t for calculating products, just to stay
on the safe side

Change-Id: Id875e01aa2087fc27e60536d5e3ef152b22aadc6
2015-05-05 23:38:37 +02:00
97911bf9cf Use more proper integer types
Change-Id: I8200af6fcb111edd8a00cb77824e84e2231bee1b
2015-05-05 23:38:37 +02:00
6da921838f Use more proper integer types and range-based for loops
Change-Id: Icbda6c3ab23622e1d9f73d3a9a30ff0c278684cf
2015-05-05 23:38:36 +02:00
5c793b582e Resolves tdf#84240 : Red squiggly underline does not appear instantly
Change-Id: I62d1b381ba8373cfa637f5838d5ef31691f4c260
Reviewed-on: https://gerrit.libreoffice.org/14872
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-05-05 21:30:09 +00:00
22da3ae400 VclPtr: crash on exit on impress
Change-Id: I3f81128b58992db68263fb6c8d2a94cbae855632
2015-05-05 21:06:09 +01:00
111952dccc fdo#77985 make calc function NETWORKDAYS comply with ODFF1.2
Change-Id: I523b0c71bc0fed501a4d5fffd75c5a4704f6dd13
Reviewed-on: https://gerrit.libreoffice.org/9827
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-05-05 19:15:15 +00:00
c4dacea24f ´Color´ : ambiguous symbol
Change-Id: I5a33d518a62c35c9ac03600f02a37ac987e6e066
2015-05-05 20:08:34 +01:00
d2724d4e07 WaE: implicit conversion of literal of type 'int' to 'bool'
Change-Id: I3a22d6a2a3d655337608826c9981039ba8b5483c
2015-05-05 19:25:40 +03:00
f34a473ba9 restore this utter madness
where we get the untranslated names for these for some
weird and wonderful reason that escapes me, but this
is clearly why this existed.

Change-Id: Ic7a7897a4988a981a3a77a8e64521d1738a323ee
2015-05-05 17:21:58 +01:00
8c73b6eeb8 vertically center toolbox/listboxes
Change-Id: I01270b85e019362e8343f4b097620620674f0443
2015-05-05 17:21:58 +01:00
8caebf50b3 Use new color selector in the toolbar for area fills
Change-Id: I4da718620f4864c1c7742ecb9a0fcb8fc787f573
2015-05-05 17:21:58 +01:00
1c6d21d017 these are not used in this .hxx
Change-Id: I81bffed8f47849bb1289cdcef4fa10a332a1c86c
2015-05-05 17:21:58 +01:00
7fb784ff2c use a sizegroup to stop area panel 'jumping'
toolbox and lists are a little different in height naturally causing a little
jump in layout on toggling between color and anything else

Change-Id: I0b2ab92ab2fb5bec7d7fecc7aeaf15f47781a67b
2015-05-05 17:21:57 +01:00
9a5361df8c add some missing glade prototypes
Change-Id: Iff936ca81c594b588b0dd8b66970fa6135a4c53e
2015-05-05 17:21:57 +01:00
5d7af14e32 drop useless temp debugging strings
Change-Id: I7731d16044fe884d5678330920bf468ccff87d19
2015-05-05 17:21:57 +01:00
72cb877e07 sw doc model xml dump: include SwDBData
Change-Id: I082a9d3ca268d19ac21c28a6b453d457ed27c959
2015-05-05 18:13:21 +02:00