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 <serdar...@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?
>
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to