Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread Andrea Pescetti
On 24/04/2015 Peter Kelly wrote: Encryption is enabled for the file. OpenOffice opens it without asking for a password for some really odd reason. OpenOffice asks for a password to open testDoc1.odt ; both in version 4.0.1 and 4.1.1 on my machine, with the official Linux 64-bit build. Regard

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread jan i
Hi this one opens nicely with microsoft word, something about Paragraph 1 and 2. have a nice evening. rgds jan i. On 24 April 2015 at 19:35, Gabriela Gibson wrote: > I made two of those at the same time, here is the second one. > > On Fri, Apr 24, 2015 at 6:30 PM, Gabriela Gibson < > gabriela

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread Peter Kelly
testDoc2.odt is fine - no encryption. Very odd. Do you have OO installed under Linux? I’d suggest doing so, it will make your testing easier. Also apt-get install should work for phantomjs under Ubuntu - I’m running the same version as you (14.04). -- Dr. Peter M. Kelly kelly...@gmail.com http

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread Gabriela Gibson
I made two of those at the same time, here is the second one. On Fri, Apr 24, 2015 at 6:30 PM, Gabriela Gibson wrote: > That was the first ever AOO file I made. so of course it would be strange > ;-D Newbie luck! > > I made it on a friend's windows laptop. > > Will ask him to bring it along so

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread Gabriela Gibson
That was the first ever AOO file I made. so of course it would be strange ;-D Newbie luck! I made it on a friend's windows laptop. Will ask him to bring it along so I can see if I can duplicate the problem. G On Fri, Apr 24, 2015 at 6:12 PM, Peter Kelly wrote: > Here’s an excerpt from manife

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread Peter Kelly
Here’s an excerpt from manifest.xml showing the encryption settings: -- Dr. Peter M. Kelly Founder, UX Productivity pe...@uxproductivity.com http://www.uxproductivity.com/ http://www.kellypmk.net/ PGP key: http://www.kellypmk.net/pgp-key (f

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread Peter Kelly
I think this file is corrupt… but in a *very* weird way. I unzipped it (using the ‘unzip’ command-line tool), and it seems to be a perfectly valid zip file, however when I look at the XML files they are all binary data. I’ve attached the content.xml I extracted, it’s not in any recognisable format.

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread Gabriela Gibson
On Fri, Apr 24, 2015 at 6:18 PM, Peter Kelly wrote: > On 24 Apr 2015, at 11:36 pm, Gabriela Gibson > wrote: > > > > I take it I can just run the /schemas/generate.sh script, or do I need to > > modify anything? > > You’re using linux, right? > Ubuntu LTS 14.04. > It turns out the scripts sti

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread jan i
On 24 April 2015 at 18:36, Gabriela Gibson wrote: > On Fri, Apr 24, 2015 at 4:42 PM, Peter Kelly wrote: > > > > On 24 Apr 2015, at 6:27 pm, Gabriela Gibson > > > wrote: > > > > > > In ODFConverterGet in file ODFConverter.c line 700 I check the value of > > the > > > first child node: > > > > >

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread Peter Kelly
> On 25 Apr 2015, at 12:18 am, Peter Kelly wrote: > > On 24 Apr 2015, at 11:36 pm, Gabriela Gibson > wrote: >> >> I take it I can just run the /schemas/generate.sh script, or do I need to >> modify anything? > > You’re using linux, right? > > It turns out the

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread Peter Kelly
On 24 Apr 2015, at 11:36 pm, Gabriela Gibson wrote: > > I take it I can just run the /schemas/generate.sh script, or do I need to > modify anything? You’re using linux, right? It turns out the scripts still work if you have a functioning phantomjs installation. In my Ubuntu VM I did: sudo apt

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread Gabriela Gibson
Oops I just realised I forgot to attach the AOO generated file I used. Here is it is. G On Fri, Apr 24, 2015 at 5:36 PM, Gabriela Gibson wrote: > On Fri, Apr 24, 2015 at 4:42 PM, Peter Kelly wrote: > >> > On 24 Apr 2015, at 6:27 pm, Gabriela Gibson >> wrote: >> > >> > In ODFConverterGet in f

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread Gabriela Gibson
On Fri, Apr 24, 2015 at 4:42 PM, Peter Kelly wrote: > > On 24 Apr 2015, at 6:27 pm, Gabriela Gibson > wrote: > > > > In ODFConverterGet in file ODFConverter.c line 700 I check the value of > the > > first child node: > > > > DFNode *odfDocument = DFChildWithTag(package->contentDoc->docNode, > >

Re: Value of OFFICE_DOCUMENT in DFXMLNames.h

2015-04-24 Thread Peter Kelly
> On 24 Apr 2015, at 6:27 pm, Gabriela Gibson wrote: > > In ODFConverterGet in file ODFConverter.c line 700 I check the value of the > first child node: > > DFNode *odfDocument = DFChildWithTag(package->contentDoc->docNode, > OFFICE_DOCUMENT); > > I'm assuming the correct value to be 'OFFICE_DO