399585 Commits

Author SHA1 Message Date
Olivier Hallot
bc6017d66f Updated core
Project: help  0383ee3b35b04281e98e6495ec20e5023ed887ce

Another correction to online_transform.xsl

Change-Id: I4c59259fd3034d5c84ecade84d5908fc125e656a
Reviewed-on: https://gerrit.libreoffice.org/30618
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-11-07 02:35:10 +00:00
Olivier Hallot
63bd9cf4ad Updated core
Project: help  bf3db717e483f7d0f5b3fa8529d830dfd135d711

Correction to width and height pixel calculation

Change-Id: I6b4eb642e7e45785a7377fc79c6f7c90f8aea9ec
Reviewed-on: https://gerrit.libreoffice.org/30617
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-11-07 01:54:50 +00:00
Maxim Monastirsky
cef7294437 Make the insert fields dialog not crash
Change-Id: I6cd802f4ab07a647dcc3e8af49e578b041517006
2016-11-07 01:47:39 +02:00
Khaled Hosny
0b9298bf50 Extend joining groups with new Unicode additions
Change-Id: I14d65d59794fdf9ed4dce05a8f734d9400f85927
2016-11-07 01:16:55 +02:00
Khaled Hosny
979029ee65 Insert Kashida before final Tah
Looks like it was missing from the original code, though described here:
https://www.microsoft.com/middleeast/msdn/JustifyingText-CSS.aspx

Change-Id: Iab283cd8e9cc5aee37836ddb06d5e9b8ce8c18e4
2016-11-07 01:16:55 +02:00
andreas_k
e3bb44f605 add breeze icons and update fr* and pr* sheet icons
Change-Id: I1edf87b76ea9662b9745438961427665c12dfb0a
Reviewed-on: https://gerrit.libreoffice.org/30613
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-11-06 23:09:44 +00:00
Stanislav Horacek
11cab8aba3 Updated core
Project: help  63fa2d5d4e0b4136516bd8204109271bf85c91ae

tdf#103244 adjust menu path to Tools - Protect Sheet/Spreadsheet

Change-Id: I5993052af55e681c19b15f8e08f22b36d15e1e65
Reviewed-on: https://gerrit.libreoffice.org/30614
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-11-06 23:05:43 +00:00
Khaled Hosny
6a087ef7d4 Update comments
Change-Id: Ia63e2f16eb70c4a0cc20fc73f0f2694f1381dac5
2016-11-06 22:45:26 +02:00
Olivier Hallot
d9f4c9a62b Updated core
Project: help  1678d9035beaf714860804462f03501393291c56

Honor width and height in images for help3

Modern browsers renders width and height expressed in inches and
centimeters, as well as pixels.

Change-Id: I337de791e7e894b0c84f1bd9848e15edc861707f
Reviewed-on: https://gerrit.libreoffice.org/30616
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-11-06 20:35:10 +00:00
Khaled Hosny
7fdb418aea tdf#65344: Don’t put Kashida before any final char
If we didn’t find any known good position, not inserting Kashida at all
is better than inserting it randomly.

Change-Id: I075f8414b7f0a0aeb4d27d372c7eae51f4b5c37b
2016-11-06 22:34:05 +02:00
Khaled Hosny
6723fd9d18 Follow Unicode character names for better or worse
To avoid confusing transliteration.

Change-Id: I0ac1692b469f6f974fe3e5b0cc12a40d6f3a7018
2016-11-06 22:34:04 +02:00
Khaled Hosny
4920ee168f Insert Kasida before final Heh not Hah
This code seems to follow the algorithm described in:
https://www.microsoft.com/middleeast/msdn/JustifyingText-CSS.aspx

But there seem to be a confusion due to the transliteration used there,
Haa can be the standard Arabic name for U+0647 ARABIC LETTER HEH or
U+062D ARABIC LETTER HAH. The code is using the later, but I’m pretty
sure it is the former given that the other character in this priority is
Teh Marbuta, which is a Heh-like character. Also before final Hah is a
bad place for kashida.

Change-Id: I9ad3fc432ac58f0e45c562a6b44ac5cbe751c3bf
2016-11-06 22:34:04 +02:00
Maxim Monastirsky
ba28100d81 NewDocument is now unused
Change-Id: Ifce80cec8935b960b14716d09080f76351633c0b
2016-11-06 22:05:06 +02:00
Maxim Monastirsky
cea3b8762b NewMenuController: Fix template manager icon
The current logic is swapped. MenuAttributes::aImageId can be
only handled by SvFileInformationManager, while the menu item
command is what might be (in case of .uno command) handled
by CommandInfoProvider.

