Community
Participate
Working Groups
The WikiText markup parser support image sizes being in pixels and in percent. The XslfoDocumentBuilder assumes that the image width is in pixels and does not support that the size may be specified in percent. Note that the HtmlDocumentBuilder does support both formats. In other words when generating HTML a image size of 50% will show up as normal. But when generating XSL:FO the size will be 50pixels.
Created attachment 189168 [details] Patch to handle image width in both pixels and percent
Created attachment 189169 [details] mylyn/context/zip
Thanks, patch applied with minor changes. I wrote a JUnit test @org.eclipse.mylyn.wikitext.core.parser.XslfoDocumentBuilderTest@, feel free to expand on tests with future patches.
Created attachment 190236 [details] mylyn/context/zip
David, please note that we are past the contribution deadline for 1.4 (3.5). Shouldn't be a problem since we are still iterating over the IP log but please be aware that we can't accept any further contributions for this release cycle: http://dev.eclipse.org/mhonarc/lists/mylyn-dev/msg01202.html .
Thanks for pointing that out Steffen. If it's a problem I'll update the target milestone and we can build WikiText for 3.5 off a branch.