Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 18. jún 2024
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Dev Resources  »  Converting files from command line

How to convert files from OOo formats to other formats via the command line

Autor: Michal P. | Sekcia: Dev Resources | Dátum: 2006-04-18

When publishing to website, it is sometimes desired to have these files published in different formats, eg sxw and pdf format. We will show you how to do this from command line using openoffice and oooconv library.

Neccessary elements:

  1. openoffice.org set up and running
  2. macro from oooconv website installed in main part (not only in file) in Standard.Module2
  3. convert.sh script installed

usage is then easy: convert.sh PDF test.sxw or convert.sh PDF *.sxw

convert.sh script:

#!/bin/sh

# # convert.sh # # Developed by Michal Palenik # Copyright (c) 2006 Platon Group, http://platon.sk/ # 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 http://oooconv.free.fr/oooconv/oooconv_en.html # 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;

Čo je Platón?
Platón bol veľmi doležitý filozof starovekého Grécka, študent Sokratesa a učiteľ Aristotela. viac info...

Platon Group zastrešuje slovenskú skupinu vývojárov otvoreného softvéru. Vyvíja, spravuje, dokumentuje niekoľko úspešných open-source projektov.

Platon Technologies, s.r.o. je mladá a dynamicky rozvíjajúca sa spoločnosť, ktorá má za cieľ prinášať otvorené technológie do komerčnej a verejnej sféry.

Podporte nás

Výkonný webhosting
a multihosting

Platon Webhosting

Super rýchle servery
a profesionálna administrácia

Virtuálne, dedikované a manažované servery