This gone wrong in tdf#96059 which wrongly assumed that
GetImageFromURL is equivalent to what's provided by
CommandInfoProvider (so other places should be checked too).

Change-Id: Ia487c602753dde3fb0d0462ef4b3d63209398b36
2016-11-06 21:37:27 +02:00
Maxim Monastirsky
5bd6b61a7c NewMenuController: Remove duplicate async dispatch handling
Change-Id: I881e6781c5ba82b0b998891532f8b7c281567b73
2016-11-06 21:36:25 +02:00
David Tardon
afe235a0ab tdf#103696 ensure glm always uses radians
This is set just locally for OGLTrans, because I have no idea what the
other places that use glm expect...

Change-Id: I83675ef2463ab945cb3d6885f803dcbae60a5558
2016-11-06 14:13:11 +01:00
Julien Nabet
62d7d5b8cf Fix Android build (llround)
Change-Id: I4f412f36f690bb2857ffa8c6188a9a4ce3994730
Reviewed-on: https://gerrit.libreoffice.org/30607
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-11-06 11:58:30 +00:00
Julien Nabet
703d00e335 Fix Android build (basic)
by retrieving the content of former function ImpRound

Change-Id: Ibb5085cb67c47b5a46644250efd6dcef7a0fc837
Reviewed-on: https://gerrit.libreoffice.org/30605
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-11-06 09:50:10 +00:00
Stanislav Horacek
2536bd8b26 tdf#103622 do not use arrow as separator of menu commands
Change-Id: I15f1cb699107dc7e24d6ebef2e8f4d8f38dcd596
Reviewed-on: https://gerrit.libreoffice.org/30573
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-11-06 08:55:47 +00:00
Stanislav Horacek
388fa3a247 Updated core
Project: help  8494b1d545c68fd4eeb75d78c692a3ce71ed3caf

tdf#103622 do not use arrow as separator of menu commands

Change-Id: I761c3845939ee95fb151a196587b359c3b6d965d
Reviewed-on: https://gerrit.libreoffice.org/30572
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-11-06 08:55:38 +00:00
Arnaud Versini
3db1e9ed4d BASIC : remove ImpRound and use std::(l)lround instead
Change-Id: I1e8f58890395bc6bc29f56c258836db3dc52384c
Reviewed-on: https://gerrit.libreoffice.org/30464
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-11-06 08:08:50 +00:00
Jean-Tiare Le Bigot
4bcf1872bb chartx: fix sparse chart import
Change-Id: I1bcd2257da900c6a88bc78040fabe5696e2bab7d
Reviewed-on: https://gerrit.libreoffice.org/29801
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-06 06:02:27 +00:00
Kohei Yoshida
17e9dc436b Fix the windows build.
Change-Id: Ifa34faf24e399b5baf24214a2869ca7eb5d61456
2016-11-05 21:23:38 -04:00
Julien Nabet
4ea62fe8a1 Replace some OSL_ASSERT (unotools/configmgr)
Change-Id: Ifacee39c43c1171ce673f16a9069e1f72dffae78
Reviewed-on: https://gerrit.libreoffice.org/30596
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-11-05 22:12:32 +00:00
Julien Nabet
3dc91d3fae Replace some legacy OSL (sfx2/viewfrm)
Change-Id: I3391c3760e3df371bb0d60ace71144f57afaca8d
Reviewed-on: https://gerrit.libreoffice.org/30599
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-11-05 21:28:43 +00:00
Justin Luth
a5f8c5f933 make a useful function - SvxBoxItem::CalcLineWidth
It saves lots of extra code: no separately checking if a line exists,
and then getting the width.  Closely matches the existing CalcLineSpace.

sc/source/ui/view/printfun.cxx is another place that could use this
heavily to replace their lcl_LineTotal function. Perhaps something
good for an easyHack. (Wait until LO5.4, since much of the logic
should use CalcLineSpace(,true) instead, and that function probably
will have the default bEvenIfNoLine changed to true. Compiler doesn't
like providing "true" when the default value is also "true".)

Change-Id: I298d057b2bf04959434736f6ab2666d2de4222f9
Reviewed-on: https://gerrit.libreoffice.org/30589
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
2016-11-05 20:03:57 +00:00
Norbert Thiebaud
db380aab10 Reverts a commit series that cripple windows ci.
Revert "SvxShadowTabPage::Construct was removed"
 f9a2c1c12ecad833c63b894c89d6008907477eb5.
