Config ui prototype and some minor fixes
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@29 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
f6c8e1709e
commit
e8bba32302
50 changed files with 1091 additions and 110 deletions
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.0 (2009-03-08)
|
||||
* Version 1.0 (2009-09-07)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -391,6 +391,9 @@ public class DrawConverter extends ConverterHelper {
|
|||
// Add alternative text, using either alt.text, name or file name
|
||||
Element frame = getFrame(onode);
|
||||
Element desc = Misc.getChildByTagName(frame,XMLString.SVG_DESC);
|
||||
if (desc==null) {
|
||||
desc = Misc.getChildByTagName(frame,XMLString.SVG_TITLE);
|
||||
}
|
||||
String sAltText = desc!=null ? Misc.getPCDATA(desc) : (sName!=null ? sName : sFileName);
|
||||
image.setAttribute("alt",sAltText);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue