Education Project/Effort/Improve Scanner Use

From Apache OpenOffice Wiki
< Education Project‎ | Effort
Revision as of 18:21, 7 February 2008 by Ericb (Talk | contribs)

Jump to: navigation, search

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