openoffice.org

Copy a whole ODT (Openoffice Writer) document section to other document with Openoffice Java API (UNO API)

Dear all, I need to use the OpenOffice Java API to copy a document section and paste it over another document section. So far I have managed to copy the text of the section of the source document and paste it over the section at the target document (see the example below). However, the problem is that non-text elements (graphics, form...

Can I use XSLT to transform a OpenOffice ODT content (content.xml) to HTML?

Is this possible? / Jonas ...

Automatically creating OpenOffice macros

Hi, I have written a system which makes use of OpenOffice.org to perform some file conversion. This will be deployed to a number of different servers and I want to make the installation process as easy as possible for the administrator that will be doing it. There are several macros that I have written that need to be added to each ins...

Python in OpenOffice 3

Hello, I have a heap of Lotus 123 spreadsheets (not written by me) with Lotus Scripts in them doing an awful lot of leg work (moving data from one spreadsheet to another, and other things like that). I am making the consideration of moving it all away from Lotus 98 and going to something a little more open, like OpenOffice. I was wonde...

ODBC Connection to Flat file

What is the best way to take a database and make it a flat file? I am have an ODBC driver and need to pull the data out into a file file. Excel, Access? OpenOffice? ...

Java + OpenOffice, Is interop automation really this difficult?

Hi all, I'm trying to re-write a C# application of mine in Java. I've chosen Java because our target platform is now Linux, no longer Windows. My C# application used Microsoft Office Interop to automate things like Word and Excel. It would simply open different documents and apply our formatting to them (adjust column width, remove ita...

Open office macro function to get a font color.

I am using the BASIC macro language for open office. There is a nice function cell.getValue() that gets the value of the cell. However, I can't find a function that gets the font color of the text in the cell, in numerical RGB format. ...

unoconv error 1287 / ErrorCodeIOException on jaunty

I installed openoffice headless on jaunty, but unoconv won't work via SSH. Any idea? unoconv: UnoException during conversion in <class '__main__.com.sun.star.task.ErrorCodeIOException'>: ERROR: The provided document cannot be converted to the desired format. (code: 1287) I started unoconv -l & before ...

oocalc plugin - development step by step guide available?

I want to develop plugin for OoCalc Open Office, is there any good resource or link will help to start working on it. any existing article like step by step guide for developer would be great !! I want to develop the plugin based on Python Programming Language. ...

Problem copying HTML from JEditorPane to external applications

Hello! I'm having trouble copying HTML from JEditorPane to system clipboard and then pasting into other applications: OpenOffice 3.2 - Says "Requested clipboard format isn't available" Thunderbird 3.13 - Does nothing on paste Firefox 3.6.9 - Accepts plain text but for example in GMail "Compose mail" does nothing on paste I'm running ...

way to convert word documnet to xsl-fo

I am using ms word 2007 , I would like to convert the word to xsl-fo ,there are some hints in the net but they do so only for renderx.Is there a tool for apache-fop ? ...

OpenOffice Base Report that takes user input.

Hi All, I'm working on a LOT of VBA code that generates reports from Excel. I reckon it's a really stupid idea to use Excel and VBA to run "queries" on an worksheet so I'd like to do it in a database environment. I successfully ported the required table and data into OpenOffice base. The problem now is that I need to run a report tha...

Version-controlling zipped files (docx, odt)

There are formats that are actually zip files in disguise, e.g. docx or odt. If I store them directly in version control, they are handled as binary files. My ideal solution would be have a hook that creates a foo.docx/ directory for each foo.docx files before commit, unzipping all files into it optionally, have a hook that reindents...

Programmatically extracting slides as images from a Powerpoint presentation (.PPT)

Given a Powerpoint presentation in .ppt format, what is the best way to programmatically and using only open source software extract an image representation (in say .jpg or .png) of each slide in the presentation? The application will run in a Linux server environment, so installing Microsoft Office or Keynote is not an option. The fun...

How to import external module in python macro for OpenOffice?

Hello :) I'm writing a macro for OpenOffice in python, and I have a problem. I want to import external module (gdata) so i write import uno import gdata.calendar.service but when I try execute macro (Tools -> Marcos -> Run Macro..) I always get ImportError :/ I have gdata module in my PYTHONPATH, it's working when I test it in interp...

What is the technology behind OpenOffice.org Anywhere

I able to launch open office through web browser, even I do not have a copy of open office. http://www.ooanywhere.com/ May I know what is the technology behind? (Although the launched open office is quite slow and not responsive) Thanks. ...

Embedding code in presentations?

Hi, Not sure if this fits this forum, but can anyone recommend a good tool to embed code (with syntax highlighting) in presentations / office documents? Taking a screenshot is less than ideal. I'm using OpenOffice. Thanks. ...

¿Do there exist an emacs mode for openoffice.org package files?

The title says it all! Do there exist an emacs mode for openoffice.org (compressed) package files? For instance, it could decompress each of the included xml files, and open each of them in its own buffer? ...

How to complete a git clone for a big project on an unstable connection?

I am trying to git clone the LibreOffice codebase, but at the moment I have an internet connection by mobile phone and it's just anything but stable. I can get the connection back any moment, but then the git clone process already stopped working, and no way to get it running again. Is there some way to have a more failure-resistant git ...

How do I generate an OpenOffice Draw document?

I want to create a flowchart in OpenOffice Draw. Since there's a lot of steps to show (and may change in future) but I can extract the data, I want to automate the creation with the following steps: Create a new ODG document with specified page settings. Insert flow chart shapes with specified properties. Connect those things with arr...