Age | Commit message (Collapse) | Author | Files | Lines |
|
After the import some of these are kept in RUNNING state. For Math
objects imported from MathType3 OLEs in particular, first a new
Math object is created and stored to the XStorage, only then is the
MathType3 stream imported. This means the Math object is modified and
contains data that must be stored.
The problem is then that SfxObjectShell::ImportFrom() simply calls
setModified(false), clearing the flag without storing the object.
For Flat ODF export we lose all the objects that are cached in sw's
SwOLELRUCache; for the bugdoc something more inexplicable happens for
ODT export where we lose "Object 214" (which is the first one in the
cache) but no other ones.
(The main difference is that for ODF there is an optimization to copy the
embedded object's storage without loading the object, but for Flat ODF
every object must be loaded and exported.)
(regression from 83777cd6e0f3f1a4458af896fd13344c696ecb1e)
(cherry picked from commit d81d104833f0ee9349ebcd0d79d2de84ba9a7262)
Change-Id: Id1474fba9f4da2d5247c7ff4dc6819ddb9829fe8
Reviewed-on: https://gerrit.libreoffice.org/22337
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Ia18c3044aba82f935b13f22ba98aff42e9d5098f
(cherry picked from commit 763521335b01a37c511ae8069cade9b4b69fef66)
Reviewed-on: https://gerrit.libreoffice.org/22298
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
|
|
the patch f7424ed710e54bb2437a28380b03ed7c26290edc introduced copying of
the input item set of SfxTabDialog so now the item set of the style must
not be copied anymore.
Change-Id: If4155ee5999f0c5cd2ac754578a2c1b5ec33b14b
Reviewed-on: https://gerrit.libreoffice.org/22022
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
(cherry picked from commit 869c73d0d2512e483ceedcc895b7cb86e0974ab2)
|
|
save a spreadsheet with an embedded formula in it to xlsx
and alt tab away before the save has completed
Change-Id: I9df996d4cb459a2aa688d06a7d53465518bebf5c
(cherry picked from commit 50c2d561981d99abad9978811655365ff9884c87)
(cherry picked from commit 12bc593da98be68961a9ea7d31619a7718fd1d4b)
Reviewed-on: https://gerrit.libreoffice.org/21578
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
|
|
(cherry picked from commit 8085555f6de5905028fdc0761c9e5b2fd4a3609a)
Change-Id: Ifbd88aa55d5aa32a7b8dc11d7ac0310d0ef1e5d1
|
|
When the object is edited in the UI, the m_xClient is set to a
SfxInPlaceClient and the DocumentBaseURL is retrieved from it. But if
the object is not edited, it will be loaded during export via the API
and without a m_xClient; in this case the DocumentBaseURL must have been
set previously to be available during import.
There appears to be no way to get the URL of the document via the API
while it is being imported; SfxBaseModel's m_sURL is unfortunately only
initialized from SfxObjectShell::FinishedLoading().
During ODF import, the SvXMLEmbeddedObjectHelper creates the
embedded object, so let's make it pass in the parent's BaseURL.
The "DefaultParentBaseURL" parameter already exists but was unused
previously.
(cherry picked from commit b0fc09daf1086423a9bd457d9a2c043e7ff41451)
(cherry picked from commit 4118f8f4c20ae711b95ab3052656bde673aa8852)
sw: loading embedded ODF objects requires unordf component
(cherry picked from commit b3b7982f4690f4ac0f0e9680970ba544157c36dc)
Change-Id: I3d1ed29b3a2c0e77ec606a1d09f7bc07e7860733
Reviewed-on: https://gerrit.libreoffice.org/20761
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
==7727== Conditional jump or move depends on uninitialised value(s)
==7727== at 0x9121E24: SfxDockingWindow::Resize() (dockwin.cxx:451)
==7727== by 0x3CADFAC3: SmElementsDockingWindow::Resize()
(ElementsDockingWindow.cxx:753)
Change-Id: Ie6e8a61f6c295373e5ccad409e2557e7c2dd6c1a
(cherry picked from commit 8831281942b0ffe3dbdcea6febcda97a2ab665b3)
(cherry picked from commit 5d9a20b3ab3167242a41a6f5ea951d426677ec29)
Reviewed-on: https://gerrit.libreoffice.org/20756
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
(cherry picked from commit 5ac6e00274e732435b55c2908db9cea658fe549b)
Conflicts:
sfx2/source/dialog/backingwindow.cxx
Change-Id: Ica40750d628946678019376d91db67ba3f9ed67e
Reviewed-on: https://gerrit.libreoffice.org/20601
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
Change-Id: I8ba75fcd2f98a49fe9d620af6b248f32911d7fe8
(cherry picked from commit de7018f755af0b2372c0e261f53d57de6cf77c38)
Reviewed-on: https://gerrit.libreoffice.org/20464
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Idc9e8fd0c35de48a2366dca3850bcc4e69ef997f
(cherry picked from commit afc565bf26464a4999b45d8bc57545fa1ff534e5)
(cherry picked from commit 46c5197feec5e64544433f2d6e22cf986408552a)
Reviewed-on: https://gerrit.libreoffice.org/20368
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
|
|
partially cherry-picked from the
commit 187445b2d2885ced92be37ffb11cd2a9bb11f8d6
Change-Id: I9e74fb41448c6be0b8daa6c0f8a0e207be0be6d6
Reviewed-on: https://gerrit.libreoffice.org/20250
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
|
|
... because MAPISendMail does not accept Unicode
Change-Id: Id48a41d1cf25d1a991b0f83fd5daa1a65896e958
(cherry picked from commit 77ff51623eab0c5908c84400c6eb8448ddb1e9c8)
Reviewed-on: https://gerrit.libreoffice.org/19830
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
do more-less the same as 2fd93f19cf6c1ce808214c does for main app
toolbars
Change-Id: If271bbb049915f4201fbce2ea587b753940a8de7
Reviewed-on: https://gerrit.libreoffice.org/19451
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
(cherry picked from commit 07f75f6e645eca4825541f57e9d5e9479a17c559)
Reviewed-on: https://gerrit.libreoffice.org/19728
Tested-by: Jenkins <ci@libreoffice.org>
|
|
...instead of setting background at various places.
Change-Id: Idfa6a36bcb2aefbb33a7647725098f4eea0f93c4
Reviewed-on: https://gerrit.libreoffice.org/19347
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
|
|
Regression of eb505c259d0d7bd05d1bb5be5a14ad8613c2a9c7.
Change-Id: I4623c41617d92a808513f18154a7531e6dfd5463
(cherry picked from commit fdbad6761f5634982bb7b837bb145b3bd580832b)
Reviewed-on: https://gerrit.libreoffice.org/18370
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
|
|
Change-Id: I92620cb1439bd13efcdbafcdc584abd8d7bb4345
(cherry picked from commit e38c4105077b396b0b53e0296ae9cf142f51dd52)
Reviewed-on: https://gerrit.libreoffice.org/18245
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
seek resets failures, need to check after a read
and before a seek
Change-Id: Ia249e258c51af5efc838f92c4ead6237b403c701
(cherry picked from commit 170ff56b1b99ec451e9adbc9ae9c2a94dd47a692)
Reviewed-on: https://gerrit.libreoffice.org/17866
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
|
|
Change-Id: Ic707f4407bb3aef5f2a7b9d13a0340c6d9afb3fe
(cherry picked from commit 9f75bad228ca1f410b7a450084b02ad13745110e)
Reviewed-on: https://gerrit.libreoffice.org/17178
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
|
|
Newly added property Office::Common::StylesAndFormatting::Preview
can now be used to turn off "Style And Formatting" style preview.
Change-Id: I2e01de2a74e2d295557c87022a7b745ce23b4800
(cherry picked from commit 210f42a318cbac62de835ccacbc1fc0e36f713f6)
Reviewed-on: https://gerrit.libreoffice.org/17177
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
|
|
Change-Id: Ifc9c0db1763f89fb7e3865f80021f57b29f47705
Reviewed-on: https://gerrit.libreoffice.org/16897
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
|
|
before trying to destroy pWindow
Change-Id: I7257096e8da2a5d6753ad2091287d63ea9ae244b
(cherry picked from commit 3c6eec0d99a2bb84bd6719ad498d5de54dc959fe)
Reviewed-on: https://gerrit.libreoffice.org/16832
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
A regression of 1166966eb4112fdf332c656eae5082d82a3ec2f2.
We need to consider 2 use-cases:
1. Protecting an existing document with a password (by overwriting
the original file). In this case we don't want to generate a
thumbnail from the now encrypted file, but we do want to erase
the stored thumbnail and show a generic icon instead.
2. Closing a modified document without saving the changes. Here we
don't want to generate a thumbnail either, because it may
contain the unsaved changes, but either we don't want to replace
the stored thumbnail, because most likely it correctly represents
the last saved state of the document.
Change-Id: Ia7b1f3dbc9fbbc2ef1d87442c1dee25306f65826
Reviewed-on: https://gerrit.libreoffice.org/16659
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
(cherry picked from commit d9c476bfbb4a8f1858c072d2fba33aa9e8e0ae92)
Signed-off-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
|
|
To test:
Scenario 1:
* go to Writer -> Format -> Page
* select page format and orientation, if possible a different one than the default
in your env.
* File -> Print -> Properties should now show those values (and not the default
values from the printer)
Scenario 2 (aka Scenario 2 from tdf#61186)
* now go to File -> Printer settings
* change page format and orientation, if possible to yet a different one than the
printer default and a page one
* File -> Print -> Properties should now show what was selected in Printer settings
and not the format of the page
Change-Id: Ibc84540f428b79dbec2587c50eefe526a62751b3
Reviewed-on: https://gerrit.libreoffice.org/16716
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
(cherry picked from commit 0251e61640b94094918406b33ee7b05564409feb)
Reviewed-on: https://gerrit.libreoffice.org/16808
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: I5df89581796eca4e48e0a305d4319e4674f8dd87
Reviewed-on: https://gerrit.libreoffice.org/16625
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I5a990643903946ea339136fbc514ca8cb90fa34e
Reviewed-on: https://gerrit.libreoffice.org/16624
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I86d2daec6dcbd6af3a8da1b8329417bae46c8079
Reviewed-on: https://gerrit.libreoffice.org/16623
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
See the comment 45 in the bug for the agreed design.
Change-Id: I428f339df48f530f606525434a4a2be8a79acaab
Reviewed-on: https://gerrit.libreoffice.org/16622
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Id545f3447472a8e6ee137a6630ee14b45a45d673
Reviewed-on: https://gerrit.libreoffice.org/16746
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I008622cb8178cb1c83f72e5919ebc1be0dd9a2d5
(cherry picked from commit 7976422efedb973c17d7af3f6fa69325c632a0d2)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
|
|
since
commit e8b97a52c96df9c8e8055407b1e40ed7cb9cfc67
Merge: 2b0be6c 0cde74f
Date: Tue Apr 28 11:41:31 2015 +0100
- bWaterDisabled = !(pTreeBox || aFmtLb.GetSelectionCount() <= 1);
- bWaterDisabled = (pTreeBox || aFmtLb->GetSelectionCount() <= 1) ? sal_False : sal_True;
++ bWaterDisabled = pTreeBox || aFmtLb->GetSelectionCount() <= 1;
Change-Id: I14d848b4527adf05eb05110b93369791134cbe6c
(cherry picked from commit 76837070c7c3eae1da50ff0de5e508be285e22c7)
|
|
(cherry-picked from 1ebe3004d6e9372ef5419d456b3c29059b539bc9)
Change-Id: I9ea9cf895f3d608bd3289c1847eea2f6d47a910c
Reviewed-on: https://gerrit.libreoffice.org/16521
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
|
|
In the paints, we must use the size of the Window for the computations, not of
the RenderContext - the RenderContext can be much bigger than the Window in
the double-buffering case.
Fixes for example the list boxes, and many others.
Change-Id: I4c7607569f88b2d097587140858d0862e54b5ea6
Reviewed-on: https://gerrit.libreoffice.org/16421
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
|
|
Change-Id: Ic03dc9e811df624ca492cd2688a30a1e07fe6496
Reviewed-on: https://gerrit.libreoffice.org/16414
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
|
|
Decouple the actual window from rendercontext in UserDrawEvent.
Change-Id: Ic440c4e7f59fcffb7800c578146e8eb528cbb7b4
|
|
Change-Id: I3f09808e43d379f473360f3746302a5d65fb8b38
Reviewed-on: https://gerrit.libreoffice.org/16356
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
|
|
Change-Id: I947033790476f982efd6a275831d2439b2859d8f
(cherry picked from commit ed4fe167a9705e714970ab5725aaae8854b1125b)
|
|
Change-Id: Ib32b299806851fd2df1fbe8a824c1fe49a4efd99
Reviewed-on: https://gerrit.libreoffice.org/16350
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
|
|
Change-Id: Ic46be8ac6da04663096e682d17faa214b324e8bf
(cherry picked from commit ff2dd7942e42476432c2db08da71d85be7a14075)
|
|
Change-Id: I9d4fc8e3edac699c8543ab9dce8d0e35bbf40e5b
(cherry picked from commit 9ef671364ff9fbb552a5433053af9283d12d90c7)
|
|
(cherry-picked from d505f1600d9aeb095405b9f62eaf444d5d399860)
Change-Id: I415ccb6132b802f62c93367a050242aee3c128b1
Reviewed-on: https://gerrit.libreoffice.org/16286
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: Idf1bfbac1adc083f6d697d19ca41110f765955e9
Reviewed-on: https://gerrit.libreoffice.org/16171
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 30c4467d6afe9bb0c720860613df934ed89a400b)
|
|
ClickHdl happens on the "down" of the click, not the
"up" of the click, so the up gets lost and control
isn't returned to the parent widget, so extra clicks
are needed to give control back to it
Change-Id: I79023d2959377ff70aa890690dde5ce852c9549e
(cherry picked from commit 6aee70ec9075b19fdbaccd10522552e3d1d4aeb0)
|
|
Icon imported from Adwaita (32x32/emblems/emblem-documents.png)
Change-Id: I4889644c5d253e1c9b722789336d911b7cdd8af9
(cherry picked from commit a37ed6710db041144f99df23d6229f2f156f87ff)
|
|
Change-Id: Iaea3121fbc4e826b5d1f76b052c21b4dcf18df70
|
|
Omit the plugin, and sw's FrameControlsManager for now.
Change-Id: Ifb98a2e6e03a9d099efc1668305b96bd9142ca5f
Reviewed-on: https://gerrit.libreoffice.org/16117
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
|
|
Change-Id: Ief014895facbc092913b3069ed04cace1e233ff0
(cherry picked from commit 8f99f936326342566067c849fbf27867825b81cf)
|
|
Change-Id: I62dd164e281911d9db3de453789a5badc7cd5fd7
Reviewed-on: https://gerrit.libreoffice.org/15954
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
|
|
Change-Id: Id283d185ab38427ce6887ead4e414055522e655c
|
|
… when these are in the same screen.
Change-Id: I4e162a485f4511ae3e008446d5712562562ed64f
(cherry picked from commit e96adee1feadb2ba6a6e4aba22cab34aeccc7a31)
|
|
Change-Id: Id85137ffc7309a66b04132d588d289db136117b9
Signed-off-by: Jan Holesovsky <kendy@collabora.com>
|