Re: ODF specification regarding multistop/-color gradients

2016-09-11 Thread Jos van den Oever
Hello Heiko,

 is not a hack. It has been in the ODF specification since 
1.0.

Cheers,
Jos


On Saturday 10 September 2016 11:11:40 Heiko Tietze wrote:
> Hello all,
> 
> the LibreOffice conference gave me the chance to present some ideas
> regarding Draw and shapes in general. One of the most wanted features is
> the multistop gradient. Today we can define gradients between two colors,
> either linear, radial, or whatever. It would be nice to have a) non-linear
> multistop gradients, for example to illustrate a sundown with a small red
> and a larger yellow section, and b) a gradient over more than two colors,
> e.g. in order to add blue sky to the sundown.
> 
> Since Calligra offers multicolor gradients, Armin and me checked how it is
> saved (the rendering is build-in right now). And it turns out that they
> hack SVG into the ODF. For the (predefined) rainbow-like gradient the
> style.xml looks like this:
> 
>  svg:x1="0.00%" svg:x2="100.00%" svg:y1="0.00%"
> svg:y2="100.00%">  svg:stop-color="#ff"/> svg:stop-color="#ffe100"/> svg:stop-color="#00ff00"/> svg:stop-color="#00"/> svg:stop-color="#ff"/> svg:stop-color="#ff00fb"/> svg:stop-color="#ff0004"/> 
> 
> As an UX evangelist I don't care too much about the implementation and have
> rather the workflow and interactions in mind. Ideally the multi-gradient
> works with all features, and not as another type next to linear, radial
> etc. (There might be a problem that result in this sub-optimal solution).
> 
> And finally we have to take interoperability into account as well as the
> conformity to the ODF specs (no idea if and how it is defined).
> 
> So how do we make multistop/multicolor gradients possible?
> 
> Cheers,
> Heiko
> 
> PS: Suggestions on how to implement this feature in the UI are existing.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


findings from the plugfest

2015-11-19 Thread Jos van den Oever

Hello dear LibreOffice developers,

At the last ODF plugfest, LibreOffice was put under quite some scrutiny, 
as were the other office suites.

The findings were written down in a report:
 http://odfplugfest.org/2015-thehague/report.html
The number of bugs found can be seen at the bottom of the page. The 
individual bugs for LibreOffice are prepended with 'Bug: LibreOffice'.


The names in bugs relate to the tests at
  http://autotests.opendocumentformat.org/

I hope you find the report useful in improving LibreOffice. At the next 
plugfest we will be running and evaluating the tests again.


Best regards,
Jos van den Oever

--
Jos van den Oever
co-chair OpenDocument Format Technical Committee
.
Ministry of the Interior and Kingdom Relations
Center for Standards | Logius
Wilhelmina van Pruisenweg 52 | 2595 AN | Den Haag
Postbus 96810 | 2509 JE | Den Haag
.
M +31(0)6-54715404
jos.vanden.oe...@logius.nl
www.logius.nl
www.oasis-open.org/committees/office/
.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] flat xml odf

2011-01-13 Thread Jos van den Oever
On Thursday, January 13, 2011 09:33:49 am Peter Jentsch wrote:
 I really only replaced the implementation of the flat format filter with a
 lightweight version the requires neither Java nor Xslt. I didn't  look at
 what the Odf specification says about flat XML, so I can't tell you
 inhowfar the exported XML conforms to the spec. But in principle, the
 whole XML filter infrastructure in LibO is internally based on some kind
 of flat XML structure, so there shouldn't be anything missing from the
 documents.
I trust you validated the flat XML with the RNG from the specification. Do you 
have a set of test documents in flat or zip format that you use for testing the 
import and export of flat xml files?

 The conversion back and forth is only insofar easy to share with other
 applications as LibO provides an API to importing and exporting documents.
 The filters depend on the LibO XML filter infrastructure an cannot be used
 independently of that.
Ok, so the code is not modular enough to easily share. I was hoping for some 
xslt files that might be shared.
 
 The changes I made are currently on their way to the master branch and
 might become available with LibO 3.4.
 
 Does that answer your question?
Yes, thanks for your reply.

Cheers,
Jos

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice