Age | Commit message (Collapse) | Author | Files | Lines |
|
This is a combination of 4 commits.
Omitted are 2246f478e2505388ab253d08a1d86b897251223b and
7340872a3450e38a7f820945585a9ee60b2a9d41 that replace the Calc code with
calling the new SvNumberFormatter functions.
introduce SvNumberFormatter::FillKeywordTableForExcel()
... to conflate the places that do this on their own.
(cherry picked from commit b55548043e969a6aa4c211217cfc3fb85d50d2da)
use proper case "General" keyword
... Excel doesn't seem to care though.
(cherry picked from commit ea1db935b085507f11d05f8606a680d521db4838)
introduce SvNumberFormatter::GetFormatStringForExcel()
Taking implementation from sc/source/filter/excel/xestyle.cxx
GetNumberFormatCode(), slightly modified to ensure valid conversion and
force en-US locale data. Also don't unnecessarily convert if format is
for system locale and system locale is en-US.
(cherry picked from commit 2011b5412c4daa47bc5624a2efc996960e19c2a9)
Resolves: tdf#96072 export Chart format codes in Excel notation
As for the change in chart2/qa/extras/chart2export.cxx
Chart2ExportTest::testAxisNumberFormatXLSX() unit test: also Excel
writes string parts of format codes quoted, including minus sign in
negative subformat.
(cherry picked from commit 509cfa40691cf544519872a63335cff4a4d94006)
3697a808d8fee2417f0b0e03dba2b94ceea133dd
9223eaa655132b4106a35c94cb0005559d7575b1
201bb012df818129cbc65de0eee8eca59e57d829
Change-Id: Idde2173780e0515ad982b4be46fc4df23a7577ad
Reviewed-on: https://gerrit.libreoffice.org/20249
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
Change-Id: I7896d1d064cd92fd45a6b32ac64f534f68213169
Reviewed-on: https://gerrit.libreoffice.org/20064
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 96ff6372e15fa17211650ec6f0da13771a572a42)
Reviewed-on: https://gerrit.libreoffice.org/20126
|
|
Fixes all these test case scenarios:
1. in A1 enter =1E222
* move cell cursor back onto A1
* status bar displays Sum=100000... repeated until
filled (or 222 '0' characters)
2. invoke number format dialog on A1
* for General format 100000... is displayed in the preview
3. move cell cursor to A2
* open Function Wizard (Ctrl+F2)
* choose (double click) ABS function
* enter A1 as parameter
* see 100000... displayed as Function result and Result
4. save as .ods
* in content.xml see display text of A1 being saved as 100000...
Change-Id: I7c22c0461a6783c85c1d51c31e8607fb2edb821c
(cherry picked from commit ef0a26835e68deb31906c40cfe48c66674d9d0d1)
Reviewed-on: https://gerrit.libreoffice.org/18924
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
The dialog/sidebar should not actually create styles that don't exist yet,
because it messes up Undo and the (unused) styles are then unnecessarily
exported to documents.
Due to Writer's ... unusual SwDocStyleSheet class this is a bit tricky.
Add a new function GetItemSetForPreview() and use it from the style preview
code.
The implementation does not use FillPhysical so will temporarily create and
then delete any non-existing styles.
Skip page and numbering styles for now since they don't have a useful preview.
(regression from ca95307638207db5d662059aa61594151a13e927)
(cherry picked from commit 93067f37cf22aa119db5878c4345fea500cbbb42)
-Werror,-Wreturn-type
(cherry picked from commit 0ed64030f17849ea943800343003c5ec3f4f1388)
Change-Id: Id6ee30ea467fc24c991547a4c23a9ce14fdd86c7
Reviewed-on: https://gerrit.libreoffice.org/18381
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
(cherry picked from commit a6fbbfd2f42f5361d53bd4b330a507d94d636923)
Change-Id: I408bab7edf58020fc1ec541dc940c84d387bb56c
Reviewed-on: https://gerrit.libreoffice.org/17769
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
Change-Id: I088633e4cff278e1add8eeea8828f9ba9c9fb140
(cherry picked from commit c7d66949beecab92dc8f1380c54751710aa0b7a2)
Reviewed-on: https://gerrit.libreoffice.org/17545
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Could happen with a malformed subformat string like "[<0-0".
Change-Id: I8eaab2bcb469d91432a41dc349060c273a6575a4
(cherry picked from commit f52aa4d13b7f262a4c54f4e554f45d64a545bce7)
Reviewed-on: https://gerrit.libreoffice.org/16939
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Ic4d922bd27b7f119a7f8b95bbb4d4ed9e89fe51d
(cherry picked from commit 592ee0308a36518137ab8ed965f28de4600909da)
Reviewed-on: https://gerrit.libreoffice.org/16787
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
Regression introduced with 43624d9370c4384f71c6b13fed900eaec222cf64 that
fixed tdf#34724
Change-Id: I44b5eac6e4ce5a38855148efecea5f2a987ed213
(cherry picked from commit fe2c7b25152df4c89e44c6516081d43d68075736)
|
|
The idea is that if you have your cursor at the begining of a Writer
document, and you scroll down a lot, then search, then it's annoying
that search jumps back to the start of the document for the first hit.
Add an optional way to provide what is the starting point of such a
search, so we can have "when nothing is selected, then search from the
top left corner of the visible area".
No UI yet to enable this, but available via the UNO API.
Change-Id: Ibcf3a5f2eeba1372b1dfe8474081e6591a6e0134
(cherry picked from commit 1dc60bc9e99304c58007bfd5a964ff3f78480106)
|
|
renames the most annoying abbreviations in Writer (and partially
in the shared code too).
Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
|
|
Change-Id: Ic17885b22167eedd0e56b3e5027c09a1c3aac1d8
Reviewed-on: https://gerrit.libreoffice.org/15819
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I6ef4ae530b7fb4e615100803ae6e3972d9b4545f
|
|
Change-Id: I42b3964ea13931b401be65324b556a803ffdc529
|
|
Change-Id: Ifb032457d6c1b279c4183282ef2b271c706dd71a
|
|
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>
|
|
Change-Id: I1b0fb976e7bf8d7de06da0c30012e8bba1320498
|
|
Change-Id: Ic9eebca9d8fe3e9173b1873bdc7800e5161f9999
|
|
Turn the Link class into a template abstracting over the link's argument and
return types, but provide default template arguments that keep the generic,
unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the
Link class can be updated over time.
All the related macros are duplicated with ..._TYPED counterparts, that
additionally take the RetType (except for LINK_TYPED, which manages to infer the
relevant types from the supplied Member).
(It would have been attractive to change the "untyped" LinkStubs from taking a
void* to a properly typed ArgType parameter, too, but that would cause
-fsanitize=function to flag uses of "untyped" Link::Call.)
Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
|
|
Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90
|
|
since there are only 2 uses of it
Change-Id: I49543168d5d9aeaae66d99663707657d67002fdc
Reviewed-on: https://gerrit.libreoffice.org/15531
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Icf3e09318677655897f4a5308f066829982b9520
|
|
Change-Id: I7ef0a09b718ca701ed2b6f4a50593f8ef1421dd3
|
|
Change-Id: Id80e640852c0fda7a4fe3fcec33ca1f95407235d
|
|
Change-Id: I1b3bd4add8c32e271e51db321fafe98604b2b830
|
|
Change-Id: I1ea1bcc6434a94fc6c15fcec17975c6c71a30a56
|
|
Change-Id: Iac7216c66afef6cbd355f7047655baaadc0f74db
|
|
Change-Id: Iceba35cb058afa55374cf3cac70ed2207b7bc8b4
|
|
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx>
(and don't make use of it themselves), but many other files happen to depend on
it. Cleaned up some, but something like
grep -FwL sal/log.hxx $(git grep -Elw \
'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx)
shows lots more files that potentially need fixing before the include can be
removed from rtl/string.hxx and rtl/ustring.hxx.
Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
|
|
Change-Id: Iec781bdbbf216cb14c9ba5be5955123273d7699c
|
|
Change-Id: I9fad024e4b5c8a4ca272f2387df07351198cf5dc
|
|
Change-Id: I89aa0e22c31d368ab36fe46917db6aacb11c7b14
|
|
Change-Id: I5be3980ac865162d8d7626556ca47eca4b0ee433
Reviewed-on: https://gerrit.libreoffice.org/15344
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I9a2339cc953a718403b3cd0960d5d8d34abae455
Reviewed-on: https://gerrit.libreoffice.org/15304
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Ief8c30c356ba947727c5ab70092042816a0db99e
Reviewed-on: https://gerrit.libreoffice.org/15302
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
ie.
void f(void);
becomes
void f();
I used the following command to make the changes:
git grep -lP '\(\s*void\s*\)' -- *.cxx \
| xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'
and ran it for both .cxx and .hxx files.
Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
|
|
Change-Id: I1cdf56df10516f01ca091043b6a01bc14095413a
Reviewed-on: https://gerrit.libreoffice.org/15242
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
|
|
Change-Id: I3f47273f7b648e8c8d261217ba3f9ea8d366b61b
|
|
Change-Id: I0d306854ed295826418ad88ea5c0c72b949eeb22
|
|
Change-Id: I0d2bcf306a789f1eaa0760c69ced427c0ec70ef8
|
|
Change-Id: I801aaa8ad9a4ff08dedd2f92b09d98c870c725b8
|
|
...to avoid clashes with macros and poor warnings about hiding global FILE
Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
|
|
...and fix o3tl::enumarray::operator [] const overload
Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
|
|
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
|
|
Change-Id: I1f6c6d13697aa397067478d6b07429120106e6bd
|
|
Change-Id: I641a3a1e2cf2c789844940d7231015cb85e3b8bc
|
|
Change-Id: I7e0e4982611d2680d657f99eb2359db1f80e4f96
|
|
Change-Id: I4ce94a1cbe0567a829de977aaa9fd1cdbff71788
|
|
Change-Id: Iefbf64608dba0c0ae01e79e5b679a9b42748b73a
|
|
This commit treats variable decimal in the same way for scientfic format
as for number format
Change-Id: Ibc3f88150e2a8e353d35415da78998ec8c201e8b
Reviewed-on: https://gerrit.libreoffice.org/14918
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|