Java 5 + Writer4LaTeX + bugfixes
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@11 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
be54e842f4
commit
9241a44f6c
83 changed files with 2373 additions and 631 deletions
|
@ -30,10 +30,10 @@ import java.util.Hashtable;
|
|||
import java.util.Enumeration;
|
||||
|
||||
public class XhtmlStyleMap {
|
||||
private Hashtable blockElement = new Hashtable();
|
||||
private Hashtable blockCss = new Hashtable();
|
||||
private Hashtable element = new Hashtable();
|
||||
private Hashtable css = new Hashtable();
|
||||
private Hashtable<String, String> blockElement = new Hashtable<String, String>();
|
||||
private Hashtable<String, String> blockCss = new Hashtable<String, String>();
|
||||
private Hashtable<String, String> element = new Hashtable<String, String>();
|
||||
private Hashtable<String, String> css = new Hashtable<String, String>();
|
||||
|
||||
public void put(String sName, String sBlockElement, String sBlockCss, String sElement, String sCss) {
|
||||
blockElement.put(sName,sBlockElement);
|
||||
|
@ -47,22 +47,22 @@ public class XhtmlStyleMap {
|
|||
}
|
||||
|
||||
public String getBlockElement(String sName) {
|
||||
return (String) blockElement.get(sName);
|
||||
return blockElement.get(sName);
|
||||
}
|
||||
|
||||
public String getBlockCss(String sName) {
|
||||
return (String) blockCss.get(sName);
|
||||
return blockCss.get(sName);
|
||||
}
|
||||
|
||||
public String getElement(String sName) {
|
||||
return (String) element.get(sName);
|
||||
return element.get(sName);
|
||||
}
|
||||
|
||||
public String getCss(String sName) {
|
||||
return (String) css.get(sName);
|
||||
return css.get(sName);
|
||||
}
|
||||
|
||||
public Enumeration getNames() {
|
||||
public Enumeration<String> getNames() {
|
||||
return element.keys();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue