Re: Fwd: Re: xmlbeans successor

2017-01-05 Thread Jason Harrop
I made a new POC of using current docx4j in Android Studio: https://github.com/plutext/Docx4j4Android4 So I thought I'd share my JAXB related experiences: MOXy ^^ MOXy generates class files on the fly during Context init (see stack trace copied below) org.eclipse.persistence.internal.jaxb.J

Re: Fwd: Re: xmlbeans successor

2016-05-03 Thread Jason Harrop
Its the one Andreas linked to: http://www.docx4java.org/blog/2012/05/jaxb-can-be-made-to-run-on-android/ On Tue, May 3, 2016 at 8:53 PM, Nick Burch wrote: > On Tue, 3 May 2016, Jason Harrop wrote: >> >> I'm pretty relaxed about the license; whatever is compatible with the >

Re: Fwd: Re: xmlbeans successor

2016-05-03 Thread Jason Harrop
I'm pretty relaxed about the license; whatever is compatible with the original license and makes sense for ASL v2 code bases, and on Android ... In any case, anyone could follow the recipe in the blog post to redo it. It might be worth redoing it in any case, based on the current JAXB RI code (si

Re: xmlbeans successor

2016-04-20 Thread Jason Harrop
JAXB for XML signing. Been there, done that ;-) Yes, it is a PITA, especially to support both the reference and MOXy implementations, but it is do-able. (Docx4j 3.3.0 Enterprise features this, and uses some POI code to do it, for which I am grateful) If POI does decide to adopt JAXB, then it wo

Re: [Discussion] Generating MS Word documents based on templates

2015-01-16 Thread Jason Harrop
Of all the technologies available in Word which can be used as the basis of a document generation system, I have long believed content control data binding is most robust. See further [1]. The basic concept is that you keep your data in an XML file (with or without a schema of your choosing), and

Re: Performanc​e issues related to XMLBeans

2014-08-06 Thread Jason Harrop
docx4j - which my company sponsors - uses JAXB and has done since its inception. The docx4j jar, including classes for the schemas, is around 4 MB. I've attached below a list of package names, to give you an idea of which schemas are included (namely schemas from the standard, plus some addition

Re: Validation tool for OOXML documents

2013-07-02 Thread Jason Harrop
An approach I use is to split the pptx in two. If one half opens but the other doesn't, then repeat the process on the half that doesn't open. Eventually you'll isolate the slide with the problem. Of course you need a way to split the pptx in two; in your case you could try using LibreOffice or

Re: External viewer based on POI

2009-10-04 Thread Jason Harrop
One approach, taken by Alfresco, has OpenOffice running on the server to create a pdf from the office document, and then pdf2swf to view it. On Mon, Oct 5, 2009 at 12:39 PM, Konstantin Kharitonov wrote: > On Mon, Oct 5, 2009 at 05:17, qiang li wrote: >> >> I think this is a similar product(spre

Re: help with tables

2008-07-21 Thread Jason Harrop
Ok, docx4j v2 release does a basic conversion of a binary doc table to OpenXML, using hwpf. On Sat, Jul 19, 2008 at 10:55 PM, Jason Harrop <[EMAIL PROTECTED]> wrote: > Unless you have to output in the binary doc format, I'd consider doing > this using the XML representation. >

Re: HWPF dependency on HSSF

2008-07-21 Thread Jason Harrop
Perfect. Thanks Nick. On Mon, Jul 21, 2008 at 7:36 PM, Nick Burch <[EMAIL PROTECTED]> wrote: > On Sat, 19 Jul 2008, Jason Harrop wrote: >> >> I would like to create a jar containing only the stuff necessary to work >> with HWPF. >> >> I ca

Re: help with tables

2008-07-19 Thread Jason Harrop
Unless you have to output in the binary doc format, I'd consider doing this using the XML representation. You could use try using the recent POI OOXML beta, or you could try docx4j. docx4j uses poi's hwpf to convert a binary doc to Java, and then you have a strongly typed object model with which

HWPF dependency on HSSF

2008-07-19 Thread Jason Harrop
Hi I would like to create a jar containing only the stuff necessary to work with HWPF. I can remove hssf, except that 5 classes in org.apache.poi.ddf depend on org.apache.poi.hssf.record.RecordFormatException Could RecordFormatException be moved from org.apache.poi.hssf to org.apache.poi or org.

Re: Is OOXML Inadvertantly Encumbered, and How to Resolve the Question.

2008-04-12 Thread Jason Harrop
Subject: Re: Rejection of any ENCUMBERED Microsoft Donation to POI To: Jason Harrop <[EMAIL PROTECTED]> Hi, Jason, The most authoritative source to cite for the Microsoft Open Specification Promise not conferring sufficient rights to implement OOXML is here. <http://law.bepress.com/

ooxml branch and docx

2008-04-09 Thread Jason Harrop
Hi By way of introduction, i'm the maintainer of docx4j, a library for manipulating WordprocessingML files in Java, recently re-released under the apache v2 license. I was looking today at my generated classes for CT_RPr and CT_ParaRPr - the content model for an rPr element inside a pPr is essent

Binary Format-to-ISO/IEC JTC 1 DIS 29500 Translator Project

2008-01-16 Thread Jason Harrop
Brian Jones writes, at http://blogs.msdn.com/brian_jones/archive/2008/01/16/mapping-documents-in-the-binary-format-doc-xls-ppt-to-the-open-xml-format.aspx To make it even easier for third party conversion of Binary Format-to-DIS 29500, Microsoft agreed to: * Initiate a Binary Format-to-ISO/IE