odb ODF standard conformance [was: minutes of ESC call ...]
Miklos Vajna
vmiklos at collabora.co.uk
Fri Dec 20 06:09:04 PST 2013
Hi Lionel,
On Fri, Dec 20, 2013 at 02:40:18PM +0100, Lionel Elie Mamane <lionel at mamane.lu> wrote:
> 2) ooo103006-1.odb/reports/Obj131/content.xml[2,6115]: Error: element
> "form:hidden" is missing "id" attribute
>
> This one probably just needs an ID generated. Shall we just call
> something like BASE64ENCODE(RANDOM(give me 9 bytes))? Or is there a
> more structured system in LibreOffice?
Random is probably the worst method you can think about. Can't you just
use an integer id, starting from 0? Assuming that there is some exporter
class where you can store this id, so the counter is reset back to 0
each time you start an export. At least that's what we do for e.g.
pictures in the DOCX export.
Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20131220/4fbaa533/attachment.pgp>
More information about the LibreOffice
mailing list