office-gobmx/sw/inc
Miklos Vajna 4814e8caa5 tdf#124601 sw: add ContinuousEndnotes layout compat option
Writer has two cases for laying out endnotes: either they are at the end
of the section or are on a separate endnote page at the end of the
document.

Word always puts endnotes as continuous content at the end of the
document, not on a separate page.

Given that this continuous / separate page behavior difference seems to
be not part of the ODF or OOXML file format and neither UI allows to
configure this, the best way to resolve this looks like a new layout
compat option.

At a layout level, the "endnotes at the end of the section" code is
close to what we need, we just need to make sure that:

1) Endnotes are never moved backwards, even if their reference moves
back.

2) When appending an endnote, they should go to the footnote container
on the last page, not close to their reference.

With this, the page number in Word and Writer now match for the bugdoc.

Change-Id: I6fd0ee191e001d7c3a6df46d5e9fe8d7eb0327dc
Reviewed-on: https://gerrit.libreoffice.org/79857
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2019-09-30 21:49:33 +02:00
..
pch drop unnecessary includes and update pch 2019-09-26 09:55:44 +02:00
accessibilityoptions.hxx
accmap.hxx
acmplwrd.hxx
anchoreddrawobject.hxx loplugin:returnconstval in sw 2019-08-24 22:12:02 +02:00
anchoredobject.hxx loplugin:returnconstval in sw 2019-08-24 22:12:02 +02:00
AnnotationWin.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
app.hrc
authfld.hxx
authratr.hxx
bitmaps.hlst
bparr.hxx Fix typos 2019-09-10 14:18:14 +02:00
breakit.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
calbck.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
calc.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
ccoll.hxx
cellatr.hxx
cellfml.hxx
charatr.hxx
charfmt.hxx
checkit.hxx
chpfld.hxx
cmdid.h tdf#64222 sw: better DOCX import/export of paragraph marker formatting 2019-09-17 10:45:40 +02:00
cnttab.hrc
colwd.hxx
comcore.hxx
crsrsh.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
crstate.hxx
cshtyp.hxx
dbfld.hxx
dbgoutsw.hxx
dbmgr.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
dbui.hrc
dcontact.hxx loplugin:returnconstval in svx 2019-08-23 19:35:04 +02:00
ddefld.hxx
dlelstnr.hxx
dobjfac.hxx
doc.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
docary.hxx
docfac.hxx
docfunc.hxx
docsh.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
docstat.hxx
docstyle.hxx
docufld.hxx convert SwFieldTypesEnum to scoped enum 2019-09-20 18:21:50 +02:00
dpage.hxx
drawdoc.hxx
edglbldc.hxx
edimp.hxx
editsh.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
EnhancedPDFExportHelper.hxx
error.hrc
expfld.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
extinput.hxx
fchrfmt.hxx
fesh.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
finalthreadmanager.hxx improve and enable loplugin:fragiledestructor 2019-09-19 11:42:47 +02:00
fldbas.hxx convert SwFieldTypesEnum to scoped enum 2019-09-20 18:21:50 +02:00
flddat.hxx
flddinf.hrc
flddropdown.hxx
fldref.hrc
fldupde.hxx
flyenum.hxx
flypos.hxx
fmtanchr.hxx
fmtautofmt.hxx
fmtclbl.hxx
fmtclds.hxx
fmtcnct.hxx
fmtcntnt.hxx
fmtcol.hxx
fmtcolfunc.hxx
fmteiro.hxx
fmtflcnt.hxx
fmtfld.hxx
fmtfollowtextflow.hxx
fmtfordr.hxx
fmtfsize.hxx
fmtftn.hxx
fmtftntx.hxx
fmthdft.hxx
fmtinfmt.hxx
fmtline.hxx sw: prefix members of SwFormatLineNumber and SwFormatSurround 2019-09-23 10:58:41 +02:00
fmtlsplt.hxx
fmtmeta.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
fmtornt.hxx
fmtpdsc.hxx
fmtrfmrk.hxx
fmtrowsplt.hxx
fmtruby.hxx
fmtsrnd.hxx sw: prefix members of SwFormatLineNumber and SwFormatSurround 2019-09-23 10:58:41 +02:00
fmturl.hxx
fmtwrapinfluenceonobjpos.hxx Related: tdf#124600 sw anchored object allow overlap: add DOCX filter 2019-09-20 12:42:17 +02:00
format.hxx
frmatr.hxx
frmfmt.hxx
ftnidx.hxx
ftninfo.hxx
globals.hrc
globdoc.hxx
gotodlg.hxx
grfatr.hxx sw: prefix members of SwGammaGrf 2019-09-30 09:58:32 +02:00
HandleAnchorNodeChg.hxx
helpids.h
hfspacingitem.hxx
hhcwrp.hxx
hintids.hxx tdf#64222 sw: better DOCX import/export of paragraph marker formatting 2019-09-17 10:45:40 +02:00
hints.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
htmltbl.hxx
IDocumentChartDataProviderAccess.hxx
IDocumentContentOperations.hxx
IDocumentDeviceAccess.hxx IDocumentDeviceAccess::setPrinter has no return value 2019-08-21 15:02:33 +02:00
IDocumentDrawModelAccess.hxx
IDocumentExternalData.hxx
IDocumentFieldsAccess.hxx
IDocumentLayoutAccess.hxx
IDocumentLinksAdministration.hxx
IDocumentListItems.hxx
IDocumentListsAccess.hxx
IDocumentMarkAccess.hxx new loplugin:noexceptmove 2019-08-30 08:12:07 +02:00
IDocumentOutlineNodes.hxx
IDocumentRedlineAccess.hxx
IDocumentSettingAccess.hxx tdf#124601 sw: add ContinuousEndnotes layout compat option 2019-09-30 21:49:33 +02:00
IDocumentState.hxx loplugin:virtualdead in sw 2019-09-26 14:05:52 +02:00
IDocumentStatistics.hxx
IDocumentStylePoolAccess.hxx
IDocumentTimerAccess.hxx
IDocumentUndoRedo.hxx
IGrammarContact.hxx
IMark.hxx
index.hxx
init.hxx
iodetect.hxx loplugin:returnconstval in sw 2019-08-24 22:12:02 +02:00
IShellCursorSupplier.hxx
istyleaccess.hxx
itabenum.hxx
legacyitem.hxx
lineinfo.hxx
linkenum.hxx
list.hxx tdf#95848 sw: DOCX export: crude implementation of abstractNum mapping 2019-09-05 10:18:12 +02:00
mdiexp.hxx
mmaddressblockpage.hrc
modcfg.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
modeltoviewhelper.hxx
ndarr.hxx
ndgrf.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
ndhints.hxx The argument of SwpHints::Insert should not be const 2019-09-30 17:01:56 +02:00
ndindex.hxx tdf#127605 DOCX export: fix internal hyperlinks to image target 2019-09-23 13:12:41 +02:00
ndnotxt.hxx
ndole.hxx
ndtxt.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
ndtyp.hxx
node.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
numrule.hxx
optload.hrc
outline.hrc
PageColumnPopup.hxx
pagedesc.hxx
pageformatpanel.hrc
PageMarginPopup.hxx
PageOrientationPopup.hxx
pagepreviewlayout.hxx
PageSizePopup.hxx
pam.hxx
paratr.hxx
pausethreadstarting.hxx
poolfmt.awk
poolfmt.hxx
postithelper.hxx
PostItMgr.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
printdata.hxx
proofreadingiterator.hxx
prtopt.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
pvprtdat.hxx
rcid.hrc
rdfhelper.hxx
redline.hxx tdf#127101 Change tracking: fix format reject at paragraph join 2019-08-23 11:27:06 +02:00
reffld.hxx
ring.hxx
rubylist.hxx
section.hxx improve and enable loplugin:fragiledestructor 2019-09-19 11:42:47 +02:00
shellid.hxx
shellio.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
shellres.hxx
SidebarWindowsTypes.hxx
sortopt.hxx
splargs.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
strings.hrc Make resolved comments appear resolved when printed 2019-09-30 07:07:34 +02:00
sw_primitivetypes2d.hxx
swabstdlg.hxx weld SwDBTablePreviewDialog and SwMailMergeDlg 2019-09-20 21:23:45 +02:00
swacorr.hxx
SwAppletImpl.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
swatrset.hxx
swbaslnk.hxx
swcalwrp.hxx
SwCapObjType.hxx
swcli.hxx
swcommands.h
swcrsr.hxx
swdbdata.hxx
swddetbl.hxx
swdll.hxx
swdllapi.h
SwDocIdle.hxx
swerror.h
swevent.hxx
swfltopt.hxx
SwGetPoolIdFromName.hxx
swmodule.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
SwNodeNum.hxx
SwNumberTree.hxx
SwNumberTreeTypes.hxx
swrect.hxx Improve SwRect (debug) printing 2019-09-23 16:04:00 +02:00
swregion.hxx
SwRewriter.hxx
swscanner.hxx
swserv.hxx
SwSmartTagMgr.hxx
SwStyleNameMapper.hxx loplugin:returnconstval in sw 2019-08-24 22:12:02 +02:00
swtable.hxx
swtblfmt.hxx
swtypes.hxx
swundo.hxx
SwUndoField.hxx
swunohelper.hxx
swurl.hxx
swwait.hxx
SwXMLSectionList.hxx
tabcol.hxx
tblafmt.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
tblenum.hxx
tblsel.hxx
textboxhelper.hxx
TextCursorHelper.hxx
tgrditem.hxx
tox.hxx SwXDocumentIndexMark::Impl: MultiWriterListener no more 2019-09-22 00:15:09 +02:00
toxe.hxx
ToxLinkProcessor.hxx
ToxTabStopTokenHandler.hxx
ToxTextGenerator.hxx
ToxWhitespaceStripper.hxx
toxwrap.hxx
txatbase.hxx
txatritr.hxx
txtannotationfld.hxx
txtatr.hxx
txtflcnt.hxx
txtfld.hxx loplugin:returnconstval in sw 2019-08-24 22:12:02 +02:00
txtftn.hxx
txtinet.hxx
txtrfmrk.hxx
txttxmrk.hxx
undobj.hxx sw: prefix members of SwUndoSaveSection 2019-09-16 09:45:04 +02:00
UndoParagraphSignature.hxx
unobaseclass.hxx UnoBaseClass: remove remaining leftover SwClient bits 2019-09-23 15:51:25 +02:00
unochart.hxx
unocoll.hxx
unocrsr.hxx
unocrsrhelper.hxx
unodraw.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
unofieldcoll.hxx
unoframe.hxx SwXFrame: SwClient no more 2019-09-23 10:44:16 +02:00
unoidxcoll.hxx
unomap.hxx dont define PROPERTY_NONE multiple times 2019-09-16 13:00:38 +02:00
unomid.h Related: tdf#124600 sw anchored object allow overlap: add UNO API 2019-09-19 13:41:50 +02:00
unoparagraph.hxx
unoprnms.hxx Related: tdf#124600 sw anchored object allow overlap: add UNO API 2019-09-19 13:41:50 +02:00
unoredline.hxx
unoredlines.hxx
unosett.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
unosrch.hxx
unostyle.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
unotbl.hxx
unotext.hxx
unotextbodyhf.hxx
unotextcursor.hxx
unotextrange.hxx
unotxdoc.hxx
usrfld.hxx
utlui.hrc
view.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
viewopt.hxx
viewsh.hxx loplugin:constmethod in sw 2019-09-28 11:28:41 +02:00
viscrs.hxx tdf#105330 sw: fix lost cursor on undoing nested table insert 2019-09-17 08:57:15 +02:00
wdocsh.hxx