Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ieee5cb5792535185ef09c3775072ed739fb0e4b0
|
|
... so things actually work like intended and creation of caption objects
doesn't silently fail. Well, it does SAL_WARN or OSL_ENSURE but that's never
displayed unless a test fails.
Change-Id: Ibf4cc075cc3d6dadbe8f6208b2949310124b5749
|
|
Change-Id: Ie53837e4dd5f779255eac25e090b23e49c3786ce
|
|
... if it's not guaranteed they may not be identical.
Change-Id: Ieb4b0eb07a1b1832df65dde3c2e5a92b5121a162
|
|
... as the caption object has to be created after the note was pasted from a
clipboard where the caption was forgotten..
Change-Id: I9b04f0146a7609ac44973dc181fa2ab6b11295b9
|
|
Change-Id: I165363eecbb37561d8265638415e0f5f069878d7
|
|
Not creating if there wasn't.
Change-Id: I3e7a0d167e604b13674d24de18bd2bc7d3b36aa0
|
|
In preparation for being able to handle two documents.
Conflicts:
sc/qa/unit/ucalc.cxx
Change-Id: Ie7ea65136bcd6719031af6b1034d002058bfd81a
|
|
Change-Id: Ib49e0f35aa554025634c8496fbb80d87dbc86d89
|
|
Change-Id: I284292a2749c2b38ef874315d5b526e403d578e8
|
|
The old assert conditions don't hold anymore since removeFromDrawPageAndFree()
only deletes the SdrCaptionObj on the last refcount, but info can be useful.
Change-Id: I456149b8799a0509dcd7a2da09d627fb0de1a912
|
|
I guess this is about the first time ever that repeated Undo and Redo of
Cut&Paste of a cell comment does not crash..
Change-Id: I493a0a5439efde133a07d73ddcbcdf5bda4bc276
|
|
Change-Id: Id08d82751560092fd6225131970f607dbb2e4801
|
|
Change-Id: Id97d4d97c1d46ac6de6198515756a0786a54626e
|
|
Change-Id: I1ff14c573d556cad15513dfe3f0fecbf9107fa41
|
|
Change-Id: Ieab4bf36b89abac2d2ff377fc2b6f31ce0e1d3aa
|
|
... which better suits the general purpose we'll need
Change-Id: I32805c91d17180d5f18225a02c8a436826242e19
|
|
Change-Id: I174be1262074e1fed784806d2f052b36749dff0d
|
|
Change-Id: I8c186fa32d7fc3f26d7952268cb1e614025ecf37
|
|
There may be cases left still to be discovered where a setInUndo() is necessary
in some Undo situations, but this is a start.
Change-Id: Ic62267e3c3d24e4587343ff42da0292fbb166929
|
|
Change-Id: Iccc2671b61f524244107233b77b56aaa45f5c72a
|
|
In preparation of using that in the dtor.
Change-Id: I9a8713390c548e774c1e23cef201effe00a29be9
|
|
Change-Id: I4f98112c13dfcd5c6c2fdb5b682cca494d63a954
|
|
Change-Id: Ia9b1db652b2f15b66b89b51038d16fb0da6ffb6d
|
|
Draw Undo independently can reinsert a caption to the drawlayer, which
is beyond our knowledge. To track that cumbersome manual tracking (or
callbacks or whatever) would be needed, which actually this tries to get
rid of instead of increasing..
Change-Id: I373843ad61d0b6e19b9d3f98fd8f9e01a448296d
|
|
Change-Id: Iffa8f2bc7d0bb77d5145a569da2c03aefbb9de4a
|
|
Change-Id: Idf7bd4c80f9dc1fb9f93859e1e1106dd620d2311
Reviewed-on: https://gerrit.libreoffice.org/35511
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
|
|
Change-Id: Idf9e0b2600d503ff50cd6269e8d528c0fad12a3e
|
|
Change-Id: Iba6abafeaa2542fc94b76a642ddb0eb5b70b572d
|
|
Change-Id: Ibe073f071b120b61738b7e813a14824248f1fcfc
|
|
Change-Id: I5ad52c718cf53c2f3fb14a7970917e0012d01875
|
|
Change-Id: I98dafdf8e571e4745e05df6cbcbf00fd9ecd8ec6
|
|
Change-Id: I1266b55c2558d306b20b0f2d9fba07b0bc46544e
|
|
Change-Id: Ic44f4362762cb1c1fe027b69a78baf768c0a53da
|
|
Change-Id: Idcb7fc24a13d650d88bec9ba359d7c78006096ec
|
|
Conflicts:
sc/inc/postit.hxx
Change-Id: Ic429f5e177bb1a35857f00c6e13e5cbb34d46578
|
|
Change-Id: Ibf0afa1d6c582251a5a2e00f2d6d9c1f267bf746
|
|
So head can be destroyed already there and removeFromList() take a short cut.
Change-Id: I8f53d252c4e0ad867674ee410ecfaa300ac0c731
|
|
Change-Id: I9949a1006e6d1b4b50dd5350106ad69b643e833c
|
|
Change-Id: I0c286891454d290ec4373dbc37e31d65c22c746d
|
|
Change-Id: Iac606a8e5e4fc9beb019d95d2a05f0ab9d9dad34
|
|
Not only saves a pointer per list element, but future versions could
hold a document pointer and/or drawing layer's draw page as well.
Change-Id: I85e05981239223bec88c47f2ebe4c22e50cd9a0d
|
|
This should not change any existing behavior, but may help tracking down
what happens where and when. The final goal is to let ScCaptionPtr also
handle deletion of caption objects once they're unreferenced and guard
against dangling pointers and double delete, and/or to manage transfer
of ownership to the drawing layer. Further improvement to the structure
could involve a head data element so that the duplicated (and unused
except in head) mnRefs field could be eliminated and the walk simplified
when removing an element from the list.
Change-Id: Ifbb2fb1d9dc4d2594a1eae2a8489270dd1fe0d0c
Reviewed-on: https://gerrit.libreoffice.org/34616
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
|
|
Change-Id: Ibfcbeb0778d9000dad8097384d7f5c7d75be2252
Reviewed-on: https://gerrit.libreoffice.org/37152
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit aebdeb6541e2feea180f9f632e6a626c6ee14957)
Reviewed-on: https://gerrit.libreoffice.org/37153
|
|
The problem was that in case the document has shapes where the order
does not match the z-index order, so sorting is needed, then sorting
failed to take the multi-image feature into account. E.g. SVG images
have a PNG fallback, but at the end of the shape import the PNG
fallback is removed, which means the "actual" (not the "wished") z-index
of the shapes after the SVG image has to be adjusted.
Without this happening SvxDrawPage::getByIndex() (or in case of Writer,
SwTextBoxHelper::getByIndex()) will throw when the importer calls
getByIndex(3) but we only have 3 shapes. This results in not honoring
the z-index request of the remaining shapes.
Regression from commit 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70 (re-base
on ALv2 code. Includes (at least) relevant parts of:, 2012-10-09), from
the
Svg: Reintegrated Svg replacement from /branches/alg/svgreplavement
http://svn.apache.org/viewvc?view=revision&revision=1220836
part.
Reviewed-on: https://gerrit.libreoffice.org/36998
Tested-by: Jenkins <ci@libreoffice.org>
Conflicts:
sw/qa/extras/odfimport/odfimport.cxx
Change-Id: Ibe880e5c6c74b728b4a760498720ee31f052b726
|
|
Change-Id: I882c0bb8199191e1422f8751129004b23f45fcca
|
|
Reviewed-on: https://gerrit.libreoffice.org/36985
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit 8b2a287dacc4083c1cb3d6fba9ba41c5422beb12)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5194c6a20953eb66745539493a8782f089e25e2a
|
|
This setting is saved to doc model when document is saved eventually. We
should respect the user settings, and not play with it like this -
changing this setting to false unconditionally.
Originally, setting SetNotesMode to false was meant to prevent any kind
of in-tile note rendering in case of LOK when it is turned off. But
turns out this option is only for note indicator i.e the red button. We
already have a LOK in-tile rendering guard in ScDocFunc::ShowNote that
prevents popping drawinglayer note even if corresponding UNO command is
sent by the LOK client.
Change-Id: Id6c7b2cd30cdbefe7dacc2a701638b2488ab245d
Reviewed-on: https://gerrit.libreoffice.org/36993
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
|
|
... because it cannot rotate text.
(regression from commit df556aa47da22f96b3fcd356c12419d3035cba3c)
Change-Id: If9bc6e98b8979c5eb02f1a5cfc12b4d19bdc481b
(cherry picked from commit 2eb91035c2f60e9dc476336474d51b23b666bb04)
Reviewed-on: https://gerrit.libreoffice.org/36904
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 8f51b4272450b6220f563740538f143c0bc70175)
|
|
Change-Id: I1de9776e161161daf7349be304e05d5bb959f891
|