edu.stanford.hci.r3.tools.design.acrobat
Class AcrobatCommunicationServer
java.lang.Object
edu.stanford.hci.r3.tools.design.acrobat.AcrobatCommunicationServer
public class AcrobatCommunicationServer
- extends java.lang.Object
In Acrobat, run this javascript to send the annotations over to this server.
this.submitForm({
cURL: "http://localhost/",
cSubmitAs: "XFDF",
bAnnotations: true
});
When XML comes in, transform it such that we flip the heights (Adobe considers 0,0 the bottom
left of a page; We consider it the top left, like in a GUI toolkit. Then, write the XML file to
disk as a region configuration file.
This software is distributed under the BSD License.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AcrobatCommunicationServer
public AcrobatCommunicationServer(int port,
java.io.FileOutputStream log)
- Parameters:
port - log - controller -
main
public static void main(java.lang.String[] args)
- Sep 6, 2006
startServer
protected static void startServer()
closeSockets
public void closeSockets()