https://bugs.documentfoundation.org/show_bug.cgi?id=167852

--- Comment #2 from Andrea Ventura <[email protected]> ---

I'm sorry: it doesn't work on my PC.

The macro is copied below.

(I have updated LO version to 25.2.5.2)

Thank you, Andrea Ventura.

------------------------------------

REM  *****  BASIC  *****

...

sub Prova
rem -------------------------------------------------------------------
rem define variables
dim document   as object
dim dispatcher as object
rem -------------------------------------------------------------------
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem -------------------------------------------------------------------
dim args1(2) as new com.sun.star.beans.PropertyValue
args1(0).Name = "FirstLineParaMargin.FirstLineIndent"
args1(0).Value = 1000
args1(1).Name = "FirstLineParaMargin.FirstLineRelIdent"
args1(1).Value = 100
args1(2).Name = "FirstLineParaMargin.AutoFirst"
args1(2).Value = false

dispatcher.executeDispatch(document, ".uno:FirstLineParaMargin", "", 0,
args1())

rem -------------------------------------------------------------------
dim args2(0) as new com.sun.star.beans.PropertyValue
args2(0).Name = "NumberingStart"
args2(0).Value = false

dispatcher.executeDispatch(document, ".uno:NumberingStart", "", 0, args2())

rem -------------------------------------------------------------------
dim args3(0) as new com.sun.star.beans.PropertyValue
args3(0).Name = "NumNewStartAt"
args3(0).Value = 65535

dispatcher.executeDispatch(document, ".uno:NumNewStartAt", "", 0, args3())

end sub

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to