• Michael Stahl's avatar
    writerfilter: implement RTF derived styles defaulting · 3d74ddd1
    Michael Stahl yazdı
    It turns out that the situation fixed in commit
    1be0a3fa also applies to the definition
    of the styles themselves.
    
    To implement the same style import as Word, the style definitions need
    to be stored twice: once as read from the file, and another time with
    attributes defaulted and deduplicated vs. the parent style; the second
    representation is then sent to the domain mapper.
    
    To make this easier, add a bool parameter to cloneAndDeduplicate()
    to disable the implicit pPr dereferencing that happens when creating the
    hard formatted paragraph properties (this could potentially be cleaned
    up further if those paragraph properties would use pPr wrapper
    themselves).
    
    Also implement defaulting of line spacing in getDefaultSPRM().
    
    Change-Id: I4810e917697b3af244e5dbdd7f5a45b4767c93fc
    Reviewed-on: https://gerrit.libreoffice.org/70320
    Tested-by: Jenkins
    Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
    3d74ddd1
Adı
Son kayıt (commit)
Son güncelleme
..
documentation Loading commit data...
inc Loading commit data...
qa Loading commit data...
source Loading commit data...
util Loading commit data...
CppunitTest_writerfilter_misc.mk Loading commit data...
CppunitTest_writerfilter_rtftok.mk Loading commit data...
CustomTarget_source.mk Loading commit data...
IwyuFilter_writerfilter.yaml Loading commit data...
Library_writerfilter.mk Loading commit data...
Makefile Loading commit data...
Module_writerfilter.mk Loading commit data...
README Loading commit data...