summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2014-05-31bnc#870237: wrong text position in grouped listZolnai Tamás1-2/+4
In grouped list text area does not cover the whole shape but just a part of it at the top. To get the same visual effect modify text distance attribute. (cherry picked from commit 53c376d35b7223d53e8c9403390afe53d1f69089) Conflicts: sd/qa/unit/import-tests.cxx Change-Id: I32f30d0afbc1975f940c4562ec65f46596e97060
2014-05-23bnc#467278: Introduce a warning that changes to VBA macros cannot be saved.cp-4.2-4Jan Holesovsky1-1/+1
As an InfoBar, so hopefully not annoying... Conflicts: basctl/source/basicide/basidesh.cxx Change-Id: I5d4e79273edc03829fdab2d6d5a291576c954e4b
2014-05-22SvxRelativeField: set the unit from the passed stringmapMichael Stahl2-1/+4
In the Paragraph "Indents & Spacing" tab there are fields with unit: <object class="svxlo-SvxRelativeField" id="spinED_LEFTINDENT:0cm"> But the unit is effectively ignored, and the resulting SvxRelativeField with FUNIT_NONE and 9999 max somehow results in 0.18cm max when the dialog sets cm as unit. (cherry picked from commit 68bc8af6b6c4d0399bd10ed450d81aa2f17931a1) Conflicts: svx/source/dialog/relfld.cxx Change-Id: I6001c93079fd7d899f1e119913b29ea4898b1c34 Reviewed-on: https://gerrit.libreoffice.org/9416 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-21cp#1000072: Improve on-load updates of external links.Kohei Yoshida1-8/+6
* Load all linked external sources up front, rather than on-demand after the cache purge. * Try to pre-populate updated caches rather than leaving them blank and wait until it gets filled during formula calculation. * Disable polling of stale doc shell instances while the update is on-going. This improves the update performance especially when the update takes a long time. * Only close one doc shell instance at a time, even when there are multiple stale doc shell instances that need to be closed, to prevent too long of a pause. * Show progress bar during the update to give the user some visual feedback of the progress. * Skip loading of styles for the linked external document shells. We don't need them. For now, this is ODS only. * Minor performance improvement of ODS import. Conflicts: include/sfx2/sfxmodelfactory.hxx sc/inc/sc.hrc sc/inc/xmlwrap.hxx sc/source/core/data/documen8.cxx sc/source/filter/xml/xmlimprt.cxx sc/source/filter/xml/xmlwrap.cxx sc/source/ui/docshell/docsh.cxx sfx2/source/doc/objxtor.cxx Change-Id: I80aa71fa27e4960e9256253369aa898dd542c9b5
2014-05-18n#862510: anchorCtr controls the anchoring as well.Muthu Subramanian1-0/+1
(cherry picked from commit c17eb67460293fbe72ffa8e80cd10743df493afa) Signed-off-by: Andras Timar <andras.timar@collabora.com> Conflicts: oox/source/drawingml/textbodypropertiescontext.cxx Change-Id: Ib244d89a9f7d400b3891d477314cd5f0193552e0
2014-05-09Application::PostUserEvent returns a pointer dressed as sal_uLongStephan Bergmann1-2/+2
cherry picked from commit ce53796bfaf6df5c4415fda8f641cad8a3e144a6, plus more cases from 93f5d5a9190e0e03bf4822663652a4b068c44f75: "The opaque PostUserEvent IDs are actually pointers so declare them as such. This avoids the recurring mistake of storing such IDs as sal_uInt32, truncating in 64 bit environments, causing RemoveUserEvent to potentially not remove the event, it thus firing 'too late' and probably causing a crash." Change-Id: Ia5ca45e35766a7cebf0b53bcac1bd9dff29ad6ea Reviewed-on: https://gerrit.libreoffice.org/9259 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-09fdo#76261 Get rid of unneeded and malfunctioning maItemListRect.Andrzej Hunt1-1/+0
maItemListRect serves as a sort of bounding box for what items /could/ be visible on screen, however it is only used for determining the id of an item we have just clicked on -- given that we already know that we are clicking inside the visible area this is an unnecessary check. In fact this check is erronous as we no longer limit ourselves to "whole" rows as of 806919adf9c9bafbaba92c2d2ab35d2e2f9863f8 -- i.e. the previous assumption was that a view large enough for n rows will show precisely n (whole) rows, whereas we might be showing (n-1) complete rows, and a fraction of a row at the top and bottom of the screen, i.e. a total of n+1 rows, where maItemRect only encloses the top n rows, meaning we were erronously ignoring clicks on the (partly visible) lowest n+1 row. Change-Id: Ia52ed2e0d217a9f077cef86ee9c1847252844995 (cherry picked from commit fb0ca7eff0e16fa8dd1a4c8d75fef23830903a3f) Reviewed-on: https://gerrit.libreoffice.org/9255 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-02Add the "quoteright" key to the list of available keyboard shortcuts.Kohei Yoshida1-0/+1
Change-Id: I24800c28b1513b883c42d9ce1c787eaf07815b92
2014-05-01fdo#75058: Optimize autofilter item filling for non-tree items.Kohei Yoshida1-0/+4
(cherry picked from commit 878a5dabff4669fb606a461e11eaf286d0c8b07f) (cherry picked from commit 0b03f7ed575838f90e6b1ebec3538a3a214f81fb) Conflicts: sc/source/ui/cctrl/checklistmenu.cxx sc/source/ui/inc/checklistmenu.hxx Change-Id: I1b3ae601726401a0e70fb1a05b9a90c43773794c Reviewed-on: https://gerrit.libreoffice.org/9211 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-04-30n#870234: Import gradfill for text colors.Muthu Subramanian1-0/+2
Uses the first color from the gradfill list. (Which is better than plain black!) (cherry picked from commit cfc76de83e3c0a56abd30a8f3bd7c69d3500d223) Signed-off-by: Andras Timar <andras.timar@collabora.com> Conflicts: oox/source/drawingml/textcharacterproperties.cxx oox/source/drawingml/textcharacterpropertiescontext.cxx Change-Id: I4c1c0c4b031f3681c95b75b3c0683eb4de95bffb
2014-04-27fdo#77089 pass shape dimensions to graphicfilter for WMFTomaž Vajngerl1-1/+3
Conflicts: oox/source/vml/vmlshape.cxx Change-Id: I673a76ef85038b1f304ea85faeed5b4a462cb144
2014-04-22fdo#77088 WMF - replace 32-bit min/max assumption with constTomaž Vajngerl1-0/+2
Added RECT_MIN and RECT_MAX which represent the minimum and maximum value a Rectangle object can hold. In WMF we used a 32-bit assumption what the min and max value could be (0x7fffffff, 0x80000000) which causes problems on 64-bit systems. Change-Id: Ic62daebbc2708cdeb7b0cf7b694bd9940eb98313
2014-04-22every even numbered print job is reported as failedStephan Bergmann1-2/+2
because of. bool bSuccess; ... bSuccess &= ...endSpool(...); in PspSalPrinter::StartJob was... endSpool return value is effectively success flag, not job ID (cherry picked from commit e6323214830895d1c76ec44ee53990bf577fbda2) Change-Id: I5b96eeff80ca29f0f8f24ee6da7a2ca76cbb05ce Reviewed-on: https://gerrit.libreoffice.org/9093 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-04-22handle strange brightness+contrast adjustment from msoffice (fdo#38410)Luboš Luňák3-3/+12
LO uses basically the formula "newpixel=(oldpixel-128)*contrast+128+brightness", i.e. contrast is applied first. It looks like there's no "oficial" formula for this, so a formula that applies brightness first would be ok too. MSO for some weird reason apparently uses a formula that applies half of brightness before contrast and half afterwards (insert funny political correctness or compromise joke here). While the result is the same like with the LO formula if only either brightness or contrast is adjusted, the result is different if both are involved. Just modify the image using the MSO algorithm if this is the case. Conflicts: filter/source/msfilter/msdffimp.cxx include/vcl/bitmap.hxx include/vcl/bitmapex.hxx include/vcl/gdimtf.hxx vcl/source/gdi/bitmap3.cxx vcl/source/gdi/bitmapex.cxx vcl/source/gdi/gdimtf.cxx Change-Id: I55fe8f395832685b90f024cf2f58b0797c1ba588 Reviewed-on: https://gerrit.libreoffice.org/9099 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-04-16fdo#72287 Scroll automatically to show selected item when keyboard used.Andrzej Hunt1-1/+1
806919adf9c9bafbaba92c2d2ab35d2e2f9863f8 added finer-grained scrolling using the scrollbar / scrollwheel, but inadvertently prevents the display from scrolling when an item is selected that is currently offscreen (e.g. by using the down-arrow button on the keyboard). Change-Id: Iaa3a7dc6d214741d37cf4ec78c00ed0034ed1e42 (cherry picked from commit 717aa1ac75ddd54fdf72cd4de6551f1fb536da9b) Reviewed-on: https://gerrit.libreoffice.org/9017 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-16fdo#76294: Properly intern string literals in formula on xls import.Kohei Yoshida1-4/+14
(cherry picked from commit b09426b83c12b0cd27cd909602251cb076ffa4ba) (cherry picked from commit 625c595fc30d2e6153735dc2ed2359ff4f8a1e3a) (cherry picked from commit 6bb7fa8df523d3ae7b9945009fb1034f28cb0a0a) Conflicts: formula/source/core/api/token.cxx include/formula/tokenarray.hxx sc/source/filter/excel/excform.cxx sc/source/filter/excel/excform8.cxx sc/source/filter/excel/frmbase.cxx sc/source/filter/inc/XclImpChangeTrack.hxx sc/source/filter/inc/lotform.hxx sc/source/filter/inc/qproform.hxx sc/source/filter/lotus/lotform.cxx sc/source/filter/lotus/lotimpop.cxx sc/source/filter/lotus/op.cxx reportdesign/source/ui/inc/Formula.hxx Change-Id: Icf962a4363887f323da6d2bdf935a027df3319fa Reviewed-on: https://gerrit.libreoffice.org/9008 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-04-16fdo#75741: Re-implement CompileNameFormula for formula groups.Kohei Yoshida1-0/+12
(cherry picked from commit 355baf573425165cbc1c789a6271eb29940e1f76) (cherry picked from commit 615f6aa293a6da90da94e6e78828198ffbc0ca5e) Conflicts: sc/inc/document.hxx sc/source/core/data/column4.cxx sc/source/core/data/document10.cxx sc/source/core/data/table7.cxx sc/source/ui/docshell/docfunc.cxx sc/source/ui/undo/undocell.cxx sc/source/ui/unoobj/nameuno.cxx Change-Id: I57e1e464ac5f7abc10ce5ea5752e036ddb6cf6d7 Reviewed-on: https://gerrit.libreoffice.org/8889 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2014-04-16fdo#74787, rhbz#1072553: Fix deselection problems of template viewZolnai Tamás1-0/+2
deselectItems() were added to make recent docs view work, but it is unneccessary to affect template view too. (regression from 0314034d8b23d5b69399cfcdf6b2f2add73f9f47) Conflicts: sfx2/source/control/recentdocsview.cxx Change-Id: I0c805774321939991e308e9c8c669604e81dbad5 Reviewed-on: https://gerrit.libreoffice.org/8490 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-03-26fdo#76222 oox: add support for MSO 2007 SP2 encrypted documentsTomaž Vajngerl1-1/+4
Change-Id: I8fa586d49437ff5422fc3daa4c81439146e598a0 Reviewed-on: https://gerrit.libreoffice.org/8734 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-26add parameter to supress dialogMathias Supp1-1/+2
With the new parameter you can now supress the dialog for document compare in writer. Change-Id: I984ee75552e5c006332331510df5d437b687903f Reviewed-on: https://gerrit.libreoffice.org/8739 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-25make "rest" param in endsWithIgnoreAsciiCase default to zeroNoel Grandin1-1/+1
so it matches all of the other endsWith* methods Change-Id: If6a37056b1225675848434bfb3520e6c496f22e5 (cherry picked from commit e80b9f344aeb88bdbb42d846c0a094d86ee327dc) Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-03-25fdo#75260: Improve double line drawing for writer table.Kohei Yoshida1-9/+10
(cherry picked from commit 1c6fb266567c8e397e3c65663b21f0fa50696aa5) (cherry picked from commit 77b6c1602aaa0bd059077765e7fabb53d9e6ddeb) (cherry picked from commit 32391d25293935fbbf0075e3ccf68625951427f0) (cherry picked from commit 24b4fbfa39f212c769bf4d966258a8fb4c98c201) (cherry picked from commit 07909e0045d9f94329861fe2e7b3403a5c4befed) (cherry picked from commit 335470edf00cabb47abb9d7dcc4dd3a5a0e79616) Change-Id: Id350531f09b3ded66fd05ea7ebeefe8771260b62 Reviewed-on: https://gerrit.libreoffice.org/8635 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-03-25fdo#71491: Adjust reference during undo of drag-n-drop of cell range.Kohei Yoshida1-1/+1
Also with this commit, the signature of SvtListener::Notify() changes, by dropping the first argument which nobody uses. This change was necessary in order to call it directly without needing to pass any broadcaster instance. (cherry picked from commit 88955714d345d8584e86ae34bf5f5d1f3f4af9f7) (cherry picked from commit 99809b246c5dd2be548668032fac4f3c65fb962a) (cherry picked from commit 8b368d808e90561a9b34658e6b811a8fad83088f) (cherry picked from commit 83ee6b640eaf86f9aef6f42a4dd9c8a930cf9135) Conflicts: sc/inc/table.hxx sc/source/core/data/table2.cxx sc/source/ui/undo/undoblk.cxx svl/source/notify/broadcast.cxx Change-Id: I6a1e97f0fb1e070d1d8f7db614690b04c9e8024e Reviewed-on: https://gerrit.libreoffice.org/8600 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-03-25cp#1000025: Import casemaps from pptx.Muthu Subramanian4-9/+12
(Ported from: 887bc4dd3e62fe6dd19dc9d1c3ba273a5b21b5ec and 9dbcb79782d6a5b80c21a0c093537d18425b826f) Change-Id: I211491e06273aedf5c8ddbd0ca3fc35f3d168aaa Reviewed-on: https://gerrit.libreoffice.org/7848 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-03-25n#821567: Import PPTX background images with table-name.Muthu Subramanian1-0/+3
Ported from 2ec4d410de5bd98527336a9dc49abb76656373df Change-Id: I19cefa3097d8a7c2da057089efb52ec8fd45b2b0 Reviewed-on: https://gerrit.libreoffice.org/8544 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-03-25fdo#75872: ODF import: fix up graphics defaults stroke/fill colorsMichael Stahl1-1/+6
These have changed a few times, notably in LO 4.0 with commit 895890563cb0cc5fa872bdfd06918a46cdda172d and AOO 4.0 with commit c0eb5e7772c848806db8ab461f77f9549c1d8b2b; unfortunately historic OOo and current AOO do not write the values into ODF files, whereas LO 4.x does (probably by accident, since 45d3577bc5726eee44f491fd30a7f11dc428431a by design). Try to set the defaults depending on the generator; since the defaults are not specified by ODF they are implementation defined anyway so this should be OK. Change-Id: I1270d6e0cdeea5cb493724a0998f661a0cf644f1 (cherry picked from commit 92cb21ebeda98c5193c50c4cf7ef3d60611c2a52) Reviewed-on: https://gerrit.libreoffice.org/8563 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-03-25hidpi: Make many places Hi-DPI aware.Jan Holesovsky1-0/+2
This also introduces a getter for the mnDPIScaleFactor variable. Change-Id: I02ba6858fb1842f911d62976f4c54afc3bfa337f Reviewed-on: https://gerrit.libreoffice.org/8517 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-25Introduce DPI scale factor for Hi-DPI displays.Jan Holesovsky1-0/+1
This is supposed to stay 1 (no scale) for printers and default virtual devices, but should be set accordingly (2 or 3) for windows and virtual devices derived from windows. Various VCL widgets or paint operations should incrementally become aware of this, and changed so that they draw nicely on the Hi-DPI displays. This patch only introduces the behavior for waved lines. The default is currently being set depending on the DPI setting only; could be changed to a more clever way if necessary. Change-Id: I71118f9ab6b64028d1eeee76e860e999d5cd9d19 Reviewed-on: https://gerrit.libreoffice.org/8516 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-25handle OOXML strict namespacesMarkus Mohrhard5-4/+26
Change-Id: I198862388426161e3f054a5f128639c59f3c9d24 support OOXML strict documents in Calc Conflicts: oox/source/core/relations.cxx Change-Id: I277d76aeec28e173d913ccc1506464afe4d09c6d import date cells from OOXML Change-Id: Id0b9ec034d559d489ca4ee2d1d6aca1bdf1beb9d no need to add another layer of macros Change-Id: I49992559a7d10127d55dbf0c7e257c86619fd8d6 fix one more relation type for OOXML strict Change-Id: Ia63309271ac225883540ca0453fc5da21844d3ad make more places aware of OOXML strict relations Change-Id: I292217537eb592cbad9af11f87402baa9f4cc442 fix strict namespace list generation The two perl scripts were apparently only generating the same order by luck. It did not work on all systems. Change-Id: Ib83ee5c6572d3bae2e2ac1846850bd65303e7d43 allow OOXML strict relationships in writer Conflicts: writerfilter/source/ooxml/OOXMLDocumentImpl.cxx writerfilter/source/ooxml/OOXMLStreamImpl.cxx Change-Id: I1c09280f68467748faedee19c4a66be3bc7d7aa3 make sure the two namespace lists are sorted the same way Change-Id: I90b3182e10dbbfc8993010dd885509537d2fe537 fix OOXML strict chart import Change-Id: I84a2fd575ced64d4774147063f13ebb8605c100f add the xml strict namespaces to misc/namespaces.txt Change-Id: Ie83b5c94f1f002851bff3b39b1d9b676a3e44aa1 Reviewed-on: https://gerrit.libreoffice.org/8515 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-03-07fdo#75260: Correctly draw double lines for both Writer and Calc.Kohei Yoshida2-3/+7
Fix all sorts of incorrect double line handling in drawinglayer in order to draw thick-thin double line types correctly. Also change handling of border lines in writer tables. There are still some outstanding issues but it's much better than how it was before. Also realized that Word and Excel handle simple thin double lines differently; Word varies widths of all of the lines and the gap whereas Excel only has one fixed size for its double line. For this reason I decided to add a separate double line type (DOUBLE_THIN) to handle Excel's double line. (cherry picked from commit 2c62596cf264ef10749d8bfdb2bb2ebef2d98fbc) Conflicts: cui/source/tabpages/border.cxx sc/qa/unit/subsequent_export-test.cxx sc/source/ui/view/tabvwsha.cxx sw/source/core/layout/paintfrm.cxx xmloff/source/style/bordrhdl.cxx Change-Id: Iaaa353b6e4f998b524262bea59260b4333e0cdb4 Reviewed-on: https://gerrit.libreoffice.org/8464 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-02-24fdo#74751: fix reverse base point diagram on RTL UIFaisal M. Al-Otaibi1-1/+1
Change-Id: Ib8e9f40b5576116f0220ffa70390f95b28c8bae0 Reviewed-on: https://gerrit.libreoffice.org/8200 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21fdo#41524: CUPS printing: use "collate" option when PDF is availableMichael Stahl1-0/+2
Assume that the CUPS printer is able to handle collating by itself, don't send multiple print jobs (except if user clicks on "Create single print jobs for collated output" of course...). To enable collating with PDF based printers, add the "collate" option; legacy PS based printers still get the weird stuff read from the PPD (not sure what the risks of changing that are). Change-Id: Ia12dc69f9083bba94f2ed633ecbd153aac7e40ab (cherry picked from commit c76cd71fe9bdefaef3f33f8ca193c32e3ab112ed) Reviewed-on: https://gerrit.libreoffice.org/8116 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-13fdo#73860 n#828390: New line is dropped while importing text.Muthu Subramanian1-0/+2
(cherry picked from commit 840f4fc4d677740fc4b0ebcb658f4a828e184dad) Signed-off-by: David Tardon <dtardon@redhat.com> Change-Id: Id36181f64bd154d271446ef27a124a81af5c8620
2014-02-08fdo#74363: fix auto correct of initial capitals on start of first paraMichael Stahl1-1/+1
The GetPrevPara() method apparently has to return 0 when there is no previous paragraph. (regression from ac85b6cff11d193f5f71d11b1f3cc1c474653f59) Change-Id: I09a3e1d3a3adb33562e4e03c0755447047cbd433 (cherry picked from commit ebd0d0056d89a6a69d2cb75e28758132cb5c236b) Reviewed-on: https://gerrit.libreoffice.org/7940 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-04fdo#74104 fdo#73904 backport Message dialog creation from message stringsCaolán McNamara1-2/+5
Original title: "allow simple MessageDialogs to be created from just message strings" Commit 9b6b03542df7f6b0feecf60a13bab7e885ef3587 upgraded sd/source/ui/view/Outliner.cxx to use a MessageDialog created from just a message string, but was done before the existence of this commit -- it's presumably safest to backport this commit to ensure that any other such changed dialogs will work as expected. (cherry picked from commit 257d1f4ff3094a42952663d620d7c49e3e7c747f) Conflicts: basctl/source/basicide/moduldl2.cxx Change-Id: I9f8324d1c61bd55ccc78e67699ebdfa946e48af6 Reviewed-on: https://gerrit.libreoffice.org/7859 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-03Related fdo#65826: Set StartCenter's min width to display one column of docsZolnai Tamás2-1/+3
If there is document to display. Otherwise set minimum to the width of greating background text. Updating minimum size is needed only when the list is cleared. Change-Id: Ic089571fd21d5ab9ded0f4cde7e1aa72fd508d32
2014-01-29fdo#73487, fdo#73886: Overhaul cell borders to make them look sane.Kohei Yoshida4-29/+27
Change-Id: Ie563f272b60ec8b6b8a4ff0df7256902997610c1 Reviewed-on: https://gerrit.libreoffice.org/7597 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-01-24Resolves: fdo#73355 reconcile legacy path bug detectionCaolán McNamara1-0/+2
reconcile "223f6b631c1b087754c0f9051fb55f029f2503ce Resolves: #i123433# Detect pseudo-vertices at svg import..." with "7a19798c73fd39d8d69ff6364f0696e68cdd1381" Compatibility option for incorrect relative moves after closePath (fdo#47406) and "a2ee8055e9c136923f0244fe289cac6377933c31" Fix fdo#47406 incorrect relative moves after closePath Change-Id: I1221099a40500aeb4165a3350d8ae2df1fd3111b (cherry picked from commit b663316e83ec6b19b8fc33ade38086b22ab04b67) Reviewed-on: https://gerrit.libreoffice.org/7628 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2014-01-21fdo#71511: in autodetected a11y HC mode, pull background color from themeBjoern Michaelsen1-0/+1
- ... and reload ColorConfig after tweaking relevant a11y settings - dark theme default to high contrast - as per fdo#35365, having a dark document background is inconvenient for non-a11y endusers - a11y standard require the (rather ugly) background for a11y - thus, when "automatically detect high contract mode of operating system" in Tools->Options->a11y is enabled, use the dark document backgroundby default, otherwise use a white default note that the autodetect HC option is somewhat broken anyway: it resets the icon theme hard, so there are not simple roundtrips enableing/disabling it for that, but those havent been there before either. (includes: Ia35a41717224dfb7437054bb885c61d7e0b189d7) Change-Id: Id8ad1eb3d57b3708ac5a241092208e3a8d98ade0 Reviewed-on: https://gerrit.libreoffice.org/7484 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-01-10fdo#72005: Insert the border rectangle to the bottom of the stack.Kohei Yoshida1-4/+10
This will make the border and fill shape to be drawn first, then everything else drawn on top. This commit may look large, but it's actually a very trivial change. The important part is in SvxShapeGroup where new methods have been added to allow different insertion positions for the new shapes being inserted, and have the chart2 code make use of it to insert the fill rectangle to the bottom rather than to the top. (cherry picked from commit 10840ad753b60886ea5175060cb0ec2a77e1579a) (cherry picked from commit d1846cd8d4530d620b996f27a0ea7ab0c91639b5) Change-Id: I999160daf6fc9ce3d7e641f57b1998543df1cc4e Reviewed-on: https://gerrit.libreoffice.org/7379 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-01-10fdo#72947 Startcenter: display more userfriendly file urls in tooltipsZolnai Tamás1-0/+3
Use INetURLObject to get a readable url (it displayes special characters too). It is a side effect that 'file:///' prefix disappear which seems a good thing. Plus some cleanup: remove second INetURLObject. Change-Id: I4aab5e2546ae70e5a3d85b12e26e021bfa244999 (cherry picked from commit 31dfeee42e9b08ed7031b6c50d0c674122d5245c) Reviewed-on: https://gerrit.libreoffice.org/7366 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2014-01-09fdo#71628 Startcenter: remove thumbnail selection when focus is moved awayZolnai Tamás1-2/+1
mnHighItemId is never assaigned with a valid value and there is no sense to store one selected element's index anyway, because there can be more. The bMove parameter of ImplGetItem is never used and doesn' work so remove it. Change-Id: I91d6bc3fd13a2b44e6961fea66d02702a8f31c2b (cherry picked from commit 0314034d8b23d5b69399cfcdf6b2f2add73f9f47) Reviewed-on: https://gerrit.libreoffice.org/7340 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2013-12-31Add internal cell function __DEBUG_VAR to sniff arbitrary internal state.Kohei Yoshida2-2/+4
Useful for debugging in a more flashy way. But never ever document this for end users. If you are an end user reading this, use this at your own risk. You have been warned.
2013-12-24fdo#72916 correct rounding of time part of DateTimeLionel Elie Mamane1-1/+1
Change-Id: I135478755f9e5a844119129b470fef8de2cd0409 Reviewed-on: https://gerrit.libreoffice.org/7163 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-20added bool bForExport parameter to XMLPropertySetMapper ctorEike Rathke2-3/+10
Set to true for export, false for import. If export true, an XMLPropertyMapEntry with mbImportOnly==true is not added to the mappings. This to be able to have more than one mappings for import (for example a current extension namespace and the future namespace proposed to the ODF-TC, or corrected typos in element or attribute names), but map only to one entry on export, of course. Change-Id: Ia01ea949c88eda2f8a6c10f51c59e35e7abdcaf3 (cherry picked from commit ebc1b2fe50c7ed1002ed8431410b8e2ac6e795b9)
2013-12-20prepared XMLPropertyMapEntry with mbImportOnly flagEike Rathke2-0/+9
Change-Id: Id5a54a591a42c836884af1fd09dc055f2fce6db5 (cherry picked from commit 9dd7ee88bd9835ae2bae36093100fcd651fd3aeb)
2013-12-20just beautify this a littleEike Rathke1-7/+7
Change-Id: Ibd7da12d88ec8e965f652499f7e7e32f81bd8ccc (cherry picked from commit 44b4973fbd0f190906f36321b31215d80b363d52)
2013-12-20reordered member variables for 4 byte alignmentEike Rathke1-1/+1
Change-Id: Iaae7689d1ed3c74e261fcc90fa88b5521468e376 (cherry picked from commit dd902b8e256867b5d5fed06b52995f14d969f67d)
2013-12-19Backport Calc's data stream massive cleanup effort.Kohei Yoshida1-0/+3
Change-Id: Ifbeb7c2d90d87a7cffe9a752f9e8b4910d55fcd9
2013-12-18resolved fdo#72778 keep setting system locale and LanguageTag in syncEike Rathke2-1/+20
Change-Id: I3547786bf77b8f611bc08d0e52c66ac00e199f13 (cherry picked from commit cc54c08a66046c00af3713fbe5e69995ccb7f73b)