home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Apps.iso / LighthouseApps / Quantrix-2.3-MIHS / QAPI_ExportHTML.1.6.README next >
Encoding:
Text File  |  1998-04-25  |  3.9 KB  |  132 lines

  1. QAPIExportHtml 
  2.  
  3. Purpose:
  4. This QAPI-based  bundle allows for exporting Quantrix.app's tables into HTML tables.
  5.  
  6. Quantrix.app is a powerful spreadsheet by Lighthouse, Inc. which can be reached at
  7. http://www.lighthouse.com
  8.  
  9. QAPI is Application Programmer's Interface to Quantrix. 
  10.  
  11. Installation:
  12.  
  13. Copy ExportHtml.bundle into your ~/Library/Quantrix if intended for your use only, or into
  14. /LocalLibrary/Quantrix to make the bundle available to all users. 
  15.  
  16. When you start Quantrix.app the next time, you will notice a new menu item 'Extras'.
  17.  
  18. Usage:
  19.  
  20. Create a table in Quantrix. Then click on the item 'Extras/Export Html...' in the menu and
  21. choose a file name in the save panel which appears. 
  22.  
  23. You can set a few HTML parameters in the save panel. These settings can be saved
  24. and restored.
  25.  
  26. Warning:
  27. Save your data before exporting.
  28. Be careful - only the simplest tables with no groups are supported. 
  29. No guarantee for complicated tables.
  30.  
  31. NS Version:
  32. Compiled QuadFat under NS 3.3 
  33.  
  34. Tested on black and white hardware.
  35.  
  36. Should run under other versions of NS on other hardware platforms as well.
  37.  
  38. Limitations:
  39. Only simple tables are exported correctly.
  40.  
  41. You are free to expand this example as long as you don't remove my name from the code.
  42. See to ToDo section for details 
  43.  
  44.  
  45. ______________________________________________
  46.  
  47. History and other details: 
  48.  
  49. Version 1.6 - September 19, 1997
  50. Changes by Rudy Blazek 
  51. blazek@stt.msu.edu
  52.  
  53. fixed:    color attributes work also for column labels now.
  54.     row labels exported correctly.
  55.     file name taken from the model name correctly.
  56. added:  
  57.          user interface - an accessory view in the SavePanel; 
  58.                           and an info panel.
  59.          user selectable options:
  60.             - on/off: export column labels 
  61.             - on/off: color attributes
  62.             - background color: table
  63.             - background color: page
  64.             - on/off: table background = page background
  65.             - size: table border
  66.             - size: cell spacing
  67.             - size: cell padding
  68.             - size: label font size increase
  69.          preferences - all the user interface settings can be saved/restored.
  70.  
  71. todo:   
  72.          check if the table is too complicated for exporting 
  73.                and give a warning !
  74.          info panel floating above save panel
  75.          alignment for column labels doesn't work (??)
  76.          cell size, font size and style.
  77.          selecting categories based on view, not table.
  78.          ultimately support for complicated tables (not soon).
  79.          should play, sing, and dance while saving
  80.  
  81. Reply to the comment below:
  82.  
  83. Seems like selecting cells / items (=label etc.) in a View and
  84. using something like [[aSelection q_itemFormatFor:anItem]
  85. q_textAlign] etc. is the only reasonable way of accessing the
  86. cells attributes. The sole purpose of the selection is linking
  87. the cell to the current view which defines the physical look.
  88. But the selection does not have to be the device for selecting
  89. the cell (should contain it though - for safety reasons -
  90. haven't tested whether not doing so would cause a crash).
  91.  
  92.  
  93. Version 1.5
  94. changes by Scott Anguish
  95. sanguish@digifix.com
  96.  
  97. fixed      - empty cells no longer show up as a "."  it now
  98.         inserts  
  99. added    - support for font colors
  100.         the negative color doesn't seem to be used though
  101.         no other color settable stuff seems to be
  102.         available in the UI
  103.     - support for alignment
  104.         only seems to work for fields explicitly aligned
  105.         smart alignment is ignored
  106.     - background colors for cells
  107.  
  108. Comments: Seems like there should be a one stop place in the API
  109. to access the actual physical look of the cell, i.e. what the UI
  110. makes it look like, so that smart alignment, text color etc is
  111. returned for the actual cell regardless of its default,
  112. selection or whatever setting. 
  113.  
  114. Also compiled QuadFat.
  115.  
  116. Introductory version
  117. Rudy Blazek, November 22, 1996
  118. blazek@stt.msu.edu
  119.  
  120.  
  121.  
  122. ______________________________________________
  123.  
  124. Good luck
  125.  
  126.  
  127.  
  128.                 Rudy Blazek
  129.                 blazek@stt.msu.edu
  130.                 http://www.stt.msu.edu/~blazek
  131.  
  132.