Jump to content

Which components of Libre Office would you like to automate most?  

13 members have voted

  1. 1. Which components of Libre Office would you like to automate most?

    • Writer
      8
    • Calc
      11
    • Impress
      1
    • Draw
      0
    • Math
      0
    • Base
      3


Recommended Posts

Posted
  On 9/27/2023 at 7:55 AM, water said:

If I would start such a project I would

  • run a poll to see how many users have the need to automate OO/LO
  • Ask people about their priority. Means: Which modules do they need most (Writer, Calc, ...)

 

Expand  

good point

firstly some cleanup 

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 9/27/2023 at 9:33 AM, mLipok said:

firstly some cleanup 

Expand  

Looking good @mLipok, thank you for your work so far!

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

Posted
  On 9/27/2023 at 7:55 AM, water said:

I would split this project into multiple files:

  • a general file with those functions needed by all modules like copy/paste, formatting, saving/exporting ...
  • a file for each module

 

Expand  

Done. Please take a look :

https://github.com/mlipok/Au3LibreOffice

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • 2 weeks later...
Posted (edited)

To all concerned.
Take a look at the new version:

https://github.com/mlipok/Au3LibreOffice/releases/tag/v0.9.0

and
https://github.com/mlipok/Au3LibreOffice/releases/tag/0.9.1
 

We are waiting for your feedback.

Edited by mLipok
0.9.0 >> 0.9.1

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

@donnyh13
please re-edit topic title

Current:
LibreOffice Writer UDF Version 0.0.0.3

Proposal:
LibreOffice UDF help and support topic

or something like that.

 

EDIT:
Also please consider to add link to GitHub repro
https://github.com/mlipok/Au3LibreOffice

in the opening post.

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • donnyh13 changed the title to LibreOffice UDF Help and Support topic
Posted

Thanks @mLipok, changes look good!

 

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

  • donnyh13 changed the title to LibreOffice UDF Project Help and Support
  • 3 weeks later...
Posted (edited)

Hi argumentum,

mLipok and I are looking into making this UDF compatible with the portable version of LibreOffice also, and I was wondering if you have any insight on what it would take/ how to go about accomplishing this? A bit of research would seem to indicate the need to use Registration Free COM Objects? But I’m not exactly sure on the "how" yet?

Any insight or tips would certainly be appreciated if you have any.

Edited by donnyh13

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

  • 1 month later...
Posted

Did you notice that :  _LOWriter_DocSaveAs() and _LOWriter_DocOpen()   can not open/save file to location different than @TempDir ?

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

No, I didn't. I'll look into that. Thank you!

What exactly does it do? return an error? Or just nothing?

Edited by donnyh13

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

Posted (edited)

I just tested Both on my desktop, and both worked.... Do you have an example I could look at?

Perhaps it's a permission issue?

Edited by donnyh13

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

Posted (edited)

I love Libre-Oficce and this UDF will certainly be very useful!

Edited by Belini
Posted

Thanks, Hope it comes in handy for you! Please let me know if you find any issues.

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

  • donnyh13 changed the title to LibreOffice UDF Help and Support
  • 1 year later...
Posted

Hi everybody

since two weeks ago i have been working with this UDF in several proyects and I think its great! In the past i worked with this UDF:

https://www.autoitscript.com/forum/topic/151530-ooolibo-calc-udf/

which is fantastic too.

I think i have found a bug in the function _LOCalc_DocViewWindowSettings from the library LibreOfficeCalc_Doc.au3. In the line 2161 there is a call to the function __LOCalc_ArrayFill and the fourth and fifth parameters are switched.

where it says

__LOCalc_ArrayFill($abView, $oCurCont.HasColumnRowHeaders(), $oCurCont.HasVerticalScrollBar(), $oCurCont.HasSheetTabs(), $oCurCont.HasHorizontalScrollBar(), _

it must be

__LOCalc_ArrayFill($abView, $oCurCont.HasColumnRowHeaders(), $oCurCont.HasVerticalScrollBar(), $oCurCont.HasHorizontalScrollBar(), $oCurCont.HasSheetTabs(), _

After modified it works fine.

Thank you for your job.

Posted
  On 5/15/2025 at 12:51 PM, JALucena said:

where it says

__LOCalc_ArrayFill($abView, $oCurCont.HasColumnRowHeaders(), $oCurCont.HasVerticalScrollBar(), $oCurCont.HasSheetTabs(), $oCurCont.HasHorizontalScrollBar(), _

it must be

__LOCalc_ArrayFill($abView, $oCurCont.HasColumnRowHeaders(), $oCurCont.HasVerticalScrollBar(), $oCurCont.HasHorizontalScrollBar(), $oCurCont.HasSheetTabs(), _

Expand  

Thank you for the report, and for tracking down the bug @JALucena, it's greatly appreciated. I'll change that right away. I must have messed it up in modifying the order of the parameters previously.

Glad to hear you like the UDF, and that it is working well for you. It's nice to know it is a help to somebody, plus we appreciate the bug testing. :)

Best regards,

Donny

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

  Reveal hidden contents

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...