openoffice.org

Fill non-contiguous blank cells with the value from the cell above the first blank [duplicate]

守給你的承諾、 提交于 2019-11-27 15:09:01
This question already has an answer here: Fill non-contiguous blank cells with the value from the cell above the first blank 1 answer I want to know if there is a way to do this conditional in excel or open office: if the cell is empty then the cell will have the same value as the cell above it else do nothing. Should I use a macro for this? Please help me out; I have very little experience with Excel. c 1 | 10/21/2011 c 2 | c 3 | c 4 | 10/24/2011 c 5 | c 6 | c 7 | 10/25/2011 c 8 | c 9 | c10| 10/26/2011 Select the range that contains blank cells you need to fill. Click Home > Find & Select >

Uncompress OpenOffice files for better storage in version control

那年仲夏 提交于 2019-11-27 14:42:52
问题 I've heard discussion about how OpenOffice (ODF) files are compressed zip files of XML and other data. So making a tiny change to the file can potentially totally change the data, so delta compression doesn't work well in version control systems. I've done basic testing on an OpenOffice file, unzipping it and then rezipping it with zero compression. I used the Linux zip utility for my testing. OpenOffice will still happily open it. So I'm wondering if it's worth developing a small utility to

Use OpenOffice Uno CLI with C# to create a spreadsheet

落花浮王杯 提交于 2019-11-27 12:37:31
问题 I have so far found a couple of sources that discuss creation of ODS files: How to create ODS documents in .Net and How to create .odt files with C#.NET? And most interestingly an explanation for opening calc files. However this opens OpenOffice in fullscreen, what im looking for is some way to write to a Calc file (.ods) without actually opening Openoffice. So that I can write a function that just opens a savefiledialog, gets the filename and then creates and saves the .ods file. Are there

How can I use OpenOffice in server mode as a multithreaded service?

只谈情不闲聊 提交于 2019-11-27 04:18:01
问题 What is the experience of working with OpenOffice in server mode? I know OpenOffice is not multithreaded and now I need to use its services in our server. What can I do to overcome this problem? I'm using Java. 回答1: Yes, I am using OpenOffice as a document conversion server. Unfortunately, the solution to your problem is to spawn a pool of OpenOffice processes. The commons-pool branch of JODConverter (before it moved to code.google.com ) implemented this out-of-the-box for you. 回答2: With the

OpenOffice command line PDF creation

感情迁移 提交于 2019-11-27 01:27:10
问题 I have some documentation written in OpenOffice, and I would like to include some of it as PDF files in the final build deliveries. I would like to do this with the automated build script. Is there a way to create a PDF file from OpenOffice with a command line command? 回答1: Art of Solving has also a very good API to perform the conversion in Java. It is a little slow but it is simple enough. This is how I use it: File inputFile = new File("C:\\oreyes\\hola.doc"); File outputFile = new File("C

Open Office Spreadsheet (Calc) - Concatenate text cells with delimiters

爷,独闯天下 提交于 2019-11-27 01:23:24
问题 I am using Open Office's spreadsheet program and am trying to concatenate several text cells together with delimeters. For example, suppose I have the cells below: +--------+ | cell 1 | +--------+ | cell 2 | +--------+ | cell 3 | +--------+ | cell 4 | +--------+ | cell 5 | +--------+ I would like to concatenate them with delimiters so that the result is in one cell like this one: +----------------------------------------------+ | (cell 1),(cell 2),(cell 3),(cell 4),(cell 5) | +---------------

Join two spreadsheets on a common column in Excel or OpenOffice

帅比萌擦擦* 提交于 2019-11-27 01:03:53
问题 I have two CSV files with a common column and I want to "Join" the tables together on the common column. For example: Join 'A' with 'B' equals 'Result'. If a one table has a key value that does not exist on in the other table its just left as blank. == Table A == == Table B == == Table result == Name ,Age Name ,Sex Name ,Age ,Sex Bob ,37 + Bob ,Male => Bob ,37 ,Male Steve ,12 Steve ,Male Steve,12 ,Male Kate , 7 Kate , 7 , Sara ,Female Sara , ,Female I know how to do this with an SQL database

how to create an odt file programmatically with java?

拈花ヽ惹草 提交于 2019-11-27 00:45:17
问题 How can I create an odt (LibreOffice/OpenOffice Writer) file with Java programmatically? A "hello world" example will be sufficient. I looked at the OpenOffice website but the documentation wasn't clear. 回答1: Take a look at ODFDOM - the OpenDocument API ODFDOM is a free OpenDocument Format (ODF) library. Its purpose is to provide an easy common way to create, access and manipulate ODF files, without requiring detailed knowledge of the ODF specification. It is designed to provide the ODF

Saving to pdf from OpenOffice

别等时光非礼了梦想. 提交于 2019-11-26 21:43:08
问题 Since I just asked this question and got a very useful reply I wonder if anyone has already the code for using the documentTopdf routine built in in Open Office for saving odt, doc, docx files to pdf. Here there is the c# example anyway since having it in Delphi direcly would be great for many users. 回答1: Very similarly :) Here is the tutorial describing all features used for configuration of the generated document. For the following example I chose fit to width magnification, password

Script to associate an extension to a program

梦想与她 提交于 2019-11-26 18:52:25
My customer is replacing MS Office with OpenOffice in some workstations. My program export a file to Excel using the .xml extension (using open format) and opens it using the current associated program (using ShellExecute) The problem is that OpenOffice does not register the .xml extension associated with it. Manually association works fine, but I want to make a .reg or something to easily change the setting. I'm looking in the registry in a PC with the change already made, but the "HKEY_CLASSES_ROOT\.xml" key does not have anything referencing OpenOffice. Where is the association stored? How