Description: The same in setting Line spacing = Single Note: In safe mode I can't create a Macro. Actual Results: Nothing happens Expected Results: Macro to work! Reproducible: Always User Profile Reset: Yes Additional Info: [Information automatically included from LibreOffice] Locale: it Module: TextDocument [Information guessed from browser] OS: Windows (All) OS is 64bit: no ------------- Version: 7.6.7.2 (X86_64) / LibreOffice Community Build ID: dd47e4b30cb7dab30588d6c79c651f218165e3c5 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: it-IT (it_IT); UI: en-US Calc: default
Can't reproduce; I am able to set indentation for first line to 1cm. Version: 25.2.5.2 (X86_64) / LibreOffice Community Build ID: fb4792146257752f54eab576deb869869b108571 CPU threads: 12; OS: Linux 6.14; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: CL
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
Please ask for people on https://ask.libreoffice.org/ to review your macro code. If it is found to be correct, we can continue with this report.