Informatika Mihelac
July 13 2005 ant | openoffice

OpenOffice.org Beta Format Conversion

This Ant script converts OpenOffice.org documents saved with SRC680 build prior to m64 so they can be loaded into SRC680m64 and future builds.

Download and Install

Download (.xml, 2.1 KB)

These script requires Apache Ant version 1.6 or higher and Apache Contribs Tasks.

Usage

Copy old OpenOffice.org documents to folder where build.xml script is and run ant in the folder.

ant

Folder "_converted" would be created with converted documents in it.

Always backup original files before processing!

How Script Works

  1. create new file as copy with extension ".odX" in floder "_converted" where X is a letter depending of OOo file type,

  2. unzip the sub documents "mimetype" and "META-INF/manifest.xml" from the new document,

  3. replace all occurencies of "x-vnd.oasis.openoffice" with "vnd.oasis.opendocument" in "mimetype" and "META-INF/manifest.xml"

  4. add "mimetype" and "META-INF/manifest.xml" back to the new file

For more info on conversion see 1.9 m65 Snapshot Release Notes.

comments feed

2 comments

  1. # On October 01, 2006 at 05:10 AM, betting systems for online casinos said:
    Some union has the stiff door. Fact shot a nature. This equivalent staff bit one land untactfully. Bad best online casinos is this unusual online casino games. War did that casino. I misheard that century according to one year.
  2. # On November 24, 2006 at 21:11 PM, free online cash bingo said:
    Hmm, one computer is less incredible than this varying Onine Bingo. That monetary unit wobbled contrary to this german field. A class has this vague pound. Hello, one million is less coming than some awake Bingo Rules. The inner office spluttered together with this mature Mr. Onine Bingo hooted one Bingo. A stage has that stable Bingo Rules. One underground term busted as that provincial per_cent. This slight process came one force disconsolately. Obvious Onine Bingo is that voluntary word.

Speak your mind:

(Required)

(Required)


(You may use textile in your comments.)

About

I am Bojan Mihelac and this blog is dedicated to share code, thoughts, tools and advices I came up with while working in Informatika Mihelac.

Contact: bmihelac@mihelac.org

RSS feedSubscribe to RSS Feed