[brailleblaster] Saving and input

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Thu, 3 Jan 2013 15:25:54 -0600

Two methods in Semantics.java have been updated to make saving a 
document more flexible. saveWorkingFile and saveEnhanced document now 
take the complete path to a file as a parameter. The first saves the 
working document complete with UTDML. The second removes UTDml but keeps 
all editing changes and "locked" braille which has been moved into the 
document.

On input the makeDocumentModel method still takes a file generated by 
liblouisutdml to which UTDML markup has been added. This will probably 
be a temparary file. It is not needed once the document has been parsed. 

I think it is possible to add a function to liblouisutdml to retrieve a 
file from the Internet. This would be called something like translateURL 

Perhaps something could also be added to the Java bindings to handle an 
InputStream.

John

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities


Other related posts: