opendocument

How to read and process Open Document Spreadsheet (*.ods) files with javascript?

微笑、不失礼 提交于 2020-12-15 05:30:50
问题 I am able to read and process *.xlsx files using an input element of type file and the library exceljs. Also see example code below. Unfortunately, exceljs does not seem to support open document spreadsheet files *.ods. (The worksheet is undefined). => How can I read and process *.ods files with javascript? https://github.com/exceljs/exceljs https://github.com/exceljs/exceljs/issues/716 static async readFile(file){ await this.__initializeExcel(); const workbook = new Excel.Workbook(); await

How to read and process Open Document Spreadsheet (*.ods) files with javascript?

主宰稳场 提交于 2020-12-15 05:29:41
问题 I am able to read and process *.xlsx files using an input element of type file and the library exceljs. Also see example code below. Unfortunately, exceljs does not seem to support open document spreadsheet files *.ods. (The worksheet is undefined). => How can I read and process *.ods files with javascript? https://github.com/exceljs/exceljs https://github.com/exceljs/exceljs/issues/716 static async readFile(file){ await this.__initializeExcel(); const workbook = new Excel.Workbook(); await

Convert .doc/.docx documents to .odt (Open document text) and vice versa using java.

和自甴很熟 提交于 2020-01-06 15:48:08
问题 Is there any java library which can be used for converted Microsoft Word files ( doc/docx ) to Open Document Text format( .odt ) formats. Free library would be preferable. 回答1: I don't know about any libraries that do it directly, but it should be relatively easy to exact the bits you're interested from a .docx using poi: http://poi.apache.org/ and then write them to an ODT format using ODFDOM: http://incubator.apache.org/odftoolkit/odfdom/index.html This should be relatively straightforward

Generate ODT documents with dynamic images in PHP

本小妞迷上赌 提交于 2020-01-02 06:11:34
问题 I maintain a couple of web databases based on PHP and mySQL on a shared hosting package. The databases have a mechanism for the user to upload OpenOffice documents with placeholders: [person.name] [person.address] [person.postcode] I then use this great PHP tool to run through the OpenOffice document and insert values from the database into it. The result is again, an OpenOffice document. What it can't do is dynamic images . Does anybody know a - preferably PHP-only - solution to insert

SAP BI Open Doc URL for retrieving pdf

邮差的信 提交于 2019-12-30 11:09:31
问题 In a reporting application we use, we were using BI 3.x API to produce Web reports. While doing the migration activity to 4.x version, we thought it is fine to go with open doc url rather than doing the report generation through API. Many of the samples I have seen uses sIDType and iDocID parameters along with Token value to retrieve the document by constructing a URL like below http://server:port/BOE/OpenDocument/opendoc/openDocument.jsp?token=[LogonToken]&iDocID=[XXXX]&sIDType=CUID But all

Populate a QTextDocument from a .odt file

大城市里の小女人 提交于 2019-12-20 03:39:10
问题 I am writing a rich text editor using C++ and Qt. For now, I would like it to support (at least) the .odt format. I found QTextDocumentWriter for writing the contents of the QTextDocument to a file, but I can't seem to find anything to read that back into the QTextDocument, which obviously makes saving it sort of useless in the first place. So the question is, how do I load an .odt document into a QTextDocument? 回答1: Qt does not currently support the ODT format. Okular has code that does

Setting style on a paragraph using ODF toolkit

霸气de小男生 提交于 2019-12-12 04:49:00
问题 I'm trying to generate a well structured OpenDocument Text file with Apache's ODF tookit. I hope to achieve this by using styles for different portions of data. So I generated a template file that contains all of the styles I wish to use. My next step was to try to use the Simple ODF API to setup my document. Apparently this is the recommended way to do this. For testing purposes I decided to keep things simple. So right now I am just trying to give one paragraph a predefined style. Here's

Error accessing Xpage using $$OpenDominoDocument.xsp method on database replica

戏子无情 提交于 2019-12-11 19:05:46
问题 I have a Form called 'Contact Level\Customer Contact | Customer Contact', which is a response document, and in the properties I have associated the customerContact XPage to the form. In all view panel controls I have use the 'XPage associated with the document's form' property. On server A the XPage is opened correctly using the $$OpenDominoDocument.xsp method from any view control. On server B, which has a replica of the server A database, the XPage does not open from any of the views using

Generate ODT documents with dynamic images in PHP

纵饮孤独 提交于 2019-12-05 15:56:28
I maintain a couple of web databases based on PHP and mySQL on a shared hosting package. The databases have a mechanism for the user to upload OpenOffice documents with placeholders: [person.name] [person.address] [person.postcode] I then use this great PHP tool to run through the OpenOffice document and insert values from the database into it. The result is again, an OpenOffice document. What it can't do is dynamic images . Does anybody know a - preferably PHP-only - solution to insert images into OpenOffice documents? I know PUNO . Can't use it in this context because it's shared hosting. I

Populate a QTextDocument from a .odt file

和自甴很熟 提交于 2019-12-02 02:10:27
I am writing a rich text editor using C++ and Qt. For now, I would like it to support (at least) the .odt format. I found QTextDocumentWriter for writing the contents of the QTextDocument to a file, but I can't seem to find anything to read that back into the QTextDocument, which obviously makes saving it sort of useless in the first place. So the question is, how do I load an .odt document into a QTextDocument? Qt does not currently support the ODT format. Okular has code that does parses ODT to a QTextDocument. Beware: Okular source code is released under GPL license. 来源: https:/