Hello guys,
are you aware about some kind of UDF functions and/or way to interact with libreoffice Writer?
I found just a UDF pack that works with Calc.
Thanks
Marco
And fixed version: WriterDemo.au3
Fix is related to this function:
Func createStruct($sTypeName)
Local $oServiceManager = ObjCreate("com.sun.star.ServiceManager")
Local $oReturn = $oServiceManager.Bridge_GetStruct($sTypeName)
Return $oReturn
#cs THIS FOLLOWING COMMENTED CODE SNIPPET WAS TAKEN FROM ORIGINAL WriterDemo.vbs
Local $classSize = $oCoreReflection.forName($sTypeName)
Local $aStruct[0]
$classSize.createObject($aStruct)