openoffice.org

JOpenDocument: Adding style to a paragraph

I'm new to JOpenDocument and the documentation is somewhat lacking. I know there has to be a way to assign a paragraph a style so that it can be bold, and things of that nature, but I can't figure out how. Here is my code, does anyone have any ideas? File outFile = new File("c:\\out.odt"); ODPackage p = new ODPac...

from ggplot2 to OOo workflow?

This is not really a programming question, but I try here none the less. I once used latex for my reports. But the people I work with needs to make small edits and do not have latex skillz. Openoffice is then the way to go. But saving ggplot images with dpi >100 makes for really ugly graphs. dpi = 600 is a no go (e.g. huge legend). So w...

Best way for open office to store, manage and create bibliography

Hi! I'm using OO 3.1 and would like to find any way to store my bibliography and OO native tool is rather uncomfortable and takes a lot time to put info. So, I'm looking for any plug-in or tool to simplify this task ...

openoffice document (odt) to PDF with commad line on Linux?

Hi, we are building a PHP script that we need at work to create reports in PDFs the reports will be created by using templates from postgrSQL. so far I found that it can be done with the use of php and odt (openoffice) files [http://www.odtphp.com/] (do you have any other suggestions?) now how I can convert the results to PDF so tea...

Hunspell pack for Unicode

I want to compile a hunspell dictionary for Hindi language. I found the instructions on the following page but could not follow it. http://manpages.ubuntu.com/manpages/dapper/man4/hunspell.4.html Can someone guide me or show me how to write a test hunspell pack for an Indian language? ...

Open Office Spellchecker / Java API

Hi all, Is it possible to make use of the Open Office spell-checker outside of Open Office for other Java programs? Walter ...

Reliable and fast way to convert a zillion ODT files in PDF?

I need to pre-produce a million or two PDF files from a simple template (a few pages and tables) with embedded fonts. Usually, I would stay low level in a case like this, and compose everything with a library like ReportLab, but I joined late in the project. Currently, I have a template.odt and use markers in the content.xml files to fi...

Open XML SDK 2.0 breaking changes between 2.0.3920.0 and 2.0.5022.0

I have a project which is using DocumentFormat.OpenXml.dll 2.0.3920.0. However, I want this to be upgraded to the 2.0.5022.0 from here. Note that there is change only in the revision number of the version. I removed the older reference and added the new one and It compiles fine. However, I need to know If there are any runtime breaking ...

Use OpenOffice to do server-side ppt(x) to swf conversion

I'd like to turn Powerpoint presentations to SWF files the same way that OpenOffice does it, except automatically through a command line call. I came across http://stackoverflow.com/questions/886144, which led me to explore PyUNO bridge, which comes with OpenOffice as well as the OpenOffice command line API, but I wasn't able to make any...

How can I integrate an external word processing application with a Java Swing app?

Hi all, I need some genius advice on this one. I have a Java Swing application that needs to launch a word processor in order to allow the user to complete some work, and then retrieve the output of that work and evaluate it later. In my head I am thinking my application can look in the normal places for Open Office or Word executables...

How to prevent wrapping around of time when adding them in spreadsheet?

I have absolute values of time(as in stopwatch not date/time) in various cells and I would like to add them and keep them the same format(as an absolute value). I have formatted the cells using hh:mm:ss time format. But when I add two values like, 22:34:00 4:00:00 I get, 2:34:00 because of wrapping around the 24-hour tim...

open office java uno API how to create a bulleted list

I have a word template doc and I would like to insert a bulleted list. The template doc has bookmarks. I'm iterating through the bookmarks when I get to the "Feature list" I want to present it as a bulleted list: I've tried something like this for (FieldBookmark bookmark : FieldBookmark.values()) { /if bookmark name == "Feature/Current...

OpenOffice, writing a document to a servlet response

Currently we use OpenOffice to grab bookmarks in a template file document and replace them with content from our DB via Java. The lines of code that actually save the file look like this... XStorable storable = UnoRuntime.queryInterface(XStorable.class, document); // Save as Word 97 Document PropertyValue[] properti...

OfficeBean won't display after moving containing Swing Panel from one Container to another

Hi, I'm developing a Java 6 applet which allows users to view OO (v.3.2) documents (read only), and if they choose, click a button which launches a new JDialog window, with the document displayed in it which allows the user to and mark and redact it as they wish. Once they are done, they can close the JDialog, which saves the document t...

Programatically disabling OpenOffice "New", "Help" and "AutoText" shortcuts

Hi, I'm writing an applet (java 6) which contains an OpenOffice text document (OOo 3.2) using the OfficeBean - http://api.openoffice.org/docs/DevelopersGuide/OfficeBean/OfficeBean.xhtml. To tightly control the user's interaction with this document I want to disable all the OOo keyboard shortcuts, and have managed to use the following...

How to create ODS documents in .Net

I'm going to convert an existing C# project, which writes an Excelfile with multiple tabs, to write ODS documents instead. I can open the existing Excel files in Open Office and convert them there, but this isn't a good solution in the long run. Anybody know of any existing (preferably free/open source) API's that let you do this? Or if...

How do I embed OpenOffice Calc into my own application?

I would like to provide spreadsheet capability in my Cocoa application. From what I've heard, OpenOffice does allow some level of embedding, but I'll be darned if I can find that information in their official SDK documentation. Can anyone here point me in the right direction? ...

End-user-usable layout templating system

I'd like to build a cross-platform (linux and Windows at least) Python app that provides end users with the ability to create and modify layout templates for printed documents. These templates will be used to generate documents by merging them with the results of DB queries. It's important that the system be relatively easy to use and ...

[php] ODF document load

Is there any quick way to read/write an ODF file from PHP? ---- edit ----- I needed this for an ODS(spreadsheet) file http://www.opendocumentphp.org/ seems to be unmaintained so i didn't even bother. http://www.phpcraparchive.org/browse/package/4398.html (ods-php) gives an fatal error(tries to allocate more than 512Mb) when opening t...

Adding a Comment to a cell in a macro

I want to add a Comment to a cell in a macro. I have tried recording a macro to do it, but it doesn't do anything. Any ideas? Here's the meat of the recorded macro: dim document as object dim dispatcher as object document = ThisComponent.CurrentController.Frame dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") dispa...