On 10/03/2017 05:13 PM, Jeff Hooker wrote:
When a DITA author uses XMLmind’s automatic sizing tool (i.e. the red boxes which appear on the corners and sides of the image) to set the image’s size, XMLmind sets just one attribute (width).
The behavior of XMLmind XML Editor is correct. When you specify just the width of an image, the height is supposed to be automatically inferred in order to preserve the aspect ratio of the image.
When producing output for Javahelp, both size attributes (height and width) must be set if the image is to be displayed in anything other than its native size.
That's right.
How am I expected to use the single attribute defined by the sizing tool to infer the remaining attribute value? I’ve been experimenting but have yet to deduce an pattern.
You should not attempt to do this. Please leave just one dimension attribute set for the image.
This problem is really specific to Javahelp. There is no such problem for any other output format (at least when using our in-house ditac, XMLmind DITA Converter, http://www.xmlmind.com/ditac/).
Therefore it's the tool you use to convert DITA to Javahelp which should add a workaround for this Javahelp bug.
I would recommend that you report this as an issue to the developer of the tool you use to convert DITA to Javahelp (DITA OT?).
-- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support