summaryrefslogtreecommitdiff
path: root/sw/inc/viewsh.hxx
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2025-01-22 20:36:03 +0100
committerLászló Németh <nemeth@numbertext.org>2025-01-23 17:28:07 +0100
commit2f135fa82c5d78ddafc14f38c0ee33358075b266 (patch)
tree69d7be4bc7375eaeb9779b4591f32b4a29312b9f /sw/inc/viewsh.hxx
parent333484e34418a3e33633d231d3e3386d79911486 (diff)
tdf#121119 master docs at-page anchor: fix missing images
Images and other objects anchored at pages weren't imported from the subdocuments, resulting broken master document. Subdocuments are imported as sections of the master document, but their objects anchored at page need a document-level copy, not a section one. To calculate the new document-level page number of the copied object, store and sum the page count meta data of the previous subdocuments, added to the subdocument- level page number of the object. Note: the recent solution doesn't calculate with the own text content of the master document yet. As a workaround, to get the original page number exactly, store everything in subdocuments before the objects anchored at page. The problem is inherited from OpenOffice.org, see ooo#19131. Change-Id: I0be80bb27442565764142d2b23b0f56a3421c035 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180626 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/inc/viewsh.hxx')
0 files changed, 0 insertions, 0 deletions