edu.stanford.hci.r3.tools.design.acrobat
Class AcrobatCommunicationServer

java.lang.Object
  extended by 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.


Constructor Summary
AcrobatCommunicationServer(int port, java.io.FileOutputStream log)
           
 
Method Summary
 void closeSockets()
           
static void main(java.lang.String[] args)
          Sep 6, 2006
protected static void startServer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcrobatCommunicationServer

public AcrobatCommunicationServer(int port,
                                  java.io.FileOutputStream log)
Parameters:
port -
log -
controller -
Method Detail

main

public static void main(java.lang.String[] args)
Sep 6, 2006


startServer

protected static void startServer()

closeSockets

public void closeSockets()

Copyright 2006 Stanford University