https://bugs.freedesktop.org/show_bug.cgi?id=75973

--- Comment #2 from Noel Power <[email protected]> ---
Is it a bug or enhancement ? no idea but for sure this doesn't work, first I
thought this was actually a code bug with the buffer transformation work that
was done for increasing module code size capacity ( see PCodeBuffConvertor etc.
)
So.. the bad news is that either by oversight or design actually the case here
is actually as the bug title suggests e.g. that user types are not supported
for password protected Libraries. The missing part is that the user types
(actually the names) need to be somehow stored to the binary image format ( and
of course reconstructed etc. on load )

On a more positive note it shouldn't really be too hard to add support for
this. On thing that is needed is a new version for the binary format of basic
image so that this new feature can be cleanly supported. Luckily we already
have a new version ( that was created for natively saving the new image binary
format (for supporting bigger modules) and we currently don't write the new
image version anywhere ( although all the code to support it is in place ) Why
don't we ? the  reason is simple oversight, the new binary image format needed
to be introduced on a office version bump ( which at the the work was done for
that feature was in the future ) probably the whole openoffice/libreoffice
split had something to do with this ( or perhaps it was forgotten about
independantly ) but... in anycase we do have support for a new image version
already in place in the current libreoffice ( and older libreoffice ) versions.
It should be easy to introduce the new image version (with additional support
for user defined types) at the same time. I will look into it and at the very
least try and put some code pointers here (and/or maybe even a patch)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to