Community
Participate
Working Groups
I have a Docbook v5 document which includes the following markup in section titles and table entries: <inlinemediaobject> <imageobject> <imagedata fileref="myfile.svg" width="0.65cm"/> </imageobject> </inlinemediaobject> When opening it, Vex encounters this exception: org.eclipse.swt.SWTException: Unsupported or unrecognized format at org.eclipse.swt.SWT.error(SWT.java:4361) at org.eclipse.swt.SWT.error(SWT.java:4276) at org.eclipse.swt.SWT.error(SWT.java:4247) at org.eclipse.swt.internal.image.FileFormat.load(FileFormat.java:84) at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:147) at org.eclipse.vex.ui.internal.swt.SwtGraphics.loadImageData(SwtGraphics.java:153) at org.eclipse.vex.ui.internal.swt.SwtGraphics.getImage(SwtGraphics.java:141) at org.eclipse.vex.core.internal.layout.ImageBox.createWithHeight(ImageBox.java:63) (...)
I added handling for SWTException in SwtGraphics.loadImageData since this is the exception of choice when a graphics format is not supported. (ac597f8bba8e494eea53f29fec774c0cad0d11bb)
Released 1.1.0 M1