Platon Technologies
not logged in Login Registration
open source software development celebrating 10 years of open source development! Thursday, October 18, 2018
About Us
Open Source
Index  »  Vývojárske zdroje  »  Konvertovanie súborov cez príkazový riadok

Ako konvertovať súbory z formátu OOo cez príkazový riadok

Author: Michal P. | Section: Vývojárske zdroje | Date: 2006-04-18

Ked chcete publikovať na webovej stránke, niekedy je žiadúce publikovať tieto súbory vo viacerých formátoch (napríklad sxw a pdf). Ukážeme si ako toto urobiť cez príkazový riadok používajúch a knižnicu oooconv.


  1. nainštalovaný a bežiaci
  2. makro z stránky oooconv nainštalované v hlavnej časti (nie iba v súbore) v Standard.Module2
  3. nainštalovaný skript

použitie je potom ľahké: PDF test.sxw alebo PDF *.sxw skript:


# # # # Developed by Michal Palenik # Copyright (c) 2006 Platon Group, # Licensed under terms of GNU General Public License. # All rights reserved. # # Changelog: # 2006-04-18 - created #

# $Platon$ # readme # usage basename to_what(PDF,MSXP,...) what(file) # download macro from # and save it as Standard.Module2 (global) under user you will convert it under # beware: it is _very_ time consuming operation # # todo: switch to OOo2, more cpu effectivenes, less display

to=$1; eval "unset $1;"; for i in $* do if [ "$i" != "$to" ] then echo "converting $i"; ooffice -minimized -headless "macro:///Standard.Module2.Exporte("$PWD/$i","$to","")" else echo "not converting $i" fi; done;

What is Platon?
Plato was a very important classical Greek philosopher, student of Socrates and teacher of Aristotle. learn more...

Platon Group is Slovak open source software development group. We are developing, maintaining, documenting some successful open-source projects.

Platon Technologies, Ltd. is young dynamically developed enterprise, which goal is to bring open technologies into the commercial sphere.

Support Us

Powerful Web-Hosting
and Multihosting

Platon Webhosting

Super Fast Servers
& Professional Administration

Virtual, Dedicated and Managed Servers

Article discussion


Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy