office-gobmx/include/svx
Tomaž Vajngerl f61ea13543 editeng: use text scaling that better mimics MSO text scaling
Implement text scaling algorithm that is similar to MSO text
scaling for text boxes for the compatibility purpuse, so that the
Impress slides better match how the PP slides are layed out.

This also moves the implementation into EditEng, where it is
possible to better control how searching for the best scaling
factor is performed without doing additional irrelevant work or
trigger invalidations that should not be triggered.

An additional change is that the paragraph with no content at the
end are ignored, and are not taken into account when determining
the height of the content. This is done for compatibility reasons.

Fix horizontal spacing of tabs - the spacing shouldn't be scaled
and the tab shouldn't include the space at the beginning of the
line.

Change-Id: Ie37fa67f1cf300e915a4ebaef2a7f968bf6c5744
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165441
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-04-03 04:06:50 +02:00
..
diagram use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
dialog use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
sdr ITEM: Remove InvalidateAllItems() 2024-03-21 21:39:57 +01:00
sidebar tdf#159865 Revert "tdf#136905 NBB: let ValueSetWithTextControl set optimal" 2024-02-26 18:55:51 +01:00
theme cool#8327 use tools::JsonWriter for theme colors 2024-03-04 11:50:45 +01:00
unodraw use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
AccessibleControlShape.hxx
AccessibleGraphicShape.hxx
AccessibleOLEShape.hxx
AccessibleShape.hxx
AccessibleShapeInfo.hxx
AccessibleShapeTreeInfo.hxx
AccessibleTextHelper.hxx
ActionDescriptionProvider.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
algitem.hxx
anchorid.hxx
autoformathelper.hxx
bmpmask.hxx
camera3d.hxx
charmap.hxx UBSan RTTI fixes 2024-02-22 06:59:23 +01:00
charthelper.hxx
ChildrenManager.hxx
chrtitem.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
ClassificationCommon.hxx
ClassificationDialog.hxx
ClassificationField.hxx
clipboardctl.hxx
clipfmtitem.hxx
colorbox.hxx
ColorSets.hxx
colorwindow.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
CommonStyleManager.hxx
compatflags.hxx
compressgraphicdialog.hxx
connctrl.hxx
constructhelper.hxx
contdlg.hxx
ctredlin.hxx
cube3d.hxx hide more symbols 2024-02-19 09:09:06 +01:00
cuicharmap.hxx move CharMap out of cui 2024-01-31 20:52:19 +01:00
dataaccessdescriptor.hxx
databaselocationinput.hxx
databaseregistrationui.hxx
dbaexchange.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
dbaobjectex.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
def3d.hxx
deflt3d.hxx svx: prefix members of E3dDefaultAttributes 2024-01-15 09:34:25 +01:00
dialcontrol.hxx
dialmgr.hxx
dialogs.hrc
dlgctl3d.hxx Resolves: tdf#159879 Crash when closing "3D View" dialog 2024-03-03 14:49:35 +01:00
dlgctrl.hxx
dlgutil.hxx Resolves tdf#158531 - Connector lines for Keep Ratio setting 2024-02-12 12:56:05 +01:00
DocumentColorHelper.hxx make these inlines non-static 2024-01-24 12:56:28 +01:00
drawitem.hxx
e3ditem.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
e3dsceneupdater.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
e3dundo.hxx
EnhancedCustomShape2d.hxx
EnhancedCustomShapeFunctionParser.hxx
EnhancedCustomShapeGeometry.hxx
EnhancedCustomShapeTypeNames.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
extedit.hxx
extrusionbar.hxx
f3dchild.hxx
FileExportedDialog.hxx
fillctrl.hxx
flagsdef.hxx tdf#38231 - Change default example date value to 1999-12-01 2024-01-22 20:13:59 +01:00
float3d.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
fmdmod.hxx
fmgridcl.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
fmgridif.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
fmmodel.hxx
fmobjfac.hxx
fmpage.hxx
fmsearch.hxx
fmshell.hxx
fmsrccfg.hxx
fmsrcimp.hxx
fmtools.hxx
fmview.hxx
fntctrl.hxx
fontwork.hxx
fontworkbar.hxx
fontworkgallery.hxx tdf#90242 Navigator: Improve custom shape naming 2024-03-10 02:43:41 +01:00
formatpaintbrushctrl.hxx
framebordertype.hxx
framelink.hxx
framelinkarray.hxx
frmdirlbox.hxx
frmsel.hxx
galctrl.hxx tdf#81880 Search the Gallery 2024-03-11 14:39:18 +01:00
gallery.hxx
gallery1.hxx
galleryitem.hxx
galleryobjectcollection.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
galmisc.hxx simplify SotTempStream and lifetime 2024-04-02 07:53:43 +02:00
galtheme.hxx simplify SotTempStream and lifetime 2024-04-02 07:53:43 +02:00
GenericCheckDialog.hxx
grafctrl.hxx
graphctl.hxx UBSan RTTI fixes 2024-02-22 10:40:33 +01:00
graphichelper.hxx
grfcrop.hxx
grfflt.hxx cid#1588086 COPY_INSTEAD_OF_MOVE 2024-01-28 22:14:43 +01:00
gridctrl.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
hdft.hxx
helperhittest3d.hxx
hexcolorcontrol.hxx
hlnkitem.hxx
hyperdlg.hxx
IAccessibleParent.hxx
IAccessibleViewForwarder.hxx
IAccessibleViewForwarderListener.hxx
ifaceids.hxx
ImageMapInfo.hxx
imapdlg.hxx
insctrl.hxx
ipolypolygoneditorcontroller.hxx
itemwin.hxx
itextprovider.hxx
labelitemwindow.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
langbox.hxx
lathe3d.hxx hide more symbols 2024-02-19 09:09:06 +01:00
linectrl.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
linkwarn.hxx
measctrl.hxx
MediaShellHelpers.hxx
modctrl.hxx
msdffdef.hxx
nbdtmg.hxx
nbdtmgfact.hxx
numberingpreview.hxx move SvxNumberingPreview out of cui 2024-01-31 10:33:37 +01:00
numfmtsh.hxx
numinf.hxx loplugin:unusedmethods 2024-03-17 13:06:48 +01:00
numvset.hxx
obj3d.hxx
objfac3d.hxx
ofaitem.hxx
optgenrl.hxx
optgrid.hxx
pagectrl.hxx
pageitem.hxx
pagenumberlistbox.hxx
Palette.hxx
PaletteManager.hxx cool#8327 use tools::JsonWriter for theme colors 2024-03-04 11:50:45 +01:00
papersizelistbox.hxx
paraprev.hxx
ParaSpacingControl.hxx
ParseContext.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
passwd.hxx
polypolygoneditor.hxx
postattr.hxx
pszctrl.hxx
RectangleAlignmentItem.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
rectenum.hxx
relfld.hxx tdf#159662 Add table alignment and left/right spacing to sidebar in Writer 2024-02-12 18:17:18 +01:00
rotmodit.hxx
rubydialog.hxx
ruler.hxx
rulritem.hxx
samecontentlistbox.hxx
scene3d.hxx
sdangitm.hxx
sdasitm.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
sderitm.hxx
sdgcpitm.hxx
sdggaitm.hxx reduce symbol visibility in svx 2024-03-24 13:41:01 +01:00
sdgluitm.hxx
sdgmoitm.hxx reduce symbol visibility in svx 2024-03-24 13:41:01 +01:00
sdmetitm.hxx
sdooitm.hxx
sdprcitm.hxx
sdrhittesthelper.hxx
sdrmasterpagedescriptor.hxx tdf#159931: pptx export: export each used slide layout for a master 2024-03-07 15:07:27 +01:00
sdrobjectfilter.hxx
sdrobjectuser.hxx
sdrpageuser.hxx tdf#159931: pptx export: export each used slide layout for a master 2024-03-07 15:07:27 +01:00
sdrpagewindow.hxx
sdrpaintwindow.hxx
sdrundomanager.hxx
sdshcitm.hxx
sdshitm.hxx
sdshtitm.hxx
sdsxyitm.hxx
sdtaaitm.hxx
sdtacitm.hxx
sdtaditm.hxx
sdtagitm.hxx
sdtaiitm.hxx
sdtaitm.hxx
sdtakitm.hxx
sdtayitm.hxx
sdtcfitm.hxx
sdtditm.hxx
sdtfchim.hxx
sdtfsitm.hxx svx: read font and spacing scaling from oox, add bot as UNO prop. 2024-04-03 04:06:39 +02:00
sdtmfitm.hxx
sdynitm.hxx
searchcharmap.hxx
selctrl.hxx
selectioncontroller.hxx Clone Formatting in Impress: Include list attribute 2024-02-09 00:05:39 +01:00
ShapeTypeHandler.hxx
signaturelinehelper.hxx
SmartTagItem.hxx
SmartTagMgr.hxx
spacinglistbox.hxx
SpellDialogChildWindow.hxx
sphere3d.hxx hide more symbols 2024-02-19 09:09:06 +01:00
srchdlg.hxx ITEM: Use SfxPoolItemHolder in SvxSearchDialog 2024-03-26 14:48:17 +01:00
statusitem.hxx
strarray.hxx
strings.hrc tdf#94535 Change "Fontwork" to "Text along Path" 2024-03-01 11:49:46 +01:00
svdcrtv.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
svddef.hxx
svddrag.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
svddrgmt.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
svddrgv.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
svdedtv.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
svdedxv.hxx IASS: Update edited Text in other Views 2024-02-29 23:23:04 +01:00
svdetc.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
svdgeodata.hxx
svdglev.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
svdglue.hxx reduce symbol visibility in svx 2024-03-24 13:41:01 +01:00
svdhdl.hxx reduce symbol visibility in svx 2024-03-24 13:41:01 +01:00
svdhlpln.hxx svx: prefix members of SdrHelpLineList 2024-02-12 10:34:34 +01:00
svditer.hxx reduce symbol visibility in svx 2024-03-18 07:05:35 +01:00
svdlayer.hxx reduce symbol visibility in svx 2024-03-24 13:41:01 +01:00
svdmark.hxx reduce symbol visibility in svx 2024-03-24 13:41:01 +01:00
svdmodel.hxx
svdmrkv.hxx reduce symbol visibility in svx 2024-03-24 13:41:01 +01:00
svdoashp.hxx
svdoattr.hxx reduce symbol visibility in svx 2024-03-18 07:05:35 +01:00
svdobj.hxx
svdobjkind.hxx
svdocapt.hxx reduce symbol visibility in svx 2024-03-18 07:05:35 +01:00
svdocirc.hxx reduce symbol visibility in svx 2024-03-18 07:05:35 +01:00
svdoedge.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
svdograf.hxx reduce symbol visibility in svx 2024-03-24 13:41:01 +01:00
svdogrp.hxx
svdomeas.hxx reduce symbol visibility in svx 2024-03-28 08:41:30 +01:00
svdomedia.hxx reduce symbol visibility in svx 2024-03-28 08:41:30 +01:00
svdoole2.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
svdopage.hxx
svdopath.hxx
svdorect.hxx
svdotable.hxx
svdotext.hxx editeng: use text scaling that better mimics MSO text scaling 2024-04-03 04:06:50 +02:00
svdouno.hxx
svdoutl.hxx
svdovirt.hxx
svdpage.hxx reduce symbol visibility in svx 2024-03-18 07:05:35 +01:00
svdpagv.hxx cool#7769 Reduce unnecessary invalidations on calc save 2024-01-19 12:59:41 +01:00
svdpntv.hxx
svdpoev.hxx
svdpool.hxx reduce symbol visibility in svx 2024-03-24 13:41:01 +01:00
svdsnpv.hxx
svdsob.hxx
svdtext.hxx
svdtrans.hxx
svdtypes.hxx
svdundo.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
svdview.hxx
svdviter.hxx
svdxcgv.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
svx3ditems.hxx tdf#159874: Inspection of 3D object in Dev Tools crashes LO (take 2) 2024-02-28 10:55:45 +01:00
SvxColorChildWindow.hxx
SvxColorValueSet.hxx
svxdlg.hxx tdf#159128 UI: Open Security settings option directly 2024-01-24 09:06:39 +01:00
svxdllapi.h
svxerr.hxx
svxgraphicitem.hxx
svxids.hrc Resolves: tdf#149409 enable impress 'Small Capitals' Toolbar Button 2024-01-28 20:02:01 +01:00
svxitems.hrc
SvxNumOptionsTabPageHelper.hxx
SvxPresetListBox.hxx
SvxShapeTypes.hxx
SvxXTextColumns.hxx
swframeexample.hxx
swframeposstrings.hxx
swframetypes.hxx
swframevalidation.hxx
sxcecitm.hxx reduce symbol visibility in svx 2024-03-18 07:05:35 +01:00
sxcgitm.hxx
sxciaitm.hxx
sxcllitm.hxx
sxctitm.hxx reduce symbol visibility in svx 2024-03-18 07:05:35 +01:00
sxekitm.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
sxelditm.hxx
sxenditm.hxx reduce symbol visibility in svx 2024-03-18 13:24:51 +01:00
sxmbritm.hxx
sxmlhitm.hxx
sxmtfitm.hxx
sxmtpitm.hxx reduce symbol visibility in svx 2024-03-28 08:41:30 +01:00
sxmtritm.hxx
sxmuitm.hxx reduce symbol visibility in svx 2024-03-28 08:41:30 +01:00
tabarea.hxx
tabline.hxx
tbcontrl.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
tbxcolor.hxx
tbxctl.hxx
transfrmhelper.hxx
txencbox.hxx
txenctab.hxx
ucsubset.hxx
uiobject.hxx
unoapi.hxx IASS: Update NextSlide in PresenterConsole 2024-03-29 01:55:38 +01:00
unobrushitemhelper.hxx
unofill.hxx
unomaster.hxx
unomid.hxx
unomod.hxx
unomodel.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
UnoNamespaceMap.hxx
unopage.hxx convert SvxDrawPage to comphelper::WeakImplHelper 2024-03-29 17:59:56 +01:00
unopool.hxx
unoprov.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
unoshape.hxx reduce symbol visibility in --enable-mergelibs=more mode 2024-03-13 08:14:38 +01:00
unoshprp.hxx svx: read font and spacing scaling from oox, add bot as UNO prop. 2024-04-03 04:06:39 +02:00
unoshtxt.hxx use more UNLESS_MERGELIBS 2024-02-12 20:25:54 +01:00
view3d.hxx svx: prefix members of E3dView 2024-01-29 09:46:03 +01:00
viewlayoutitem.hxx
viewpt3d.hxx
weldeditview.hxx
xbitmap.hxx
xbtmpit.hxx
xcolit.hxx
xdash.hxx svx: prefix members of XDash 2024-01-22 09:13:38 +01:00
xdef.hxx
xenum.hxx
xfillit0.hxx
xfilluseslidebackgrounditem.hxx
xflasit.hxx
xflbckit.hxx
xflbmpit.hxx
xflbmsli.hxx
xflbmsxy.hxx
xflbmtit.hxx
xflboxy.hxx
xflbstit.hxx
xflbtoxy.hxx
xflclit.hxx
xflftrit.hxx
xflgrit.hxx svx: prefix members of XFillGradientItem 2024-02-19 09:11:25 +01:00
xflhtit.hxx svx: prefix members of XFillHatchItem 2024-02-26 09:31:49 +01:00
xfltrit.hxx
xftadit.hxx
xftdiit.hxx
xftmrit.hxx
xftouit.hxx
xftshcit.hxx
xftshit.hxx
xftshxy.hxx
xftstit.hxx
xgrscit.hxx
xhatch.hxx svx: prefix members of XHatch 2024-03-11 14:03:30 +01:00
xit.hxx
xlineit0.hxx
xlinjoit.hxx
xlnasit.hxx
xlncapit.hxx
xlnclit.hxx
xlndsit.hxx
xlnedcit.hxx
xlnedit.hxx
xlnedwit.hxx
xlnstcit.hxx
xlnstit.hxx
xlnstwit.hxx
xlntrit.hxx
xlnwtit.hxx
xmleohlp.hxx
xmlexchg.hxx
xmlgrhlp.hxx
xmlsecctrl.hxx
xoutbmp.hxx
xpoly.hxx reduce symbol visibility in svx 2024-03-18 07:05:35 +01:00
XPropertyEntry.hxx
xsflclit.hxx
xtable.hxx svx: prefix members of XLineEndEntry 2024-04-02 10:28:27 +02:00
xtextit0.hxx
zoom_def.hxx
zoomctrl.hxx
zoomsliderctrl.hxx
zoomslideritem.hxx