Difference between revisions of "Education Project/Effort/Improve Scanner Use"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
Line 4: Line 4:
  
 
Improve it is mandatory
 
Improve it is mandatory
 +
 +
====Important Links====
 +
 +
[http://www.sane-project.org/ Sane Project]
 +
 +
[http://www.sane-project.org/sane-supported-devices.html Supported devices]
 +
 +
[http://www.ellert.se/twain-sane/ Mac OS X Sane]
 +
 +
[http://www.hamrick.com/vsm.html Vuescan]
 +
 +
===OpenOffice.org code location===
 +
 +
extensions/source/scanner
 +
 +
[FIXME]: Twain interface should work on Mac OS X version of OpenOffice.org, and configure does accept
 +
 +
--with-system-sane
 +
--with-sane-headers
 +
 +
command line options. Tests scheduled
 +
 +
===Products built ===
 +
 +
All :  scanner , scnserv 
 +
 +
Windows( WNT) :  scanwin
 +
 +
Other ( UNX or OS2 ) :
 +
 +
sane, sandlg scanunx and grid
 +
 +
 +
Todo: analyse current implementation
 +
 +
== Interface description ==
 +
 +
The complete interface is defined in  (list to be confirmed ):
 +
 +
In OpenOffice.org source code : 
 +
 +
offapi/com/sun/star/scanner
 +
 +
ScanError.idl
 +
 +
ScannerContext.idl
 +
 +
ScannerException.idl
 +
 +
ScannerManager.idl
 +
 +
XScannerManager.idl
 +
 +
offapi/com/sun/star/awt  ( lot of references )
 +
 +
+Includes :
 +
 +
* grid.cxx
 +
cstdio, cmath, grid.hxx, /* stl, for ::std::sort */  algorithm , 
 +
 +
+ (from grid.hxx) : vcl/window.hxx, vcl/button.hxx, vcl/listbox.hxx, vcl/dialog.hxx
 +
 +
*
 +
 +
== Dialog boxes ==
 +
 +
The dialog boxes are defined in :
 +
 +
extensions/source/scanner/sanedlg.src
 +
 +
extensions/source/scanner/grid.src
 +
 +
 +
== Implementation description ==
 +
 +
GridWindow
 +
 +
===Mac OS X side===
 +
 +
Links :
 +
 +
[http://developer.apple.com/documentation/DeviceDrivers/Conceptual/AccessingHardware/AH_Intro/chapter_1_section_1.html#//apple_ref/doc/uid/TP40002714-BAJDAJDJ '''Accessing Hardware from Applications''' ]
 +
 +
[http://www.twain.org/mac.htm '''Twain Mac''']
 +
 +
[http://developer.apple.com/technotes/tn2002/tn2088.html#TAN4  '''TN2088 / Twain Data Sources for Mac OS X''']
 +
 +
SDK :
 +
 +
[ftp://ftp.apple.com/developer/Development_Kits/ImageCapture_Tiger_SDK.dmg '''Apple Image SDK''' ]
 +
 +
Other :
 +
 +
[http://www.twain.org/docs/TWAIN2d_proposal.pdf  '''Twain 2.0 specifications (draft)''']

Revision as of 18:21, 7 February 2008

Draft :

Current Scanner implementation is .. hmm

Improve it is mandatory

Important Links

Sane Project

Supported devices

Mac OS X Sane

Vuescan

OpenOffice.org code location

extensions/source/scanner

[FIXME]: Twain interface should work on Mac OS X version of OpenOffice.org, and configure does accept 
--with-system-sane
--with-sane-headers 
command line options. Tests scheduled

Products built

All : scanner , scnserv

Windows( WNT) : scanwin

Other ( UNX or OS2 ) :

sane, sandlg scanunx and grid


Todo: analyse current implementation

Interface description

The complete interface is defined in (list to be confirmed ):

In OpenOffice.org source code :

offapi/com/sun/star/scanner

ScanError.idl

ScannerContext.idl

ScannerException.idl

ScannerManager.idl

XScannerManager.idl

offapi/com/sun/star/awt ( lot of references )

+Includes :

  • grid.cxx

cstdio, cmath, grid.hxx, /* stl, for ::std::sort */ algorithm ,

+ (from grid.hxx) : vcl/window.hxx, vcl/button.hxx, vcl/listbox.hxx, vcl/dialog.hxx

Dialog boxes

The dialog boxes are defined in :

extensions/source/scanner/sanedlg.src

extensions/source/scanner/grid.src


Implementation description

GridWindow

Mac OS X side

Links :

Accessing Hardware from Applications

Twain Mac

TN2088 / Twain Data Sources for Mac OS X

SDK :

Apple Image SDK

Other :

Twain 2.0 specifications (draft)

Personal tools