Loading tools/makedict/src/com/android/inputmethod/latin/makedict/XmlDictInputOutput.java +5 −0 Original line number Diff line number Diff line Loading @@ -296,6 +296,11 @@ public class XmlDictInputOutput { // TODO: use an XMLSerializer if this gets big destination.write("<wordlist format=\"2\""); final HashMap<String, String> options = dict.mOptions.mAttributes; if (dict.mOptions.mGermanUmlautProcessing) { destination.write(" " + OPTIONS_KEY + "=\"" + GERMAN_UMLAUT_PROCESSING_OPTION + "\""); } else if (dict.mOptions.mFrenchLigatureProcessing) { destination.write(" " + OPTIONS_KEY + "=\"" + FRENCH_LIGATURE_PROCESSING_OPTION + "\""); } for (final String key : dict.mOptions.mAttributes.keySet()) { final String value = dict.mOptions.mAttributes.get(key); destination.write(" " + key + "=\"" + value + "\""); Loading Loading
tools/makedict/src/com/android/inputmethod/latin/makedict/XmlDictInputOutput.java +5 −0 Original line number Diff line number Diff line Loading @@ -296,6 +296,11 @@ public class XmlDictInputOutput { // TODO: use an XMLSerializer if this gets big destination.write("<wordlist format=\"2\""); final HashMap<String, String> options = dict.mOptions.mAttributes; if (dict.mOptions.mGermanUmlautProcessing) { destination.write(" " + OPTIONS_KEY + "=\"" + GERMAN_UMLAUT_PROCESSING_OPTION + "\""); } else if (dict.mOptions.mFrenchLigatureProcessing) { destination.write(" " + OPTIONS_KEY + "=\"" + FRENCH_LIGATURE_PROCESSING_OPTION + "\""); } for (final String key : dict.mOptions.mAttributes.keySet()) { final String value = dict.mOptions.mAttributes.get(key); destination.write(" " + key + "=\"" + value + "\""); Loading