office-gobmx/sw/inc
Vasily Melenchuk 7459b9ecb5 tdf#116883: sw: support for lists level format string
Multilevel lists are more flexible in case of DOCX. There is
supported custom format for any level in DOCX unlike in LO
and ODT where we are limited only with prefix and suffix
for hardcoded list levels separated by dot. At the same time
DOCX can have lists not only "1.2.3.4", but "1/2/3/4" or even
"1!2>3)4" and such format can vary on each list level.

Here is basic implementation for list format as a core feature
for all documents and old way (prefix-suffix + ".") is left
as fallback.

Practically its usage is currently implemented only in DOCX
import/export.

Some RTF/OOXML unittests were redesigned: since we are not creating
prefix/suffix for these formats conditions should be checked in
a different way.

Change-Id: I1ec58bcc5874d4fa19aee6a1f42bf1671d853b14
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92106
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-04-27 22:36:12 +02:00
..
pch update pches 2020-04-26 15:34:06 +02:00
AccessibilityCheckStrings.hrc
accessibilityoptions.hxx
accmap.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
acmplwrd.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
anchoreddrawobject.hxx
anchoredobject.hxx
AnnotationWin.hxx
app.hrc
authfld.hxx comparison operators should be const 2020-03-12 11:05:36 +01:00
authratr.hxx
bitmaps.hlst
bparr.hxx
breakit.hxx
calbck.hxx loplugin:buriedassign in sw(1) 2020-04-17 13:03:38 +02:00
calc.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
ccoll.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
cellatr.hxx
cellfml.hxx
charatr.hxx
charfmt.hxx
checkit.hxx
chpfld.hxx
cmdid.h tdf#124686 HideWhiteSpace should be positive Show Whitespace 2020-03-30 09:36:37 +02:00
cnttab.hrc
colwd.hxx
comcore.hxx
crsrsh.hxx
crstate.hxx Fix typo 2020-04-26 15:39:08 +02:00
cshtyp.hxx
dbfld.hxx
dbgoutsw.hxx
dbmgr.hxx
dbui.hrc
dcontact.hxx
ddefld.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
dlelstnr.hxx
dobjfac.hxx
doc.hxx pass SvxBrushItem around by unique_ptr 2020-04-23 19:49:43 +02:00
docary.hxx
docfac.hxx
docfunc.hxx
docsh.hxx CreateDocumentInfoDialog should return shared_ptr 2020-04-21 07:50:54 +02:00
docstat.hxx
docstyle.hxx
docufld.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
dpage.hxx
drawdoc.hxx
edglbldc.hxx
edimp.hxx
editsh.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
EnhancedPDFExportHelper.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
error.hrc
expfld.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
extinput.hxx
fchrfmt.hxx
fesh.hxx pass SvxBrushItem around by unique_ptr 2020-04-23 19:49:43 +02:00
finalthreadmanager.hxx
fldbas.hxx SwDoc::RemoveInvisibleContent(): SwIterator no more ... 2020-03-15 02:20:16 +01: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 SwDoc::RemoveInvisibleContent(): SwIterator no more ... 2020-03-15 02:20:16 +01:00
fmtfollowtextflow.hxx
fmtfordr.hxx
fmtfsize.hxx
fmtftn.hxx
fmtftntx.hxx
fmthdft.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
fmtinfmt.hxx
fmtline.hxx
fmtlsplt.hxx
fmtmeta.hxx
fmtornt.hxx
fmtpdsc.hxx
fmtrfmrk.hxx
fmtrowsplt.hxx
fmtruby.hxx
fmtsrnd.hxx
fmturl.hxx
fmtwrapinfluenceonobjpos.hxx
format.hxx pass SvxBrushItem around by unique_ptr 2020-04-23 19:49:43 +02:00
frameformats.hxx
frmatr.hxx
frmfmt.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
ftnidx.hxx
ftninfo.hxx
globals.hrc
globdoc.hxx
gotodlg.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
grfatr.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
HandleAnchorNodeChg.hxx
helpids.h
hfspacingitem.hxx
hhcwrp.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
hintids.hxx Turn defines into constexprs 2020-04-03 10:22:34 +02:00
hints.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
htmltbl.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
IDocumentChartDataProviderAccess.hxx
IDocumentContentOperations.hxx
IDocumentDeviceAccess.hxx
IDocumentDrawModelAccess.hxx
IDocumentExternalData.hxx
IDocumentFieldsAccess.hxx
IDocumentLayoutAccess.hxx
IDocumentLinksAdministration.hxx
IDocumentListItems.hxx
IDocumentListsAccess.hxx
IDocumentMarkAccess.hxx
IDocumentOutlineNodes.hxx
IDocumentRedlineAccess.hxx
IDocumentSettingAccess.hxx
IDocumentState.hxx
IDocumentStatistics.hxx
IDocumentStylePoolAccess.hxx
IDocumentTimerAccess.hxx
IDocumentUndoRedo.hxx
IGrammarContact.hxx
IMark.hxx
index.hxx
init.hxx
iodetect.hxx
IShellCursorSupplier.hxx
istyleaccess.hxx
itabenum.hxx
legacyitem.hxx
lineinfo.hxx
linkenum.hxx
list.hxx
mdiexp.hxx
mmaddressblockpage.hrc
modcfg.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
modeltoviewhelper.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
ndarr.hxx Translate German variable names 2020-03-31 15:34:01 +02:00
ndgrf.hxx convert enum to scoped in SvBaseLink 2020-03-31 09:34:38 +02:00
ndhints.hxx
ndindex.hxx
ndnotxt.hxx
ndole.hxx
ndtxt.hxx
ndtyp.hxx
node.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
numrule.hxx
optload.hrc
outline.hrc
PageColumnPopup.hxx
pagedesc.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
pageformatpanel.hrc
PageMarginPopup.hxx
PageOrientationPopup.hxx
pagepreviewlayout.hxx
PageSizePopup.hxx
pam.hxx
paratr.hxx
pausethreadstarting.hxx
poolfmt.awk
poolfmt.hxx tdf#39674 Translate some German variable names 2020-03-23 14:04:14 +01:00
postithelper.hxx
PostItMgr.hxx
printdata.hxx
proofreadingiterator.hxx
prtopt.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
pvprtdat.hxx
rcid.hrc
rdfhelper.hxx
redline.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
reffld.hxx
ring.hxx
rubylist.hxx
section.hxx convert enum to scoped in SvBaseLink 2020-03-31 09:34:38 +02:00
shellid.hxx
shellio.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
shellres.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
SidebarWindowsTypes.hxx
sortopt.hxx
splargs.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
strings.hrc weld writer navigator 2020-03-24 11:00:50 +01:00
sw_primitivetypes2d.hxx
swabstdlg.hxx
swacorr.hxx
SwAppletImpl.hxx
swatrset.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
swbaslnk.hxx
swcalwrp.hxx
SwCapObjType.hxx
swcli.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
swcommands.h
swcrsr.hxx Translate German variable names 2020-03-31 15:32:46 +02:00
swdbdata.hxx
swddetbl.hxx
swdll.hxx
swdllapi.h
SwDocIdle.hxx
swerror.h
swevent.hxx
swfltopt.hxx
SwGetPoolIdFromName.hxx
swmodule.hxx
SwNodeNum.hxx
SwNumberTree.hxx
SwNumberTreeTypes.hxx
swrect.hxx remove direct access to Size field on SwRect 2020-04-20 10:17:51 +02:00
swregion.hxx
SwRewriter.hxx
swscanner.hxx Translate German variable names 2020-03-31 15:36:10 +02:00
swserv.hxx
SwSmartTagMgr.hxx
SwStyleNameMapper.hxx
swtable.hxx
swtblfmt.hxx
swtypes.hxx
swundo.hxx
SwUndoField.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
swunohelper.hxx
swurl.hxx
swwait.hxx
SwXMLSectionList.hxx
tabcol.hxx
tblafmt.hxx comparison operators should be const 2020-03-12 11:05:36 +01:00
tblenum.hxx
tblsel.hxx Fix is_typed_flags for SwTableSearchType (sw/tblsel) 2020-03-29 14:19:51 +02:00
textboxhelper.hxx
TextCursorHelper.hxx
tgrditem.hxx
tox.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
toxe.hxx
ToxLinkProcessor.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
ToxTabStopTokenHandler.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
ToxTextGenerator.hxx
ToxWhitespaceStripper.hxx
toxwrap.hxx
txatbase.hxx
txatritr.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
txtannotationfld.hxx
txtatr.hxx
txtflcnt.hxx
txtfld.hxx
txtftn.hxx
txtinet.hxx
txtrfmrk.hxx
txttxmrk.hxx
undobj.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
UndoParagraphSignature.hxx
unobaseclass.hxx
unochart.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
unocoll.hxx
unocrsr.hxx
unocrsrhelper.hxx
unodraw.hxx
unofieldcoll.hxx
unoframe.hxx
unoidxcoll.hxx
unomap.hxx ofz#21168 sw,writerfilter: limit writerfilter hack to writerfilter 2020-03-24 20:32:16 +01:00
unomid.h
unoparagraph.hxx
unoprnms.hxx tdf#116883: sw: support for lists level format string 2020-04-27 22:36:12 +02:00
unoredline.hxx
unoredlines.hxx
unosett.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
unosrch.hxx
unostyle.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
unotbl.hxx
unotext.hxx
unotextbodyhf.hxx
unotextcursor.hxx
unotextrange.hxx
unotxdoc.hxx Revert "loplugin:constfields in sw" 2020-03-13 15:41:42 +01:00
usrfld.hxx
utlui.hrc
view.hxx
viewopt.hxx convert SwFillMode to scoped enum 2020-04-24 14:18:23 +02:00
viewsh.hxx
viscrs.hxx
wdocsh.hxx