Revert "replace OColorPopup with SvxColorWindow"
 f300754bb1c6a347c92bb9548be7a65237176542.
Revert "drop AutoColorInvalid/SID_ATTR_AUTO_COLOR_INVALID"
 347c2c334589b18cc62af292674bb3df1dd54b71.
Revert "replace last ColorLB use with a listbox of colors"
 604b35bf55351751a396e34dcca3f85e75860fd5.
Revert "simplify, its just a vector of colors"
 351a97ce6bda3075677b59fa1387ba3d1ab17d7a.
Revert "replace user draw with an Image of the color"
 df738e0f8ceedb4bad756960be14d9c41adc165d.
Revert "strip down to the used pieces"
 commit 08d6cd788f2584ce10ab8fa10665245e953c59d9.
Revert "move now combined ColorLB to location of last user"
 a19b18ad7c9eb0197c10e6d7e451ec4542e4bc9e.
Revert "fold ColorListBox and ColorLB together"
 a989a0b1f2b425f05b58d0e44ce2de31c842ed65.
Revert "move ColorListBox beside sole thing that uses it"
 760a198e697f3070a5e0e029e4eff7be220eb9cd.
Revert "extensions leaks out details of Color Selector, patch it up"
 8bea644d6117a49405e6426dc97214220fc869d1.
Revert "inherit FillAttrLB from ListBox not ColorListBox"
 d2ce812f1d3a7a2aad89ca0bd11948b63d2db7b0.
Revert "unify color selectors"
 43bc3031483d172eccd72c3804e2d4fc2ef37de4.
2016-11-05 13:42:40 -05:00
Zdeněk Crhonek
ee2144aafc add LENB test case
Change-Id: I337345dc18cffb1be663cbeab27c2d78a7c47e6c
Reviewed-on: https://gerrit.libreoffice.org/30468
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-05 18:08:22 +00:00
Zdeněk Crhonek
7557eef0b5 add MID and MIDB test case
Change-Id: Idcfe8de78d939703bd8c20cc5a80a0cb4e8baa90
Reviewed-on: https://gerrit.libreoffice.org/30471
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-05 18:07:36 +00:00
Zdeněk Crhonek
8ef2262b0f add LOWER test case
Change-Id: I2d220c6754059fb22a7bcdf2a34020b50984abec
Reviewed-on: https://gerrit.libreoffice.org/30469
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-05 18:06:50 +00:00
Zdeněk Crhonek
4135450a8d add NUMBERVALUE test case
Change-Id: Ib947cd86794584e04cff043f38a184490bb01683
Reviewed-on: https://gerrit.libreoffice.org/30540
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-05 18:05:55 +00:00
Zdeněk Crhonek
793df44d72 add PROPER test case
Change-Id: If05a1bee832f0c65156a27c7596bb1160073a3de
Reviewed-on: https://gerrit.libreoffice.org/30542
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-05 18:05:37 +00:00
Kohei Yoshida
da534e8822 Pass the current cell position to conditionally display sheet name.
Change-Id: I28dba90500af7c11db569fded28ce571a1ec9089
2016-11-05 13:05:01 -04:00
Justin Luth
d034f273cb tdf#90070 don't clip flys with borders
regression from commit e598ab04476a32a08f18e8f0662fafa5f78f1a4a
very aggressively forced a new frame size via compat setting
CLIPPED_PICTURES on any fly - not just images.

This only affects MS-format documents, EXCEPT that it is a document
property, so if the file every spent any part of it's life in MS-format,
it will always retain that compatibility setting. That explains
why the problem was intermittent for me - and was hard to reproduce
in a clean document, even though I'd seen it in .ODTs.

bIgnoreLine (ignore the fact that there is no visible line)
was a confusing word choice for "if there is no line,
then return a spacing size of zero". bEvenIfNoLine=false is better.

Change-Id: I50a3bdef3a67339ae517ee6319920651bc56f9be
Reviewed-on: https://gerrit.libreoffice.org/30585
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
2016-11-05 17:01:57 +00:00
David Tardon
f316f413f5 remove OpenGL transitions config. file from scheme
The OpenGL transitions are optional, so the respective config. file
should only be listed in the ogltrans module.

This reverts commit dafcb2844bda4af2bc290548548392bda3262307.