Vývoj
Diskusia k článku
sara jain mcafee.com/activate 2019-12-13 09:51
laurawells     RE: mcafee.com/activate 2019-12-14 13:34
Nicole Smith         RE: mcafee.com/activate 2020-05-08 01:14
jamesanderson     RE: mcafee.com/activate 2022-01-22 20:33
Kilburn Kilburn     RE: mcafee.com/activate 2023-10-19 21:06
Johns CopyAndPasteFonts.com 2020-05-21 21:00
College application writing services College application writing services 2020-12-22 10:29
Mansh Pasht Great Platform 2021-03-02 12:19
Corey Ali AWESOME SERVICES 2021-04-13 12:47
temple run thank you 2021-06-25 05:58
temple run thank you 2021-06-25 05:58
roofing supplies Utah Love dIT 2021-09-20 23:00
videography ayrshire Loved It 2021-09-21 10:45
Masters Dissertation Proposal help Masters Dissertation Proposal help 2022-01-25 11:47
Masters Dissertation Proposal help Masters Dissertation Proposal help 2022-01-25 11:48
stevienorman Fildena Ct 50 Mg Tablets Online At Lowest Price In Publicpills | 50% OFF | 2022-05-03 13:12
Javi Format 2022-05-11 12:26
Javi Format 1 2022-05-11 12:27
Javi Format 3 2022-05-11 12:28
uijy 34 2022-05-31 03:08
uijy 89 2022-05-31 03:09
uijy 123 2022-05-31 03:09
uijy 345 2022-05-31 03:10
uijy 8978 2022-05-31 03:11
uijy 0987 2022-05-31 03:12
stevienorman Make Your Erection More Powerful With Kamagra Gold Medicine | Sildenafil Citrate (100mg) 2022-07-07 07:47
stevienorman Online Buy Tadalista Tablet | Tadalafil | Reviews | Publicpills 2022-07-22 06:05
stevienorman Avana 100 Mg ED Treatment [Cheapest Price + Get Online Deals] 2022-09-03 07:51
same day ganja dsds 2022-09-20 14:41
stevienorman Buy 100% Safe and Usable Suhagra 100 Mg tablet at Publicpills 2022-10-15 09:24
토토사이트 https://totomargin.com 2022-12-23 04:03
astronomy how to 2023-01-26 16:44
casino https://xn--o80b11omnnureda.com/ 2023-01-31 10:34
devira Taruhan KDSlot 2023-02-06 07:33
casinocommunity casinocommunity 2023-02-08 08:06
cliffordfosterr Malegra 2023-02-20 12:58
trap the cat vdfsd 2023-02-21 11:28
cliffordfosterr Cenforce 100 2023-03-10 06:06
cliffordfosterr Cenforce Fm 100 Mg 2023-03-11 07:53
GianaDorwart Dewapoker - Strategi Terbaik Bermain Slot Online Supaya Menang 2023-03-19 17:42
Celeste Adams Celeste Adams 2023-03-27 08:39
Howard Jaeger Cortexi: The Complete Ear Health System You Need 2023-04-12 07:07
Roger Donaghy Cortexi: The Complete Ear Health System You Need 2023-04-14 07:17
Kevin Garza Cortexi: The Complete Ear Health System You Need 2023-04-15 11:49
site789 site789 2023-04-23 08:35
Beth abc 2023-05-01 13:35
david abc 2023-05-02 12:31
david abc 2023-05-02 14:06
david as 2023-05-07 14:12
david abc 2023-05-07 18:14
david The free update 2023-05-07 18:54
david the free update 2023-05-10 18:46
cliffordfosterr Sildisoft Tablets 2023-05-26 14:02
cliffordfosterr Suhagra 100 Mg 2023-05-29 12:20
john the free update 2023-06-06 12:13
michael king https://www.outlookindia.com/outlook-spotlight/phenq-reviews-exposed-phenq-best-weight-loss-pills-diet-pills-really-works-or-fake-claim-read-this-carefully-news-295256 2023-06-18 11:39
david abc 2023-07-04 17:50
david abc 2023-07-18 11:38
bunny free update 2023-07-18 11:45
Julia Thank you! 2023-08-07 11:31
www.dynathemes.com www.dynathemes.com 2023-08-07 11:32
jack 123 2023-08-09 22:05
pete Beat laundry 2023-08-22 12:56
jack aipickuplines.net 2023-08-22 13:09
Panache Apparel Panache Apparel 2023-10-06 14:52
david Ensure Your Academic Success with Our Take My Online Exam for Me Service! 2023-10-13 15:55
kevin Feeling the heat of those exams? 2023-10-13 15:57
James Facing a mountain of exams? 2023-10-13 15:58
Finca Loranque Finca Loranque 2023-11-26 23:19
Finca Loranque Finca Loranque 2023-11-26 23:25
joniscosttale Can Vilitra 20 Mg be taken with other PDE5 inhibitors? 2024-02-09 10:53
cliffordfosterr P force Review - An Effective Sildenafil Pill For ED | Flatmeds 2024-02-12 12:33
Buy Oxycodone Online Buy Oxycodone Online 2024-03-27 12:07
Bank Of America Login Bank Of America Login 2024-03-27 12:10
Phentermine 37.5 Buy Online Phentermine 37.5 Buy Online 2024-03-27 12:11
Buy Phentermine Online Buy Phentermine Online No Prescription 2024-03-27 12:14
Order Phentermine 37.5mg Buy Phentermine 37.5 2024-03-27 12:16
Phentermine 37.5 For Sale Online Phentermine HCL 37.5 mg For Sale 2024-03-27 12:46
Buy Phentermine 37.5mg Phentermine 37.5mg Online Pharmacy 2024-03-27 13:19
Buy Phentermine 37.5mg Online Cheap Buy K 25 Phentermine 37.5 Online 2024-03-29 17:19
Phentermine Online Buy Phentermine Online 2024-03-29 17:22
Is It Safe To Buy Phentermine Online Phentermine Near Me 2024-03-29 17:37
Loans For Bad Credit Online Loans For Bad Credit Online 2024-03-29 17:39
Loans for Bad credit Loans for people with bad credit 2024-03-29 17:48
Bad Credit Loans Personal Personal Loans For Bad Credit 2024-03-29 17:50
Buy Xanax Online Xanax For Sale 2024-03-29 17:53
Buy Adderall Online Adderall For Sale 2024-03-29 17:55
Buy Ambien Online Ambien For Sale 2024-03-29 17:57
Buy Tramadol Online Tramadol For Sale 2024-03-29 17:59
Buy Adipex Online Adipex For Sale 2024-03-29 18:03
Buy Carisoprodol Online Carisoprodol For Sale 2024-03-29 18:05
Buy Hydrocodone Online Hydrocodone for Sale 2024-03-29 18:07
Buy Soma Online Soma For Sale 2024-03-29 18:09
Website Design Company Digital Marketing Agency 2024-03-29 18:11
SEO Company Digital Marketing Agency 2024-03-29 18:13
marcin starting afrsehs 2024-04-19 07:23

   

 
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov