Age | Commit message (Collapse) | Author |
|
Otherwise I get sw/source/core/layout/anchoredobject.cxx:582:
<SwAnchoredObject::GetObjRectWithSpaces> - cache for object
rectangle inclusive spaces marked as valid, but it couldn't be.
Missing invalidation of cache. Please inform OD.
Change-Id: I3f315b15fca6e2480c11183269be5583e6aea123
Reviewed-on: https://gerrit.libreoffice.org/10977
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
If the anchor is valid, check if its page is valid too,
before moving anchors on view change.
Change-Id: Idffdfdb786cb29a105c06d652e6ad7315abfb4c5
Reviewed-on: https://gerrit.libreoffice.org/10976
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
Previously there was a restriction for the range to contain at
least two nodes.
Change-Id: Iadf21d3928303c2ab8df0d93dabd969ed1ff7e09
Reviewed-on: https://gerrit.libreoffice.org/10972
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
There is still a difference, if run mail merge throught one or
the other function (MM wizard or UNO).
Change-Id: Ia372bd3edea4c8dfb58e045fc8fed2efcb2a4fde
Reviewed-on: https://gerrit.libreoffice.org/10971
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
It turns out that document compare / merge and master document
insert file are all the callers of SwFindDocShell() so move the fix-up
there...
Change-Id: I912a464c3acab8d0adb7b5b659d62f629a15cb70
|
|
Change-Id: Ie21c61d718d720ec6bac741cd17e807123f47129
|
|
In commit 88a874fc "convert SfxItemState constants to a proper enum"
I made some mistakes in converting bitwise logic to boolean logic.
I fixed one of those places in commit 7ad83656 "fix bitwise->logic
conversion in SfxItemState commit"
This commit fixes the other places where I converted bitwise to normal
boolean logic. I also validated that none of the existing code tries to
uses combinations of these enum values.
This commit also introduces an exception-throwing check in the one place
where the enum is explicitly cast to make sure that no combinations
sneak in.
Change-Id: I545f7d17b76c4fd999078867caec314e83ffe165
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8
|
|
Change-Id: I64be7ca711dcd3ea7c4d5840a30f2f701d055e1b
|
|
For the temporary document there is no layout so SwTxtNode::MakeFrm()
isn't called.
(regression from 6db39dbd7378351f6476f6db25eb7110c9cfb291)
Change-Id: I711d32a81519edd6840cc29f5cd9dbc57ef21982
|
|
Just like the debug documents in SwDBManager::MergeDocuments.
Change-Id: I275575853c80d4e19d6df5ba9d8dc689353d7c85
Reviewed-on: https://gerrit.libreoffice.org/10970
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
This adds a lot of SAL_INFO messages to SwDoc::CreateCopy and
SwDoc::Append.
Change-Id: Ie924e20698bec84482fcc5496175a9e29245729e
Reviewed-on: https://gerrit.libreoffice.org/10969
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
This drops all the specialized, workaround code from MM, introduced
to use the SwFEShell::Paste function and additionally merges
and renames SwDoc::Paste into SwDoc::Append.
There is still a little common codepath, therefore this adds
comments to always update both functions.
Change-Id: I704b3ef3257dd977dac95e16e25049ff8ade97ed
Reviewed-on: https://gerrit.libreoffice.org/10967
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
Change-Id: Ide5705323579aa5ea1e725685acb7421f416cf04
|
|
There is really no need to create the first document via UNO
createClone(), which is also slower then the internal copy.
Actually createClone also calls createCopy, but without
initializing the document.
Change-Id: I2d1ee6e12e37caf1b0d9bfa393fb4240516628e9
Reviewed-on: https://gerrit.libreoffice.org/10966
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
Change-Id: I563f4530f2003ea3090cd15696ea53143f7b3aa6
|
|
Ideally all frames have an anchor point in the maFrames vector, as
provided by MSWordExportBase. If that's not the case, then we have no
idea what would be a valid anchor point: just export those as inline, as
we did before.
Change-Id: I81134d9fb8dc4ca166084964d277ac02ceccde7b
|
|
If the document is initialized in CreateCopy, it already contains
the initial empty paragraph. So we have to delete the content from
initial document, as we're going to replace the whole content with
the pasted document.
Change-Id: Ie6a64dcb070f7d611dfde97f2c1a721834b4167b
Reviewed-on: https://gerrit.libreoffice.org/10963
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
on releaseing mouse button
Change-Id: Ia2f8da6e62d708744707b8187d5961fe12169eb8
|
|
Change-Id: I31fb1a1f89030610a9d11b9236e8cde22dbc0ca5
Reviewed-on: https://gerrit.libreoffice.org/11332
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Reviewed on:
https://gerrit.libreoffice.org/11346
Change-Id: I8afc0ae1351b4c8bb25f864040b99832b1bed3c1
|
|
Change-Id: Id6eb50de48b8a674d7b48d1256b1529637155eb1
|
|
Change-Id: Ibbc48711e656a804a5ac6a5651091131bbf81c4f
|
|
A fly frame was attached to a para which started within a hint (run) containing an SDT.
This SDT was handled while exporting the FLYFRAME and also the text of the run.
So, eventhough the original file had only one sdt in the header, the RT file had two;
one for a seperate run as expected, and one incorrectly exported in the alternateContent (FLYFRAME)
So don't collect SDTPr from grabbag if the FLY is not processed.
As, the SDT will be handled when the run is exported.
Change-Id: I7b3c94208c171afbec54467fd6b756a6e30c816b
Reviewed-on: https://gerrit.libreoffice.org/11161
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: I8561aa1532a863bf7f8dd44fbd40e8e0187e4967
|
|
Change-Id: Ibccf8c5cf520b79da0914eccbebdbb68601dd0f1
Reviewed-on: https://gerrit.libreoffice.org/11314
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
avoids mucking with casts and allows more accurate typing
Change-Id: I968a2f7fcfa5534947102918125b095ca3b4a66c
Reviewed-on: https://gerrit.libreoffice.org/11313
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
Change-Id: I33879aa7724703745728128e59735e5d16aa2a57
|
|
Also note that I fixed a bug in SvxFontMenuControl::Notify
where the if statement had the check the wrong way around.
Change-Id: I611e8929c65818191e36bd80f2b985820ada4411
Reviewed-on: https://gerrit.libreoffice.org/11147
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
Regression from commit 41890bf714803969515578b47e63fa9730ea7090
(fdo#54473 fdo#57133 fix RTF import of character styles, 2012-12-04),
the problem was that the style undoing magic introduced in
1be0a3fa9ebb22b607c54b47739d4467acfed259 (n#825305: writerfilter RTF
import: override style properties like Word, 2014-06-17) was not used
for character styles.
Change-Id: Id31cfd5574a83bcf2895f0c2fd496fa60791cbb3
|
|
Change-Id: Iebcc89019dc5c482ab00743071002e2983e65469
|
|
Change-Id: Ic30441307eaa391868ffbb85a67d1c0327258084
|
|
Change-Id: I6b7a3b763ea3e2dc6d327c61668fa413fbc60a07
|
|
Change-Id: I981472a0b33c6f35f87d891fc7b70c92e621bf95
|
|
Change-Id: Iade7f5e174b74ea156c0e0bafc5c7c72e4b86dbd
|
|
Change-Id: I3728f29e6cb869b3b5e27afd2c1dcdf857fd96de
|
|
Change-Id: I9815ced0495f3066f8b6477794f33bbd77c613ca
|
|
Change-Id: I4763e1dfd3d674d36063bada83373a6e45c97303
|
|
Change-Id: Ic587040d62eb02cc2e1907eee2190e0af95d959d
|
|
Change-Id: I35738f09ec562815f74643a547505efb6d9a0bfe
|
|
Change-Id: I6e7d2c9861e9e004a48595d77b919c37409142f1
|
|
Directly access data member and switch from sal_uInt16 to size_t
Change-Id: I8544463dabc099aa94ae0281e636dbf7835c23b4
|
|
Change-Id: Id6697760f6037f3a11d5b72d1727e48fb3ec6b56
|
|
Change-Id: Ia5ed84488d14e6e779d62e9903c1350b703ad3c6
|
|
Change-Id: I3d4dc54f4178b5607dc75352696228410d08e38e
|
|
Change-Id: I51fe6e130006fdca547abe99a44117f710d1e776
|
|
Change-Id: I5b537bb863eafa9e508c7298c611b0d1c0145d77
|
|
Change-Id: I6c26cbf71214dbd307291fdbb63dd3af74a3a4e5
|
|
Change-Id: I2924f1f8c6ac0e82340293f92656541ffecbcf24
|
|
Change-Id: I7f1f587c39b9221363e90aea2cf7ed468ce5aac0
|