Change-Id: Ie785db07d04a0baf3dc9fd385f1d8a34837dc38b
2016-11-05 17:02:27 +01:00
Julien Nabet
8f79079fa9 Replace OSL_ENSURE by SAL_WARN_IF + clean include
Change-Id: I4d3a50fda2f865a546aafc38f06096117da34711
Reviewed-on: https://gerrit.libreoffice.org/30588
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-11-05 13:54:14 +00:00
Khaled Hosny
a04cda96c6 Drop unused Graphite includes
Change-Id: Ib5c40931805ef8a484ccb52c5d2b81180f68f0cc
2016-11-05 14:29:19 +02:00
Khaled Hosny
c1cb0fe8c5 Bin pointless #ifdef’s
Since we enable Graphite by default, this code was effectively setting
nMaxContext to 8 on macOS and 10 everywhere else. Does not look like a
huge difference, and an unnecessary one even since we use the same
layout engine everywhere now.

Change-Id: I6d2cc3a89ed2942c09e62f7637cec5b6db753a24
2016-11-05 14:26:46 +02:00
Kohei Yoshida
60762db525 Log cell range references.
Change-Id: Id6402a35ced37aff7215a46d23b4103a64bf669b
2016-11-05 08:07:47 -04:00
Kohei Yoshida
34c49d3f87 Log single cell references.
Change-Id: If711c44a3be7ae02d1354bb36ed7db6b5a86ef6b
2016-11-05 08:07:47 -04:00
Kohei Yoshida
fe7b4884a2 Dump the single cell vector reference info to the log.
Change-Id: If0ee6dca6642063501c728bec3b4e5d7b6401442
2016-11-05 08:07:47 -04:00
Kohei Yoshida
c7aa57bc6b Output the header information to the formula log.
The header information for now contains relevant formula calculation
configuration settings.

Change-Id: Ia6f8b84a3a6fa448708b9a78957002481c3a1c67
2016-11-05 08:07:47 -04:00
Jean-Pierre Ledure
c35fa61e25 Access2Base - Remove useless code in Root handling
Change-Id: I6f3a6efd858ac4e52b694cc0046c8f56a558c229
2016-11-05 12:18:55 +01:00
Tamás Zolnai
18f5d68d68 Fix these comments
Change-Id: Ie5c7876ce258a75f5507a862a320c4197a1e1f79
2016-11-05 11:45:11 +00:00
Tamás Zolnai
5ef66db91e tdf#103664: FILEOPEN: DOCX: Wingdings symbols are imported as rectangles
Change-Id: Ifd9ff26f2460e5570ec1b736308d48acdb3e56a8
Reviewed-on: https://gerrit.libreoffice.org/30575
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-11-05 10:37:35 +00:00
Jean-Pierre Ledure
385fa53636 Access2Base - Spanish translation
Provided by Iñigo Zuluaga

Change-Id: I6ba436e29f7aff35e30a8e614e0c3c3d2c3ac1b4
2016-11-05 11:27:46 +01:00
Julien Nabet
6fe0706f67 [loplugin:simplifybool]
Change-Id: I20177b47fd756558430420710c0f497be49c8948
Reviewed-on: https://gerrit.libreoffice.org/30584
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-11-05 07:08:03 +00:00
Justin Luth
67e385ac8d tdf#41542 MSWordExport: accommodate page's borderless padding
Honor the padding value even if the border is not visible. This is
needed both for ODT->DOC(X) (starting in LO5.4), authoring documents
DOC(X) files from within LO (starting in LO5.3), or round-tripping
current documents created in some other WordProcessor that produces
valid ODT documents with borderless padding.

Change-Id: I2d653f2c8d3ad22f86384ad17d3a0b8c89738f60
Reviewed-on: https://gerrit.libreoffice.org/30512
Reviewed-by: Justin Luth <justin_luth@sil.org>
Tested-by: Justin Luth <justin_luth@sil.org>
2016-11-05 04:23:29 +00:00
Justin Luth
570e8488b5 ooxmlexport*: cleanup - remove unnecessary "crop" lines
Change-Id: I2bf5b6c0d68ea8fbe57d9d1240564631e4a2da12
Reviewed-on: https://gerrit.libreoffice.org/30577
Reviewed-by: Justin Luth <justin_luth@sil.org>
Tested-by: Justin Luth <justin_luth@sil.org>
2016-11-05 04:17:11 +00:00
Khaled Hosny
d9ea614a1e Validate Kashida positions with font fallback
MultiSalLayout did not implement IsKashidaPosValid() which meant that
whenever there is a font fallback no Kashida validation was performed.

Change-Id: I30e498c356c49b0c06dd6b45187105f6bd758a24
2016-11-05 05:23:32 +02:00