openoffice.org

Algorithm of naming embedded Pictures in OpenOffice

I need to embed images inside OpenOffice Text documents without the help of OpenOffice itself. For that I need to work directly inside the zip archive and modify the appropriate xml files. The problem I have now is that OpenOffice stores embedded pictures inside a picture folder and asigns a unique name to them according to the informati...

Does Open Office need to be installed to be used by a deployed application?

I am thinking of using Open Office from my winforms application to produce printouts of data. I would like to reference the API and programmatically manipulate documents from my client PCs. To clarify, I don't want to host a window with Write inside it so users can edit documents from within my application. I just want to programmatica...

How can I count words in complex documents (.rtf, .doc, .odt, etc)?

I'm trying to write a Python function that, given the path to a document file, returns the number of words in that document. This is fairly easy to do with .txt files, and there are tools that allow me to hack support for a few more complex document formats together, but I want a really comprehensive solution. Looking at OpenOffice.org'...

How to create an OpenOffice document in .NET

I am starting to write an application that will output an OpenOffice document. The content.xml file in an empty ODT document begins: <?xml version="1.0" encoding="UTF-8"?> <office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xml...

Transform text in OpenOffice.org Spreadsheet

I have list of text that contain double quoate and upderscore. How can I use function to change text pattern to following format. "CUSTOMER_DETAIL" to CustomerDetail "PERSON" to Person "CUSTOMER_ADDRESS_DETAIL" to CustomerAddressDetail Thank you for replay. ...

OpenOffice.org headless installer

Hi! I use OpenOffice.org only for PDF generation in my project, but my users have to download the whole OpenOffice package if they want to use the software. Is there any Ooo installer which only installs a headless Writer, and wich has a minimal installer which dont includes the other unused components (UI, Impress, etc.)? ...

OpenOffice.org BASIC macro for Impress that assign the AnimationEffect APPEAR to current selection

See title. Sounds simple but I'm new to OpenOffice scripting. Relevant: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Drawings/Animations_and_Interactions ...

How do I keep formatting when copying from gedit into open office?

I am editing octave files in gedit, and it does a nice job highlighting them. However, when I try to copy and paste the code into Open Office, it loses all formatting. Even when I try paste > special, it still doesn't work. Is there any way to do this without having to manually go through all my code highlighting keywords? ...

Howto Change Language in a cell in a OpenOffice Calc spreadsheet with help of macro.

The generated code when I make macro recording when I change language (to Spanish for example) does not work in OpenOffice Calc. It does work in OpenOffice Write. Which function calls shall be used in a OpenOffice Calc Macro to change the lanuage in the marked cells? ...

Open Office Impress

Hi I have seen that in some question around presentation you suggest using OO Impress for this. I am trying to show multiple presentation in a non fullscreen window, but havent been very successful so far. Ideally I want to be able to move this presentation windows around the screen. I have searched the Open Office forum but the is almo...

How can I take the performance information from OpenOffice in C#?

I'm trying to monitor the performance information for openoffice using the performance counter class in C#. I'm encountering a wierd issue where although my program can monitor other applications information just fine, it cannot monitor open office's performance data properly using the same procedure. Essentially, I create a process and ...

How do use OpenOffice components without installing OpenOffice.org ?

Hello. I'm working on solution for printing office documents based on OpenOffice.org UNO. My project is writing on C# .net. So my question is - it possible to use only required OpenOffice components without installing complete OpenOffice.org. My problem - deploying solution for end users. Thanks for advance. ...

OpenOffice with .NET: how to iterate throught all paragraphs and read text

How to iterate through all paragraphs in OpenOffice Writer document and output text. I have Java examples, but don't know how to convert code to C#. Java example could be found here: http://wiki.services.openoffice.org/wiki/API/Samples/Java/Writer/TextDocumentStructure My C# code: InitOpenOfficeEnvironment(); XMultiServiceFactory multi...

OpenOffice Base update fields in form

Hi I have a simple question I just cant figure out. In OpenOffice Base I try to make a form where it is possible to enter an order. When you enter a customer id. I have 2 textboxes there should be updated with information about the customer name and a description about the customer. How does I get these 2 textboxes to update? at the ...

How to convert TSV to CSV using openoffice

How do convert TSV file to CSV format using openoffice ? ...

OpenOffice iterating through TextTable detect merged and split cells (calculate colspan and rowspan)

I am using OpenOffice uno api to iterate through all text in writer document. To iterate over text tables currently I am using XTextTable interface getCellNames() method. How I could detect merged and split cells. I want to export table to html, so I should calculate colspan and rowspan. I would appreciate any suggestions... I am out of...

Embed WTL App in ATL ActiveX control

Is there a way to somehow Embed a WTL destop application in ATL ActiveX (ie extension)? What I'm trying to achieve is to create an ActiveX control with office files Viewer. As a base I have a desktop WTL application (written some time ago) which uses OOo v3 API to display documents. I have created an ActiveX project, linked necessar...

Library to write an odf file from a C program

Does anyone know of a library that will allow me to write an odt (Open Document Format, i.e. OpenOffice compatible) file from a C program? ...

Replacing in part of a document with OpenOffice.org BASIC

I try to replace a word in an OpenOffice document, from the visual cursor to the end of the document. I would like to do it in a single operation, so that I could eventually undo the action in one step. Unfortunatelly, the only method I have located is ReplaceAll, that seems to work only for whole documents and not for shorter ranges. ...

How do you read a cell's value from an OpenOffice Calc .ods file with python?

I have been able to read an excel cell value with xlrd using column and row numbers as inputs. Now I need to access the same cell values in some spreadsheets that were saved in .ods format. So for example, how would I read the value stored in cell E10 from a .ods file from python? ...