Created attachment 55254 [details]
Visio files that shows all possible fill patterns
Libvisio currently doesn't support fill patterns (apart from patterns 25 to 40 which are really gradients). See attached a Visio file that includes all fill patterns supported by Visio 2007.
Created attachment 55255 [details]
PNG output from Visio showing what the diagram should look like
Created attachment 55256 [details]
PNG output from LibreOffice showing what LO imports
Indeed, we are not supporting the fill patterns as of yet. Nevertheless, it could be a good entry-level task to try to emulate them in LO, then see what ODF snippets they correspond to and then extend the VSDXContentCollector::_fillAndShadowProperties function.
Could it be ported from libcdr?
Created attachment 81720 [details]
A visio file that I cannot open with LibreOffice draw
Hi, I have a visio file that can be opened in Visio and cannot be opened in LibreOffice. Can you help me figure out what's wrong with this file?
Thanks for your help, Clark
(In reply to comment #5)
> Created attachment 81720 [details]
> A visio file that I cannot open with LibreOffice draw
Could you please open a separate bug for it?
2Fridrich, looks like normal v11 file.
(In reply to comment #5)
> Hi, I have a visio file that can be opened in Visio and cannot be opened in
> LibreOffice. Can you help me figure out what's wrong with this file?
I agree with Valek that opening of a new bug in this kind of situations is desirable. Nonetheless, I fixed in libvisio the bug that prevented the file from being open. There is still a little problem. The structure of the file makes libvisio completely misperform. On my i7 laptop:
fstrba@strba420:~/Downloads> date && vsd2raw Metabolsim.vsd >/dev/null && date
Sun 30 Jun 11:42:42 CEST 2013
Sun 30 Jun 12:57:01 CEST 2013
It is mainly due to the fact that the page has 5k+ shapes and we keep them in memory until the last one, since Visio does not show then in the order they are in the file. I will look how to diminish the memory consumption. In the meantime, I attach here the converted document for your use.
Created attachment 81736 [details]
xz compressed flat odg file
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
*Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.1 or later)
*If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
*If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System
Please DO NOT
*Update the version field
*Reply via email (please reply directly on the bug tracker)
*Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to "inherited from OOo";
4b. If the bug was not present in 3.3 - add "regression" to keyword
Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa
Thank you for your help!
-- The LibreOffice QA Team This NEW Message was generated on: 2015-04-18
This commit in libvisio:
and this commit in libodfgen:
implement the basic hatching.
It is not perfect and the patterns 8, 9, 10, 11, 12, 17, 18 and 24 are bogus emulation, just to have some fill, but I will consider this bug closed and improvements with patches can be done in a new bug :)
BTW, some patterns will have to be emulated by inverting the background and foreground colours.
Created attachment 122332 [details]
Though the patterns are now displayed correctly in Draw, a user can manipulate the pattern in the Area dialog.
(In reply to Yousuf (Jay) Philips from comment #11)
> Though the patterns are now displayed correctly in Draw, a user can
> manipulate the pattern in the Area dialog.
Typo, it should have been cant. :D