Initializing default paragraph properties in writerfilter
serdar tunc
serdarot5 at gmail.com
Wed May 16 19:35:08 UTC 2018
I want to initialize default just for "Text body" in OOXML. I couldn't find
anything in applyDefaults() function. I've tried to add this line in
StyleSheetTable::ApplyStyleSheets
if (sConvertedStyleName == "Text body")
pEntry->pProperties->Insert(PROP_PARA_LINE_SPACING,
uno::makeAny(sal_uInt8(100)),true);
I can change whole documents paragraph line spacing but not "Text Body".
Can somebody help me about that?
On Mon, May 14, 2018 at 9:37 PM, serdar tunc <serdarot5 at gmail.com> wrote:
> Hello, I am working on tdf#82175 and I should initialize default paragraph
> line spacing in filters but I dont know how to do it. I've tried to
> change sw/source/core/doc/DocumentStylePoolManager.cxx but its Writer's
> default. How can i set default paragraph line spacing for only writerfilter?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180516/e88bdc3c/attachment.html>
More information about the LibreOffice
mailing list