• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: driving LibreOffice.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: driving LibreOffice.


  • Subject: Re: driving LibreOffice.
  • From: Yvan KOENIG <email@hidden>
  • Date: Mon, 22 Aug 2016 10:36:30 +0200


Le 21 août 2016 à 22:08, quark67 <email@hidden> a écrit :

If all documents are in the same folder (e.g. /Users/name/Documents/docs_cwk ), you can use this in Terminal (change name by you user name):

$ cd /Applications/LibreOffice.app/Contents/MacOS
$ ./soffice --headless --convert-to pdf --outdir /Users/name/Documents/docs_cwk /Users/name/Document/docs_cwk/*.cwk

(here, the option --outdir /Users/name/Documents/docs_cwk give the destination folder for the .pdf created. The last argument of the command give the file(s) to converting.)

Source : https://ask.libreoffice.org/en/question/12084/how-to-convert-documents-to-pdf-on-osx/ (contrary to this document, I must use "/Users/name", not the shortcut "~" for it to run)

If you prefer by AppleScript :

do shell script "cd /Applications/LibreOffice.app/Contents/MacOS; ./soffice --headless --convert-to pdf --outdir /Users/name/Documents/docs_cwk /Users/name/Document/docs_cwk/*.cwk"

This create .pdf files. Hope this will create PDF/A file as needed.


Le 21 août 2016 à 20:55, Yvan KOENIG <email@hidden> a écrit :


Le 21 août 2016 à 19:26, Iurista GmbH <email@hidden> a écrit :

I just made a check: I still own 4361 Applework files.
I use two methods for converting them (if I find the time):

1. Files of which I still would like to access their content will be converted to Pages, which opens Applework files directly.
2. I still run 10.6.8 on a Mac Mini, and therefore Appleworks 6. Files which are kept only for memory will be printed to PDF, also by means of a script

If you have no access to AppleWorks, there's also the possibility to convert to Pages and then print to PDF. No big scripting effort.

Rudolf




Thanks


False hope.

I know the syntax able to save as PDF (no need for the Print dialog) but Pages doesn't save as PDF/A which is required to fit the user's needs.


Thanks


The files aren't in a single folder. They are stored in a hierarchy based upon year + month -day.
Of course, I may build a script treating the subfolder recursively - at this time it treats the files recursively.


PDF/A isn't the default format used by LibreOffice

If I understand well the different answers, there is no other way than cliclick to trigger the important checkbox so I will continue to use it.


Yvan KOENIG running El Capitan 10.11.6 in French (VALLAURIS, France) lundi 22 août 2016 10:36:25



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: driving LibreOffice. (From: has <email@hidden>)
 >Re: driving LibreOffice. (From: Yvan KOENIG <email@hidden>)
 >Re: driving LibreOffice. (From: Iurista GmbH <email@hidden>)
 >Re: driving LibreOffice. (From: Yvan KOENIG <email@hidden>)
 >Re: driving LibreOffice. (From: quark67 <email@hidden>)

  • Prev by Date: Re: driving LibreOffice.
  • Next by Date: Word script
  • Previous by thread: Re: driving LibreOffice.
  • Next by thread: Re: driving LibreOffice.
  • Index(es):
    • Date
    • Thread