ooo-build r11223 - in trunk/scratch: . offapi-vba offapi-vba/constants offapi-vba/dead-code offapi-vba/dead-code/org offapi-vba/org offapi-vba/prj offapi-vba/util sc-vba sc-vba/dead-source



Author: noelpwer
Date: Tue Jan  8 17:24:13 2008
New Revision: 11223
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11223&view=rev

Log:
2008-01-08  Noel Power  <noel power novell com>

        * scratch/place.in: removed sc-vba & offapi-vba
        * scratch/sc-vba: moved code to dead-code, added diff files for remaining files
        * scratch/offapi-vba: moved code to dead-code, added diff files for remaining files


Added:
   trunk/scratch/offapi-vba/dead-code/
   trunk/scratch/offapi-vba/dead-code/org/
      - copied from r11213, /trunk/scratch/offapi-vba/org/
   trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xapplication-idl.diff
   trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xname-idl.diff
   trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xwindow-idl.diff
   trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xworkbook-idl.diff
   trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xworksheet-idl.diff
   trunk/scratch/offapi-vba/oovbaapi-org-openoffice-vba-xglobals-idl.diff
   trunk/scratch/sc-vba/dead-source/
   trunk/scratch/sc-vba/dead-source/helperdecl.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/helperdecl.hxx
   trunk/scratch/sc-vba/dead-source/service.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/service.cxx
   trunk/scratch/sc-vba/dead-source/vbaapplication.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaapplication.cxx
   trunk/scratch/sc-vba/dead-source/vbaapplication.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaapplication.hxx
   trunk/scratch/sc-vba/dead-source/vbaaxes.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaaxes.cxx
   trunk/scratch/sc-vba/dead-source/vbaaxes.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaaxes.hxx
   trunk/scratch/sc-vba/dead-source/vbaaxis.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaaxis.cxx
   trunk/scratch/sc-vba/dead-source/vbaaxis.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaaxis.hxx
   trunk/scratch/sc-vba/dead-source/vbaaxistitle.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaaxistitle.cxx
   trunk/scratch/sc-vba/dead-source/vbaaxistitle.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaaxistitle.hxx
   trunk/scratch/sc-vba/dead-source/vbaborders.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaborders.cxx
   trunk/scratch/sc-vba/dead-source/vbaborders.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaborders.hxx
   trunk/scratch/sc-vba/dead-source/vbabutton.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbabutton.cxx
   trunk/scratch/sc-vba/dead-source/vbabutton.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbabutton.hxx
   trunk/scratch/sc-vba/dead-source/vbacharacters.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacharacters.cxx
   trunk/scratch/sc-vba/dead-source/vbacharacters.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacharacters.hxx
   trunk/scratch/sc-vba/dead-source/vbachart.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbachart.cxx
   trunk/scratch/sc-vba/dead-source/vbachart.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbachart.hxx
   trunk/scratch/sc-vba/dead-source/vbachartobject.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbachartobject.cxx
   trunk/scratch/sc-vba/dead-source/vbachartobject.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbachartobject.hxx
   trunk/scratch/sc-vba/dead-source/vbachartobjects.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbachartobjects.cxx
   trunk/scratch/sc-vba/dead-source/vbachartobjects.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbachartobjects.hxx
   trunk/scratch/sc-vba/dead-source/vbacharts.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacharts.cxx
   trunk/scratch/sc-vba/dead-source/vbacharts.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacharts.hxx
   trunk/scratch/sc-vba/dead-source/vbacharttitle.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacharttitle.cxx
   trunk/scratch/sc-vba/dead-source/vbacharttitle.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacharttitle.hxx
   trunk/scratch/sc-vba/dead-source/vbacollectionimpl.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacollectionimpl.hxx
   trunk/scratch/sc-vba/dead-source/vbacolorformat.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacolorformat.cxx
   trunk/scratch/sc-vba/dead-source/vbacolorformat.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacolorformat.hxx
   trunk/scratch/sc-vba/dead-source/vbacombobox.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacombobox.cxx
   trunk/scratch/sc-vba/dead-source/vbacombobox.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacombobox.hxx
   trunk/scratch/sc-vba/dead-source/vbacomment.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacomment.cxx
   trunk/scratch/sc-vba/dead-source/vbacomment.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacomment.hxx
   trunk/scratch/sc-vba/dead-source/vbacomments.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacomments.cxx
   trunk/scratch/sc-vba/dead-source/vbacomments.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacomments.hxx
   trunk/scratch/sc-vba/dead-source/vbacondition.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacondition.cxx
   trunk/scratch/sc-vba/dead-source/vbacondition.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacondition.hxx
   trunk/scratch/sc-vba/dead-source/vbacontrol.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacontrol.cxx
   trunk/scratch/sc-vba/dead-source/vbacontrol.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbacontrol.hxx
   trunk/scratch/sc-vba/dead-source/vbadialog.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbadialog.cxx
   trunk/scratch/sc-vba/dead-source/vbadialog.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbadialog.hxx
   trunk/scratch/sc-vba/dead-source/vbadialogs.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbadialogs.cxx
   trunk/scratch/sc-vba/dead-source/vbadialogs.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbadialogs.hxx
   trunk/scratch/sc-vba/dead-source/vbafillformat.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbafillformat.cxx
   trunk/scratch/sc-vba/dead-source/vbafillformat.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbafillformat.hxx
   trunk/scratch/sc-vba/dead-source/vbafont.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbafont.cxx
   trunk/scratch/sc-vba/dead-source/vbafont.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbafont.hxx
   trunk/scratch/sc-vba/dead-source/vbaformat.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaformat.cxx
   trunk/scratch/sc-vba/dead-source/vbaformat.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaformat.hxx
   trunk/scratch/sc-vba/dead-source/vbaformatcondition.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaformatcondition.cxx
   trunk/scratch/sc-vba/dead-source/vbaformatcondition.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaformatcondition.hxx
   trunk/scratch/sc-vba/dead-source/vbaformatconditions.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaformatconditions.cxx
   trunk/scratch/sc-vba/dead-source/vbaformatconditions.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaformatconditions.hxx
   trunk/scratch/sc-vba/dead-source/vbaglobals.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaglobals.cxx
   trunk/scratch/sc-vba/dead-source/vbaglobals.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaglobals.hxx
   trunk/scratch/sc-vba/dead-source/vbahelper.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbahelper.cxx
   trunk/scratch/sc-vba/dead-source/vbahelper.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbahelper.hxx
   trunk/scratch/sc-vba/dead-source/vbahelperinterface.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbahelperinterface.hxx
   trunk/scratch/sc-vba/dead-source/vbainterior.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbainterior.cxx
   trunk/scratch/sc-vba/dead-source/vbainterior.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbainterior.hxx
   trunk/scratch/sc-vba/dead-source/vbalabel.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbalabel.cxx
   trunk/scratch/sc-vba/dead-source/vbalabel.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbalabel.hxx
   trunk/scratch/sc-vba/dead-source/vbalineformat.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbalineformat.cxx
   trunk/scratch/sc-vba/dead-source/vbalineformat.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbalineformat.hxx
   trunk/scratch/sc-vba/dead-source/vbalistbox.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbalistbox.cxx
   trunk/scratch/sc-vba/dead-source/vbalistbox.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbalistbox.hxx
   trunk/scratch/sc-vba/dead-source/vbaname.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaname.cxx
   trunk/scratch/sc-vba/dead-source/vbaname.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaname.hxx
   trunk/scratch/sc-vba/dead-source/vbanames.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbanames.cxx
   trunk/scratch/sc-vba/dead-source/vbanames.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbanames.hxx
   trunk/scratch/sc-vba/dead-source/vbaoleobject.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaoleobject.cxx
   trunk/scratch/sc-vba/dead-source/vbaoleobject.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaoleobject.hxx
   trunk/scratch/sc-vba/dead-source/vbaoleobjects.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaoleobjects.cxx
   trunk/scratch/sc-vba/dead-source/vbaoleobjects.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaoleobjects.hxx
   trunk/scratch/sc-vba/dead-source/vbaoutline.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaoutline.cxx
   trunk/scratch/sc-vba/dead-source/vbaoutline.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaoutline.hxx
   trunk/scratch/sc-vba/dead-source/vbapalette.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapalette.cxx
   trunk/scratch/sc-vba/dead-source/vbapalette.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapalette.hxx
   trunk/scratch/sc-vba/dead-source/vbapane.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapane.cxx
   trunk/scratch/sc-vba/dead-source/vbapane.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapane.hxx
   trunk/scratch/sc-vba/dead-source/vbapictureformat.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapictureformat.cxx
   trunk/scratch/sc-vba/dead-source/vbapictureformat.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapictureformat.hxx
   trunk/scratch/sc-vba/dead-source/vbapivotcache.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapivotcache.cxx
   trunk/scratch/sc-vba/dead-source/vbapivotcache.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapivotcache.hxx
   trunk/scratch/sc-vba/dead-source/vbapivottable.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapivottable.cxx
   trunk/scratch/sc-vba/dead-source/vbapivottable.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapivottable.hxx
   trunk/scratch/sc-vba/dead-source/vbapivottables.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapivottables.cxx
   trunk/scratch/sc-vba/dead-source/vbapivottables.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapivottables.hxx
   trunk/scratch/sc-vba/dead-source/vbapropvalue.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapropvalue.cxx
   trunk/scratch/sc-vba/dead-source/vbapropvalue.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbapropvalue.hxx
   trunk/scratch/sc-vba/dead-source/vbaradiobutton.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaradiobutton.cxx
   trunk/scratch/sc-vba/dead-source/vbaradiobutton.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaradiobutton.hxx
   trunk/scratch/sc-vba/dead-source/vbarange.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbarange.cxx
   trunk/scratch/sc-vba/dead-source/vbarange.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbarange.hxx
   trunk/scratch/sc-vba/dead-source/vbaseriescollection.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaseriescollection.cxx
   trunk/scratch/sc-vba/dead-source/vbaseriescollection.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaseriescollection.hxx
   trunk/scratch/sc-vba/dead-source/vbashape.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbashape.cxx
   trunk/scratch/sc-vba/dead-source/vbashape.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbashape.hxx
   trunk/scratch/sc-vba/dead-source/vbashaperange.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbashaperange.cxx
   trunk/scratch/sc-vba/dead-source/vbashaperange.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbashaperange.hxx
   trunk/scratch/sc-vba/dead-source/vbashapes.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbashapes.cxx
   trunk/scratch/sc-vba/dead-source/vbashapes.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbashapes.hxx
   trunk/scratch/sc-vba/dead-source/vbastyle.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbastyle.cxx
   trunk/scratch/sc-vba/dead-source/vbastyle.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbastyle.hxx
   trunk/scratch/sc-vba/dead-source/vbastyles.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbastyles.cxx
   trunk/scratch/sc-vba/dead-source/vbastyles.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbastyles.hxx
   trunk/scratch/sc-vba/dead-source/vbatextbox.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbatextbox.cxx
   trunk/scratch/sc-vba/dead-source/vbatextbox.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbatextbox.hxx
   trunk/scratch/sc-vba/dead-source/vbatextframe.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbatextframe.cxx
   trunk/scratch/sc-vba/dead-source/vbatextframe.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbatextframe.hxx
   trunk/scratch/sc-vba/dead-source/vbatitle.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbatitle.hxx
   trunk/scratch/sc-vba/dead-source/vbavalidation.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbavalidation.cxx
   trunk/scratch/sc-vba/dead-source/vbavalidation.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbavalidation.hxx
   trunk/scratch/sc-vba/dead-source/vbawindow.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbawindow.cxx
   trunk/scratch/sc-vba/dead-source/vbawindow.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbawindow.hxx
   trunk/scratch/sc-vba/dead-source/vbawindows.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbawindows.cxx
   trunk/scratch/sc-vba/dead-source/vbawindows.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbawindows.hxx
   trunk/scratch/sc-vba/dead-source/vbaworkbook.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaworkbook.cxx
   trunk/scratch/sc-vba/dead-source/vbaworkbook.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaworkbook.hxx
   trunk/scratch/sc-vba/dead-source/vbaworkbooks.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaworkbooks.cxx
   trunk/scratch/sc-vba/dead-source/vbaworkbooks.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaworkbooks.hxx
   trunk/scratch/sc-vba/dead-source/vbaworksheet.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaworksheet.cxx
   trunk/scratch/sc-vba/dead-source/vbaworksheet.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaworksheet.hxx
   trunk/scratch/sc-vba/dead-source/vbaworksheets.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaworksheets.cxx
   trunk/scratch/sc-vba/dead-source/vbaworksheets.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbaworksheets.hxx
   trunk/scratch/sc-vba/dead-source/vbawsfunction.cxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbawsfunction.cxx
   trunk/scratch/sc-vba/dead-source/vbawsfunction.hxx
      - copied unchanged from r11222, /trunk/scratch/sc-vba/vbawsfunction.hxx
   trunk/scratch/sc-vba/sc-source-ui-vba-vbaapplication-cxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbaapplication-hxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbaglobals-cxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbaglobals-hxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbahelper-cxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbahelper-hxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbaname-cxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbanames-cxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbawindow-cxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbawindow-hxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbaworkbook-cxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbaworkbook-hxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbaworksheet-cxx.diff
   trunk/scratch/sc-vba/sc-source-ui-vba-vbaworksheet-hxx.diff
Removed:
   trunk/scratch/offapi-vba/constants/
   trunk/scratch/offapi-vba/org/
   trunk/scratch/offapi-vba/prj/
   trunk/scratch/offapi-vba/util/
   trunk/scratch/sc-vba/helperdecl.hxx
   trunk/scratch/sc-vba/service.cxx
   trunk/scratch/sc-vba/vbaapplication.cxx
   trunk/scratch/sc-vba/vbaapplication.hxx
   trunk/scratch/sc-vba/vbaaxes.cxx
   trunk/scratch/sc-vba/vbaaxes.hxx
   trunk/scratch/sc-vba/vbaaxis.cxx
   trunk/scratch/sc-vba/vbaaxis.hxx
   trunk/scratch/sc-vba/vbaaxistitle.cxx
   trunk/scratch/sc-vba/vbaaxistitle.hxx
   trunk/scratch/sc-vba/vbaborders.cxx
   trunk/scratch/sc-vba/vbaborders.hxx
   trunk/scratch/sc-vba/vbabutton.cxx
   trunk/scratch/sc-vba/vbabutton.hxx
   trunk/scratch/sc-vba/vbacharacters.cxx
   trunk/scratch/sc-vba/vbacharacters.hxx
   trunk/scratch/sc-vba/vbachart.cxx
   trunk/scratch/sc-vba/vbachart.hxx
   trunk/scratch/sc-vba/vbachartobject.cxx
   trunk/scratch/sc-vba/vbachartobject.hxx
   trunk/scratch/sc-vba/vbachartobjects.cxx
   trunk/scratch/sc-vba/vbachartobjects.hxx
   trunk/scratch/sc-vba/vbacharts.cxx
   trunk/scratch/sc-vba/vbacharts.hxx
   trunk/scratch/sc-vba/vbacharttitle.cxx
   trunk/scratch/sc-vba/vbacharttitle.hxx
   trunk/scratch/sc-vba/vbacollectionimpl.hxx
   trunk/scratch/sc-vba/vbacolorformat.cxx
   trunk/scratch/sc-vba/vbacolorformat.hxx
   trunk/scratch/sc-vba/vbacombobox.cxx
   trunk/scratch/sc-vba/vbacombobox.hxx
   trunk/scratch/sc-vba/vbacomment.cxx
   trunk/scratch/sc-vba/vbacomment.hxx
   trunk/scratch/sc-vba/vbacomments.cxx
   trunk/scratch/sc-vba/vbacomments.hxx
   trunk/scratch/sc-vba/vbacondition.cxx
   trunk/scratch/sc-vba/vbacondition.hxx
   trunk/scratch/sc-vba/vbacontrol.cxx
   trunk/scratch/sc-vba/vbacontrol.hxx
   trunk/scratch/sc-vba/vbadialog.cxx
   trunk/scratch/sc-vba/vbadialog.hxx
   trunk/scratch/sc-vba/vbadialogs.cxx
   trunk/scratch/sc-vba/vbadialogs.hxx
   trunk/scratch/sc-vba/vbafillformat.cxx
   trunk/scratch/sc-vba/vbafillformat.hxx
   trunk/scratch/sc-vba/vbafont.cxx
   trunk/scratch/sc-vba/vbafont.hxx
   trunk/scratch/sc-vba/vbaformat.cxx
   trunk/scratch/sc-vba/vbaformat.hxx
   trunk/scratch/sc-vba/vbaformatcondition.cxx
   trunk/scratch/sc-vba/vbaformatcondition.hxx
   trunk/scratch/sc-vba/vbaformatconditions.cxx
   trunk/scratch/sc-vba/vbaformatconditions.hxx
   trunk/scratch/sc-vba/vbaglobals.cxx
   trunk/scratch/sc-vba/vbaglobals.hxx
   trunk/scratch/sc-vba/vbahelper.cxx
   trunk/scratch/sc-vba/vbahelper.hxx
   trunk/scratch/sc-vba/vbahelperinterface.hxx
   trunk/scratch/sc-vba/vbainterior.cxx
   trunk/scratch/sc-vba/vbainterior.hxx
   trunk/scratch/sc-vba/vbalabel.cxx
   trunk/scratch/sc-vba/vbalabel.hxx
   trunk/scratch/sc-vba/vbalineformat.cxx
   trunk/scratch/sc-vba/vbalineformat.hxx
   trunk/scratch/sc-vba/vbalistbox.cxx
   trunk/scratch/sc-vba/vbalistbox.hxx
   trunk/scratch/sc-vba/vbaname.cxx
   trunk/scratch/sc-vba/vbaname.hxx
   trunk/scratch/sc-vba/vbanames.cxx
   trunk/scratch/sc-vba/vbanames.hxx
   trunk/scratch/sc-vba/vbaoleobject.cxx
   trunk/scratch/sc-vba/vbaoleobject.hxx
   trunk/scratch/sc-vba/vbaoleobjects.cxx
   trunk/scratch/sc-vba/vbaoleobjects.hxx
   trunk/scratch/sc-vba/vbaoutline.cxx
   trunk/scratch/sc-vba/vbaoutline.hxx
   trunk/scratch/sc-vba/vbapalette.cxx
   trunk/scratch/sc-vba/vbapalette.hxx
   trunk/scratch/sc-vba/vbapane.cxx
   trunk/scratch/sc-vba/vbapane.hxx
   trunk/scratch/sc-vba/vbapictureformat.cxx
   trunk/scratch/sc-vba/vbapictureformat.hxx
   trunk/scratch/sc-vba/vbapivotcache.cxx
   trunk/scratch/sc-vba/vbapivotcache.hxx
   trunk/scratch/sc-vba/vbapivottable.cxx
   trunk/scratch/sc-vba/vbapivottable.hxx
   trunk/scratch/sc-vba/vbapivottables.cxx
   trunk/scratch/sc-vba/vbapivottables.hxx
   trunk/scratch/sc-vba/vbapropvalue.cxx
   trunk/scratch/sc-vba/vbapropvalue.hxx
   trunk/scratch/sc-vba/vbaradiobutton.cxx
   trunk/scratch/sc-vba/vbaradiobutton.hxx
   trunk/scratch/sc-vba/vbarange.cxx
   trunk/scratch/sc-vba/vbarange.hxx
   trunk/scratch/sc-vba/vbaseriescollection.cxx
   trunk/scratch/sc-vba/vbaseriescollection.hxx
   trunk/scratch/sc-vba/vbashape.cxx
   trunk/scratch/sc-vba/vbashape.hxx
   trunk/scratch/sc-vba/vbashaperange.cxx
   trunk/scratch/sc-vba/vbashaperange.hxx
   trunk/scratch/sc-vba/vbashapes.cxx
   trunk/scratch/sc-vba/vbashapes.hxx
   trunk/scratch/sc-vba/vbastyle.cxx
   trunk/scratch/sc-vba/vbastyle.hxx
   trunk/scratch/sc-vba/vbastyles.cxx
   trunk/scratch/sc-vba/vbastyles.hxx
   trunk/scratch/sc-vba/vbatextbox.cxx
   trunk/scratch/sc-vba/vbatextbox.hxx
   trunk/scratch/sc-vba/vbatextframe.cxx
   trunk/scratch/sc-vba/vbatextframe.hxx
   trunk/scratch/sc-vba/vbatitle.hxx
   trunk/scratch/sc-vba/vbavalidation.cxx
   trunk/scratch/sc-vba/vbavalidation.hxx
   trunk/scratch/sc-vba/vbawindow.cxx
   trunk/scratch/sc-vba/vbawindow.hxx
   trunk/scratch/sc-vba/vbawindows.cxx
   trunk/scratch/sc-vba/vbawindows.hxx
   trunk/scratch/sc-vba/vbaworkbook.cxx
   trunk/scratch/sc-vba/vbaworkbook.hxx
   trunk/scratch/sc-vba/vbaworkbooks.cxx
   trunk/scratch/sc-vba/vbaworkbooks.hxx
   trunk/scratch/sc-vba/vbaworksheet.cxx
   trunk/scratch/sc-vba/vbaworksheet.hxx
   trunk/scratch/sc-vba/vbaworksheets.cxx
   trunk/scratch/sc-vba/vbaworksheets.hxx
   trunk/scratch/sc-vba/vbawsfunction.cxx
   trunk/scratch/sc-vba/vbawsfunction.hxx
Modified:
   trunk/scratch/place.in
   trunk/scratch/sc-vba/ReadMe

Added: trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xapplication-idl.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xapplication-idl.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,11 @@
+--- oovbaapi/org/openoffice//excel/XApplication.idl	
++++ oovbaapi/org/openoffice//excel/XApplication.idl
+@@ -93,7 +93,7 @@ interface XApplication
+ 	any Evaluate( [in] string Name );
+ 	any Dialogs( [in] any DialogIndex );
+ 	any Range( [in] any Cell1, [in] any Cell2 );
+-	any Names();
++	any Names( [in] any Index );
+ 	void GoTo( [in] any Reference, [in] any Scroll );
+ 	// #FIXME #TODO up to 30 args needed
+ 	double CountA( [in] any arg1 );

Added: trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xname-idl.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xname-idl.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,21 @@
+--- oovbaapi/org/openoffice//excel/XName.idl	
++++ oovbaapi/org/openoffice//excel/XName.idl
+@@ -58,12 +58,12 @@ interface XName
+ 	[attribute] string Name;
+ 	[attribute] string NameLocal;
+ 	[attribute] boolean Visible;
+-        [attribute, readonly] string Value;
+-        [attribute, readonly] string RefersTo;
+-        [attribute, readonly] string RefersToLocal;
+-        [attribute, readonly] string RefersToR1C1;
+-        [attribute, readonly] string RefersToR1C1Local;
+-        [attribute, readonly] XRange RefersToRange;
++    [attribute] string Value;
++    [attribute] string RefersTo;
++    [attribute] string RefersToLocal;
++    [attribute] string RefersToR1C1;
++    [attribute] string RefersToR1C1Local;
++    [attribute, readonly] XRange RefersToRange;
+ 
+ 	void Delete( );
+ };

Added: trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xwindow-idl.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xwindow-idl.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,53 @@
+--- oovbaapi/org/openoffice//excel/XWindow.idl	
++++ oovbaapi/org/openoffice//excel/XWindow.idl
+@@ -49,6 +49,8 @@ module org {  module openoffice {  modul
+ 
+ //=============================================================================
+ interface XRange;
++interface XWorksheet;
++interface XPane;
+ interface XWindow
+ {
+ 	interface ::org::openoffice::vba::XHelperInterface;
+@@ -61,6 +63,8 @@ interface XWindow
+ 	[attribute] boolean DisplayVerticalScrollBar; 
+ 	[attribute] boolean DisplayWorkbookTabs; 
+ 	[attribute] boolean FreezePanes; 
++	[attribute] long Height; 
++	[attribute] long Left; 
+ 	[attribute] boolean Split; 
+ 	[attribute] long SplitColumn;
+ 	[attribute] double SplitHorizontal;
+@@ -68,6 +72,10 @@ interface XWindow
+ 	[attribute] double SplitVertical;
+ 	[attribute] any ScrollColumn;
+ 	[attribute] any ScrollRow;
++	[attribute] long Top; 
++	[attribute] any View;
++	[attribute] boolean Visible;
++	[attribute] long Width; 
+ 	[attribute] any WindowState;
+ 	[attribute] any Zoom;
+ 	any SelectedSheets( [in] any aIndex );
+@@ -78,7 +86,21 @@ interface XWindow
+         void Close([in] any SaveChanges, [in] any FileName, [in] any RouteWorkBook);
+ 	XRange ActiveCell() raises(com::sun::star::script::BasicErrorException);
+ 	any Selection() raises(com::sun::star::script::BasicErrorException);
++	long PointsToScreenPixelsX([in] long Points) raises(com::sun::star::script::BasicErrorException);
++	long PointsToScreenPixelsY([in] long Points) raises(com::sun::star::script::BasicErrorException);
++    void PrintOut([in] /*optional short*/ any From,
++        [in] /*optional short*/ any To,
++        [in] /*optional short*/ any Copies,
++        [in] /*optional boolean*/ any Preview,
++        [in] /*optional string*/ any ActivePrinter,
++        [in] /*optional boolean*/ any PrintToFile,
++        [in] /*optional boolean*/ any Collate,
++        [in] /*optional string*/ any PrToFileName
++        ) raises(com::sun::star::script::BasicErrorException);
++     void PrintPreview( [in]  /*Optional*/ any EnableChanges ) raises ( com::sun::star::script::BasicErrorException );
+ 
++	XWorksheet ActiveSheet() raises(com::sun::star::script::BasicErrorException);
++	XPane ActivePane() raises(com::sun::star::script::BasicErrorException);
+ };
+ 
+ //=============================================================================

Added: trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xworkbook-idl.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xworkbook-idl.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,11 @@
+--- oovbaapi/org/openoffice//excel/XWorkbook.idl	
++++ oovbaapi/org/openoffice//excel/XWorkbook.idl
+@@ -76,7 +76,7 @@ interface XWorkbook
+ 	void Activate();
+ 	void ResetColors() raises (com::sun::star::script::BasicErrorException);
+ 
+-	any Names();
++	any Names( [in] any Index );
+ 
+ 	any Colors([in] any Index) raises (com::sun::star::script::BasicErrorException);
+ 	long FileFormat() raises (com::sun::star::script::BasicErrorException);

Added: trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xworksheet-idl.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/offapi-vba/oovbaapi-org-openoffice-excel-xworksheet-idl.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,10 @@
+--- oovbaapi/org/openoffice//excel/XWorksheet.idl	
++++ oovbaapi/org/openoffice//excel/XWorksheet.idl
+@@ -103,6 +103,7 @@ interface XWorksheet
+ 
+ 	void setEnableCalculation([in] boolean EnableCalculation) raises(com::sun::star::script::BasicErrorException);
+ 	boolean getEnableCalculation() raises(com::sun::star::script::BasicErrorException);
++	void PrintOut( [in] any From, [in] any To, [in] any Copies, [in] any Preview, [in] any ActivePrinter, [in] any PrintToFile, [in] any Collate, [in] any PrToFileName, [in] any IgnorePrintAreas );
+ 
+ 
+ };

Added: trunk/scratch/offapi-vba/oovbaapi-org-openoffice-vba-xglobals-idl.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/offapi-vba/oovbaapi-org-openoffice-vba-xglobals-idl.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,11 @@
+--- oovbaapi/org/openoffice//vba/XGlobals.idl	
++++ oovbaapi/org/openoffice//vba/XGlobals.idl
+@@ -62,7 +62,7 @@ interface XGlobals: com::sun::star::uno:
+ 	any WorkBooks( [in] any aIndex );
+ 	any Sheets( [in] any aIndex );
+ 	any Range( [in] any Cell1, [in] any Cell2 );
+-	any Names( );
++	any Names( [in] any Index );
+ };
+ 
+ }; }; };

Modified: trunk/scratch/place.in
==============================================================================
--- trunk/scratch/place.in	(original)
+++ trunk/scratch/place.in	Tue Jan  8 17:24:13 2008
@@ -12,7 +12,7 @@
     OOBUILDDIR='@OOBUILDDIR@'
 fi
 
-SUBDIRS="canvas-cairo offapi-vba sc-vba mono-uno-bootstrap mono-uno-bridge scsolver lpsolve"
+SUBDIRS="canvas-cairo mono-uno-bootstrap mono-uno-bridge scsolver lpsolve"
 SCRATCHDIR="@TOOLSDIR@/scratch"
 
 BACKUPDIR_SUFFIX="bak"

Modified: trunk/scratch/sc-vba/ReadMe
==============================================================================
--- trunk/scratch/sc-vba/ReadMe	(original)
+++ trunk/scratch/sc-vba/ReadMe	Tue Jan  8 17:24:13 2008
@@ -1,16 +1,3 @@
-This directory contains the sources for the scratch implementation of the
-vba api. 
-
-Instructions:
-* Copy all files to the directory indicated by POSITION file in this directory
-* run dmake in the directory specified by POSITION
-* register the component library using regcomp
-
-example
-=======
-
-regcomp -register -r file:///opt/ooo-build/InstallDir/program/services.rdb -c file:///opt/ooo-build//build/src680-m110/sc/unxlngi6.pro/lib/vbaobj680li.uno.so
-
-
-Note: It is NECESSARY to specify "file://" urls for both the serivces.rdb file
-& the component
+This directory contains some patches ( experimental ) that as yet have not moved either into a cws or patches/vba. 
+The testvba directory contains the test harness for vba
+The dead-source directory contains a copy of the old scratch source ( will be delated as soon as I am sure that we haven't missed anything )

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbaapplication-cxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbaapplication-cxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,23 @@
+--- sc/source/ui/vba/vbaapplication.cxx	
++++ sc/source/ui/vba/vbaapplication.cxx
+@@ -431,12 +429,17 @@ ScVbaApplication::Range( const uno::Any&
+ }
+ 
+ uno::Any SAL_CALL
+-ScVbaApplication::Names( ) throw ( uno::RuntimeException )
++ScVbaApplication::Names( const css::uno::Any& aIndex ) throw ( uno::RuntimeException )
+ {
+     uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW );
+-    uno::Reference< sheet::XNamedRanges > xNamedRanges( getActiveSheet() , uno::UNO_QUERY_THROW );
++    uno::Reference< beans::XPropertySet > xPropertySet( xModel, uno::UNO_QUERY_THROW );
++    uno::Reference< sheet::XNamedRanges > xNamedRanges( xPropertySet->getPropertyValue( rtl::OUString::createFromAscii("NamedRanges")) , uno::UNO_QUERY_THROW );
+     css::uno::Reference< excel::XNames > xNames ( new ScVbaNames( this , mxContext , xNamedRanges , xModel ) );
+-        return uno::makeAny( xNames );
++    if (  aIndex.getValueTypeClass() == uno::TypeClass_VOID )
++    {
++        return uno::Any( xNames );
++    }
++    return uno::Any( xNames->Item( aIndex, uno::Any() ) );
+ }
+ 
+ 

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbaapplication-hxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbaapplication-hxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,11 @@
+--- sc/source/ui/vba/vbaapplication.hxx	
++++ sc/source/ui/vba/vbaapplication.hxx
+@@ -99,7 +99,7 @@ public:
+ 	virtual css::uno::Any SAL_CALL Windows( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException);
+ 	virtual void SAL_CALL wait( double time ) throw (css::uno::RuntimeException);
+ 	virtual css::uno::Any SAL_CALL Range( const css::uno::Any& Cell1, const css::uno::Any& Cell2 ) throw (css::uno::RuntimeException);
+-	virtual css::uno::Any SAL_CALL Names( ) throw ( css::uno::RuntimeException );
++	virtual css::uno::Any SAL_CALL Names( const css::uno::Any& aIndex ) throw ( css::uno::RuntimeException );
+ 	virtual void SAL_CALL GoTo( const css::uno::Any& Reference, const css::uno::Any& Scroll ) throw (css::uno::RuntimeException);
+ 	virtual void SAL_CALL Calculate() throw (css::script::BasicErrorException, css::uno::RuntimeException);
+ 	virtual css::uno::Reference< oo::excel::XRange > SAL_CALL Intersect( const css::uno::Reference< oo::excel::XRange >& Arg1, const css::uno::Reference< oo::excel::XRange >& Arg2, const css::uno::Any& Arg3, const css::uno::Any& Arg4, const css::uno::Any& Arg5, const css::uno::Any& Arg6, const css::uno::Any& Arg7, const css::uno::Any& Arg8, const css::uno::Any& Arg9, const css::uno::Any& Arg10, const css::uno::Any& Arg11, const css::uno::Any& Arg12, const css::uno::Any& Arg13, const css::uno::Any& Arg14, const css::uno::Any& Arg15, const css::uno::Any& Arg16, const css::uno::Any& Arg17, const css::uno::Any& Arg18, const css::uno::Any& Arg19, const css::uno::Any& Arg20, const css::uno::Any& Arg21, const css::uno::Any& Arg22, const css::uno::Any& Arg23, const css::uno::Any& Arg24, const css::uno::Any& Arg25, const css::uno::Any& Arg26, const css::uno::Any& Arg27, const css::uno::Any& Arg28, const css::uno::Any& Arg29, const css::uno::Any& Arg30 ) throw (css::script::BasicErrorEx
 ception, css::uno::RuntimeException);

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbaglobals-cxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbaglobals-cxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,14 @@
+--- sc/source/ui/vba/vbaglobals.cxx	
++++ sc/source/ui/vba/vbaglobals.cxx
+@@ -158,9 +158,9 @@ ScVbaGlobals::Range( const uno::Any& Cel
+ }
+ 
+ uno::Any SAL_CALL
+-ScVbaGlobals::Names( ) throw ( uno::RuntimeException )
++ScVbaGlobals::Names( const css::uno::Any& aIndex ) throw ( uno::RuntimeException )
+ {
+-	return getApplication()->Names();
++	return getApplication()->Names( aIndex );
+ }
+ 
+ namespace globals

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbaglobals-hxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbaglobals-hxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,10 @@
+--- sc/source/ui/vba/vbaglobals.hxx	
++++ sc/source/ui/vba/vbaglobals.hxx
+@@ -75,6 +75,6 @@
+ 	virtual css::uno::Any SAL_CALL Sheets( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException);
+ 	virtual css::uno::Sequence< css::uno::Any > SAL_CALL getGlobals(  ) throw (css::uno::RuntimeException);
+ 	virtual css::uno::Any SAL_CALL Range( const css::uno::Any& Cell1, const css::uno::Any& Cell2 ) throw (css::uno::RuntimeException);
+-	virtual css::uno::Any SAL_CALL Names( ) throw ( css::uno::RuntimeException );
++	virtual css::uno::Any SAL_CALL Names( const css::uno::Any& aIndex ) throw ( css::uno::RuntimeException );
+     };
+ #endif // 

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbahelper-cxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbahelper-cxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,37 @@
+--- sc/source/ui/vba/vbahelper.cxx	
++++ sc/source/ui/vba/vbahelper.cxx
+@@ -219,6 +219,22 @@ dispatchRequests (uno::Reference< frame:
+ }
+ 
+ 
++void dispatchExecute(css::uno::Reference< css::frame::XModel>& xModel, USHORT nSlot, SfxCallMode nCall)
++{
++	ScTabViewShell* pViewShell = getBestViewShell( xModel );
++	SfxViewFrame* pViewFrame = NULL;
++	if ( pViewShell )
++		pViewFrame = pViewShell->GetViewFrame();
++	if ( pViewFrame )
++	{
++		SfxDispatcher* pDispatcher = pViewFrame->GetDispatcher();
++		if( pDispatcher )
++		{
++			pDispatcher->Execute( nSlot , nCall );
++		}
++	}	
++}
++		
+ void
+ implnPaste()
+ {
+@@ -535,6 +551,11 @@ void PrintOutHelper( const uno::Any& Fro
+ 	//   of this method
+ }
+ 
++ void PrintPreviewHelper( const css::uno::Any& EnableChanges, css::uno::Reference< css::frame::XModel >& xModel )
++{
++	dispatchExecute( xModel, SID_VIEWSHELL1 );
++}
++
+ rtl::OUString getAnyAsString( const uno::Any& pvargItem ) throw ( uno::RuntimeException )
+ {
+ 	uno::Type aType = pvargItem.getValueType();

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbahelper-hxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbahelper-hxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,26 @@
+--- sc/source/ui/vba/vbahelper.hxx	
++++ sc/source/ui/vba/vbahelper.hxx
+@@ -44,6 +44,7 @@
+ #include <cppuhelper/implbase1.hxx>
+ #include <com/sun/star/frame/XModel.hpp>
+ #include <docsh.hxx>
++#include <sfx2/dispatch.hxx>
+ 
+ namespace css = ::com::sun::star;
+ 
+@@ -65,6 +66,7 @@ namespace org 
+ 
+ 		void dispatchRequests (css::uno::Reference< css::frame::XModel>& xModel,rtl::OUString & aUrl) ;
+ 		void dispatchRequests (css::uno::Reference< css::frame::XModel>& xModel,rtl::OUString & aUrl, css::uno::Sequence< css::beans::PropertyValue >& sProps ) ;
++		void dispatchExecute(css::uno::Reference< css::frame::XModel>& xModel, USHORT nSlot, SfxCallMode nCall = SFX_CALLMODE_SYNCHRON );
+ 		void implnCopy();
+ 		void implnPaste();
+ 		void implnCut();
+@@ -85,6 +87,7 @@ namespace org 
+ 		// contains an empty object reference
+ 		const css::uno::Any& aNULL();
+ 		void PrintOutHelper( const css::uno::Any& From, const css::uno::Any& To, const css::uno::Any& Copies, const css::uno::Any& Preview, const css::uno::Any& ActivePrinter, const css::uno::Any& PrintToFile, const css::uno::Any& Collate, const css::uno::Any& PrToFileName, css::uno::Reference< css::frame::XModel >& xModel, sal_Bool bSelection  );
++		void PrintPreviewHelper( const css::uno::Any& EnableChanges, css::uno::Reference< css::frame::XModel >& xModel );
+ 
+ 		rtl::OUString getAnyAsString( const css::uno::Any& pvargItem ) throw ( css::uno::RuntimeException );
+ 		rtl::OUString VBAToRegexp(const rtl::OUString &rIn, bool bForLike = false); // needs to be in an uno service ( already this code is duplicated in basic )

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbaname-cxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbaname-cxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,108 @@
+--- sc/source/ui/vba/vbaname.cxx	
++++ sc/source/ui/vba/vbaname.cxx
+@@ -36,6 +36,7 @@
+ 
+ #include <com/sun/star/table/XCellRange.hpp>
+ #include <com/sun/star/sheet/XCellRangeAddressable.hpp>
++#include <com/sun/star/sheet/XCellRangeReferrer.hpp>
+ 
+ #include "vbaname.hxx"
+ #include "vbarange.hxx"
+@@ -115,17 +116,37 @@ ScVbaName::getValue() throw (css::uno::R
+ {
+ 	::rtl::OUString sValue = mxNamedRange->getContent();
+ 	::rtl::OUString sSheetName = getWorkSheet()->getName();
+-	if ( sValue.toChar() == '$' )
++    ::rtl::OUString sSegmentation = ::rtl::OUString::createFromAscii( ";" );
++    ::rtl::OUString sNewSegmentation = ::rtl::OUString::createFromAscii( "," );
++    ::rtl::OUString sResult;
++    sal_Int32 nFrom = 0;
++    sal_Int32 nTo = 0;
++    nTo = sValue.indexOf( sSegmentation, nFrom );
++    while ( nTo != -1 )
++    {
++        ::rtl::OUString sTmpValue = sValue.copy( nFrom, nTo - nFrom );
++        if ( sTmpValue.toChar() == '$' )
++        {
++            ::rtl::OUString sTmp = sTmpValue.copy( 1 );
++            sTmp = sTmp.replaceAt(0, (sSheetName + ::rtl::OUString::createFromAscii(".")).getLength(), sSheetName + ::rtl::OUString::createFromAscii("!"));
++            sResult += sTmp; 
++            sResult += sNewSegmentation;
++        }
++        nFrom = nTo + 1;
++        nTo = sValue.indexOf( sSegmentation, nFrom );
++    }
++    ::rtl::OUString sTmpValue = sValue.copy( nFrom );
++	if ( sTmpValue.toChar() == '$' )
+ 	{
+-		::rtl::OUString sTmp = sValue.copy(1);
+-		sValue = sTmp;
++		::rtl::OUString sTmp = sTmpValue.copy(1);
++        sTmp = sTmp.replaceAt(0, (sSheetName + ::rtl::OUString::createFromAscii(".")).getLength(), sSheetName + ::rtl::OUString::createFromAscii("!"));
++		sResult += sTmp;
+ 	}
+-	sValue = sValue.replaceAt(0, (sSheetName + ::rtl::OUString::createFromAscii(".")).getLength(), sSheetName + ::rtl::OUString::createFromAscii("!"));
+-	if (sValue.indexOf('=') != 0)
++	if (sResult.indexOf('=') != 0)
+ 	{
+-		sValue = ::rtl::OUString::createFromAscii("=") + sValue;
++		sResult = ::rtl::OUString::createFromAscii("=") + sResult;
+ 	}
+-	return sValue;
++	return sResult;
+ }
+ 
+ void 
+@@ -133,17 +154,38 @@ ScVbaName::setValue( const ::rtl::OUStri
+ {
+ 	::rtl::OUString sSheetName = getWorkSheet()->getName();
+ 	::rtl::OUString sValue = rValue;
++    ::rtl::OUString sSegmentation = ::rtl::OUString::createFromAscii( "," );
++    ::rtl::OUString sNewSegmentation = ::rtl::OUString::createFromAscii( ";" );
++    ::rtl::OUString sResult;
++    sal_Int32 nFrom = 0;
++    sal_Int32 nTo = 0;
+ 	if (sValue.indexOf('=') == 0)
+ 	{
+ 		::rtl::OUString sTmp = sValue.copy(1);
+-		sValue = sTmp;
++        sValue = sTmp;
+ 	}
+-	if (sValue.copy(0, sSheetName.getLength()).equals(sSheetName))
++    nTo = sValue.indexOf( sSegmentation, nFrom );
++    while ( nTo != -1 )
++    {
++        ::rtl::OUString sTmpValue = sValue.copy( nFrom, nTo - nFrom );
++        sTmpValue = sTmpValue.replaceAt(0, (sSheetName + ::rtl::OUString::createFromAscii("!")).getLength(), sSheetName + ::rtl::OUString::createFromAscii("."));
++        if (sTmpValue.copy(0, sSheetName.getLength()).equals(sSheetName))
++        {
++            sTmpValue = ::rtl::OUString::createFromAscii("$") + sTmpValue;
++        }
++        sTmpValue += sNewSegmentation;
++        sResult += sTmpValue;
++        nFrom = nTo + 1;
++        nTo = sValue.indexOf( sSegmentation, nFrom );
++    }
++    ::rtl::OUString sTmpValue = sValue.copy( nFrom );
++	sTmpValue = sTmpValue.replaceAt(0, (sSheetName + ::rtl::OUString::createFromAscii("!")).getLength(), sSheetName + ::rtl::OUString::createFromAscii("."));
++	if (sTmpValue.copy(0, sSheetName.getLength()).equals(sSheetName))
+ 	{
+-		sValue = ::rtl::OUString::createFromAscii("$") + sSheetName;
++		sTmpValue = ::rtl::OUString::createFromAscii("$") + sTmpValue;
+ 	}
+-	sValue = sValue.replaceAt(0, (sSheetName + ::rtl::OUString::createFromAscii("!")).getLength(), sSheetName + ::rtl::OUString::createFromAscii("."));
+-	mxNamedRange->setContent(sValue);
++    sResult += sTmpValue;
++	mxNamedRange->setContent(sResult);
+ }
+ 
+ ::rtl::OUString 
+@@ -197,7 +239,7 @@ ScVbaName::setRefersToR1C1Local( const :
+ css::uno::Reference< oo::excel::XRange >
+ ScVbaName::getRefersToRange() throw (css::uno::RuntimeException)
+ {
+-	css::uno::Reference< oo::excel::XRange > xRange;
++    uno::Reference< oo::excel::XRange > xRange = ScVbaRange::getRangeObjectForName( mxContext, mxNamedRange->getName(), getDocShell( mxModel ), ScAddress::CONV_XL_R1C1 );
+ 	return xRange;
+ }
+ 

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbanames-cxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbanames-cxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,10 @@
+--- sc/source/ui/vba/vbanames.cxx	
++++ sc/source/ui/vba/vbanames.cxx
+@@ -75,6 +75,7 @@ ScVbaNames::ScVbaNames(const css::uno::R
+ 			mxModel( xModel ),
+ 			mxNames( xNames )
+ {
++    m_xNameAccess.set( xNames, uno::UNO_QUERY_THROW );
+ }
+ 
+ ScVbaNames::~ScVbaNames()

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbawindow-cxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbawindow-cxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,230 @@
+--- sc/source/ui/vba/vbawindow.cxx	
++++ sc/source/ui/vba/vbawindow.cxx
+@@ -42,7 +42,11 @@
+ #include <com/sun/star/view/DocumentZoomType.hpp>
+ #include <com/sun/star/table/CellRangeAddress.hpp>
+ #include <org/openoffice/excel/XlWindowState.hpp>
++#include <org/openoffice/excel/XlWindowView.hpp>
+ #include <org/openoffice/excel/Constants.hpp>
++#include <com/sun/star/awt/XWindow.hpp>
++#include <com/sun/star/awt/XWindow2.hpp>
++#include <com/sun/star/awt/PosSize.hpp>
+ 
+ #include <docsh.hxx>
+ #include <tabvwsh.hxx>
+@@ -443,8 +449,8 @@ ScVbaWindow::Close( const uno::Any& Save
+ 	workbook.Close(SaveChanges, FileName, RouteWorkBook );
+ }
+ 
+-uno::Reference< excel::XPane > 
+-ScVbaWindow::ActivePane() 
++uno::Reference< excel::XPane > SAL_CALL
++ScVbaWindow::ActivePane() throw (script::BasicErrorException, uno::RuntimeException) 
+ { 
+ 	return new ScVbaPane( mxContext, m_xViewPane ); 
+ }
+@@ -631,7 +637,8 @@ ScVbaWindow::setSplitColumn( sal_Int32 _
+ 	if( getSplitColumn() != _splitcolumn )
+ 	{
+ 		sal_Bool bFrozen = getFreezePanes();
+-		m_xViewFreezable->freezeAtPosition( _splitcolumn, 0 );
++		sal_Int32 nRow = getSplitRow();
++		m_xViewFreezable->freezeAtPosition( _splitcolumn, nRow );
+ 		SplitAtDefinedPosition( !bFrozen );
+ 	}
+ }
+@@ -663,7 +670,8 @@ ScVbaWindow::setSplitRow( sal_Int32 _spl
+ 	if( getSplitRow() != _splitrow )
+ 	{
+ 		sal_Bool bFrozen = getFreezePanes();
+-		m_xViewFreezable->freezeAtPosition( 0, _splitrow );
++		sal_Int32 nColumn = getSplitColumn();
++		m_xViewFreezable->freezeAtPosition( nColumn , _splitrow );
+ 		SplitAtDefinedPosition( !bFrozen );
+ 	}
+ }
+@@ -738,6 +746,184 @@ ScVbaWindow::setZoom( const uno::Any& _z
+ 	}			
+ }
+ 
++uno::Reference< excel::XWorksheet > SAL_CALL 
++ScVbaWindow::ActiveSheet(  ) throw (script::BasicErrorException, uno::RuntimeException)
++{
++	return ScVbaGlobals::getGlobalsImpl(mxContext)->getApplication()->getActiveSheet();
++}
++
++uno::Any SAL_CALL
++ScVbaWindow::getView() throw (uno::RuntimeException)
++{
++	// not supported now	
++	sal_Int32 nWindowView = excel::XlWindowView::xlNormalView;	
++	return uno::makeAny( nWindowView );	
++}
++
++void SAL_CALL
++ScVbaWindow::setView( const uno::Any& _view) throw (uno::RuntimeException)
++{
++	sal_Int32 nWindowView = excel::XlWindowView::xlNormalView;
++	_view >>= nWindowView;
++	USHORT nSlot = FID_NORMALVIEWMODE;
++	switch ( nWindowView )
++	{
++		case excel::XlWindowView::xlNormalView:
++			nSlot = FID_NORMALVIEWMODE;
++			break;
++		case excel::XlWindowView::xlPageBreakPreview:
++			nSlot = FID_PAGEBREAKMODE;
++			break;
++		default:
++			DebugHelper::exception(SbERR_BAD_PARAMETER, rtl::OUString() );
++	}
++	dispatchExecute( m_xModel, nSlot );
++}
++
++sal_Bool SAL_CALL
++ScVbaWindow::getVisible() throw (uno::RuntimeException)
++{
++	sal_Bool bVisible = sal_True;	
++	uno::Reference< frame::XController > xController( m_xModel->getCurrentController(), uno::UNO_QUERY_THROW );
++	uno::Reference< css::awt::XWindow > xWindow (xController->getFrame()->getContainerWindow(), uno::UNO_QUERY_THROW );
++	uno::Reference< css::awt::XWindow2 > xWindow2 (xWindow, uno::UNO_QUERY_THROW );
++	if( xWindow2.is() )
++	{
++		bVisible = xWindow2->isVisible();	
++	}
++	return bVisible;
++}
++
++void SAL_CALL
++ScVbaWindow::setVisible(sal_Bool _visible) throw (uno::RuntimeException)
++{
++	uno::Reference< frame::XController > xController( m_xModel->getCurrentController(), uno::UNO_QUERY_THROW );
++	uno::Reference< css::awt::XWindow > xWindow (xController->getFrame()->getContainerWindow(), uno::UNO_QUERY_THROW );
++	if( xWindow.is() )
++	{
++		xWindow->setVisible( _visible );	
++	}
++}
++
++css::awt::Rectangle getPosSize( const uno::Reference< frame::XModel >& xModel )
++{
++	css::awt::Rectangle aRect;
++	uno::Reference< frame::XController > xController( xModel->getCurrentController(), uno::UNO_QUERY_THROW );
++	uno::Reference< css::awt::XWindow > xWindow (xController->getFrame()->getContainerWindow(), uno::UNO_QUERY_THROW );
++	if( xWindow.is() )
++	{
++		aRect = xWindow->getPosSize();
++	}
++	return aRect;
++}
++
++void setPosSize( const uno::Reference< frame::XModel >& xModel, sal_Int32 nValue, USHORT nFlag )
++{
++	uno::Reference< frame::XController > xController( xModel->getCurrentController(), uno::UNO_QUERY_THROW );
++	uno::Reference< css::awt::XWindow > xWindow (xController->getFrame()->getContainerWindow(), uno::UNO_QUERY_THROW );
++	if( xWindow.is() )
++	{
++		css::awt::Rectangle aRect = xWindow->getPosSize();
++		switch( nFlag )
++		{
++			case css::awt::PosSize::X:
++				xWindow->setPosSize( nValue, aRect.Y,	0, 0, css::awt::PosSize::X );
++				break;
++			case css::awt::PosSize::Y:
++				xWindow->setPosSize( aRect.X, nValue,	0, 0, css::awt::PosSize::Y );
++				break;
++			case css::awt::PosSize::WIDTH:
++				xWindow->setPosSize( 0, 0,	nValue, aRect.Height, css::awt::PosSize::WIDTH );
++				break;
++			case css::awt::PosSize::HEIGHT:
++				xWindow->setPosSize( 0, 0,	aRect.Width, nValue, css::awt::PosSize::HEIGHT );
++				break;
++			default:
++				break;
++		}
++	}
++}	
++
++sal_Int32 SAL_CALL 
++ScVbaWindow::getHeight() throw (uno::RuntimeException)
++{
++	css::awt::Rectangle aRect = getPosSize(m_xModel);
++	return aRect.Height;
++}
++
++void SAL_CALL 
++ScVbaWindow::setHeight( sal_Int32 _height ) throw (uno::RuntimeException)
++{
++	setPosSize(m_xModel, _height, css::awt::PosSize::HEIGHT);
++}
++
++sal_Int32 SAL_CALL 
++ScVbaWindow::getLeft() throw (uno::RuntimeException)
++{
++	css::awt::Rectangle aRect = getPosSize(m_xModel);
++	return aRect.X;
++}
++
++void SAL_CALL 
++ScVbaWindow::setLeft( sal_Int32 _left ) throw (uno::RuntimeException)
++{
++	setPosSize(m_xModel, _left, css::awt::PosSize::X);
++}
++sal_Int32 SAL_CALL 
++ScVbaWindow::getTop() throw (uno::RuntimeException)
++{
++	css::awt::Rectangle aRect = getPosSize(m_xModel);
++	return aRect.Y;
++}
++
++void SAL_CALL 
++ScVbaWindow::setTop( sal_Int32 _top ) throw (uno::RuntimeException)
++{
++	setPosSize(m_xModel, _top, css::awt::PosSize::Y);
++}
++sal_Int32 SAL_CALL 
++ScVbaWindow::getWidth() throw (uno::RuntimeException)
++{
++	css::awt::Rectangle aRect = getPosSize(m_xModel);
++	return aRect.Width;
++}
++
++void SAL_CALL 
++ScVbaWindow::setWidth( sal_Int32 _width ) throw (uno::RuntimeException)
++{
++	setPosSize(m_xModel, _width, css::awt::PosSize::WIDTH);
++}
++
++sal_Int32 SAL_CALL 
++ScVbaWindow::PointsToScreenPixelsX(sal_Int32 _points) throw (css::script::BasicErrorException, css::uno::RuntimeException)
++{
++	sal_Int32 nHundredthsofOneMillimeters = Millimeter::getInHundredthsOfOneMillimeter( _points );
++	double fConvertFactor = (m_xDevice->getInfo().PixelPerMeterX/100000);
++	return static_cast<sal_Int32>(fConvertFactor * nHundredthsofOneMillimeters );
++}
++
++sal_Int32 SAL_CALL 
++ScVbaWindow::PointsToScreenPixelsY(sal_Int32 _points) throw (css::script::BasicErrorException, css::uno::RuntimeException)
++{
++	sal_Int32 nHundredthsofOneMillimeters = Millimeter::getInHundredthsOfOneMillimeter( _points );
++	double fConvertFactor = (m_xDevice->getInfo().PixelPerMeterY/100000);
++	return static_cast<sal_Int32>(fConvertFactor * nHundredthsofOneMillimeters );
++}
++
++void SAL_CALL 
++ScVbaWindow::PrintOut( const css::uno::Any& From, const css::uno::Any&To, const css::uno::Any& Copies, const css::uno::Any& Preview, const css::uno::Any& ActivePrinter, const css::uno::Any& PrintToFile, const css::uno::Any& Collate, const css::uno::Any& PrToFileName ) throw (css::script::BasicErrorException, css::uno::RuntimeException)
++{
++	// need test, print current active sheet	
++	PrintOutHelper( From, To, Copies, Preview, ActivePrinter, PrintToFile, Collate, PrToFileName, m_xModel, sal_True );
++}
++
++void SAL_CALL 
++ScVbaWindow::PrintPreview( const css::uno::Any& EnableChanges ) throw (css::script::BasicErrorException, css::uno::RuntimeException)
++{
++	// need test, print preview current active sheet	
++	PrintPreviewHelper( EnableChanges, m_xModel );	
++}
++
+ rtl::OUString& 
+ ScVbaWindow::getServiceImplName()
+ {

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbawindow-hxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbawindow-hxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,54 @@
+--- sc/source/ui/vba/vbawindow.hxx	
++++ sc/source/ui/vba/vbawindow.hxx
+@@ -64,8 +64,11 @@ public:	
+ 	void  Scroll( const css::uno::Any& Down, const css::uno::Any& Up, const css::uno::Any& ToRight, const css::uno::Any& ToLeft, bool bLargeScroll = false ) throw (css::uno::RuntimeException);	
+ public:
+ 	ScVbaWindow( const css::uno::Reference< oo::vba::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::frame::XModel >& xModel );
+- 	css::uno::Reference< oo::excel::XPane > ActivePane();
++
+ 	// XWindow
++	virtual css::uno::Reference< oo::excel::XRange > SAL_CALL ActiveCell(  ) throw (css::script::BasicErrorException, css::uno::RuntimeException); 
++ 	virtual css::uno::Reference< oo::excel::XPane > SAL_CALL ActivePane() throw (css::script::BasicErrorException, css::uno::RuntimeException);
++	virtual css::uno::Reference< oo::excel::XWorksheet > SAL_CALL ActiveSheet(  ) throw (css::script::BasicErrorException, css::uno::RuntimeException); 
+ 	virtual void SAL_CALL setCaption( const css::uno::Any& _caption ) throw (css::uno::RuntimeException);
+ 	virtual css::uno::Any SAL_CALL getCaption() throw (css::uno::RuntimeException);
+ 	virtual ::sal_Bool SAL_CALL getDisplayGridlines() throw (css::uno::RuntimeException);
+@@ -82,6 +85,10 @@ public:
+ 	virtual void SAL_CALL setDisplayWorkbookTabs( ::sal_Bool _bDisplayWorkbookTabs ) throw (css::uno::RuntimeException);
+ 	virtual ::sal_Bool SAL_CALL getFreezePanes() throw (css::uno::RuntimeException);
+ 	virtual void SAL_CALL setFreezePanes( ::sal_Bool _bFreezePanes ) throw (css::uno::RuntimeException);
++    virtual sal_Int32 SAL_CALL getHeight() throw (css::uno::RuntimeException) ;
++    virtual void SAL_CALL setHeight( sal_Int32 _height ) throw (css::uno::RuntimeException) ;
++    virtual sal_Int32 SAL_CALL getLeft() throw (css::uno::RuntimeException) ;
++    virtual void SAL_CALL setLeft( sal_Int32 _left ) throw (css::uno::RuntimeException) ;
+ 	virtual ::sal_Bool SAL_CALL getSplit() throw (css::uno::RuntimeException);
+ 	virtual void SAL_CALL setSplit( ::sal_Bool _bSplit ) throw (css::uno::RuntimeException);
+     virtual sal_Int32 SAL_CALL getSplitColumn() throw (css::uno::RuntimeException) ;
+@@ -96,6 +103,14 @@ public:
+     virtual void SAL_CALL setScrollRow( const css::uno::Any& _scrollrow ) throw (css::uno::RuntimeException) ;
+     virtual css::uno::Any SAL_CALL getScrollColumn() throw (css::uno::RuntimeException) ;
+     virtual void SAL_CALL setScrollColumn( const css::uno::Any& _scrollcolumn ) throw (css::uno::RuntimeException) ;
++    virtual sal_Int32 SAL_CALL getTop() throw (css::uno::RuntimeException) ;
++    virtual void SAL_CALL setTop( sal_Int32 _top ) throw (css::uno::RuntimeException) ;
++    virtual css::uno::Any SAL_CALL getView() throw (css::uno::RuntimeException);
++    virtual void SAL_CALL setView( const css::uno::Any& _view ) throw (css::uno::RuntimeException);
++    virtual sal_Bool SAL_CALL getVisible() throw (css::uno::RuntimeException);
++    virtual void SAL_CALL setVisible( sal_Bool _visible ) throw (css::uno::RuntimeException);
++    virtual sal_Int32 SAL_CALL getWidth() throw (css::uno::RuntimeException) ;
++    virtual void SAL_CALL setWidth( sal_Int32 _width ) throw (css::uno::RuntimeException) ;
+     virtual css::uno::Any SAL_CALL getWindowState() throw (css::uno::RuntimeException);
+     virtual void SAL_CALL setWindowState( const css::uno::Any& _windowstate ) throw (css::uno::RuntimeException);
+     virtual css::uno::Any SAL_CALL getZoom() throw (css::uno::RuntimeException);
+@@ -108,8 +123,11 @@ public:
+ 	virtual void SAL_CALL ScrollWorkbookTabs( const css::uno::Any& Sheets, const css::uno::Any& Position ) throw (css::uno::RuntimeException);
+ 	virtual void SAL_CALL Activate(  ) throw (css::uno::RuntimeException);
+ 	virtual void SAL_CALL Close( const css::uno::Any& SaveChanges, const css::uno::Any& FileName, const css::uno::Any& RouteWorkBook ) throw (css::uno::RuntimeException);
+-	 virtual css::uno::Reference< oo::excel::XRange > SAL_CALL ActiveCell(  ) throw (css::script::BasicErrorException, css::uno::RuntimeException); 
+ 	 virtual css::uno::Any SAL_CALL Selection(  ) throw (css::script::BasicErrorException, css::uno::RuntimeException); 
++	 virtual sal_Int32 SAL_CALL PointsToScreenPixelsX(sal_Int32 _points) throw (css::script::BasicErrorException, css::uno::RuntimeException);
++	 virtual sal_Int32 SAL_CALL PointsToScreenPixelsY(sal_Int32 _points) throw (css::script::BasicErrorException, css::uno::RuntimeException);
++	 virtual void SAL_CALL PrintOut( const css::uno::Any& From, const css::uno::Any&To, const css::uno::Any& Copies, const css::uno::Any& Preview, const css::uno::Any& ActivePrinter, const css::uno::Any& PrintToFile, const css::uno::Any& Collate, const css::uno::Any& PrToFileName ) throw (css::script::BasicErrorException, css::uno::RuntimeException);
++	 virtual void SAL_CALL PrintPreview( const css::uno::Any& EnableChanges ) throw (css::script::BasicErrorException, css::uno::RuntimeException);
+ 	// XHelperInterface
+ 	virtual rtl::OUString& getServiceImplName();
+ 	virtual css::uno::Sequence<rtl::OUString> getServiceNames();

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbaworkbook-cxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbaworkbook-cxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,22 @@
+--- sc/source/ui/vba/vbaworkbook.cxx	
++++ sc/source/ui/vba/vbaworkbook.cxx
+@@ -433,13 +433,17 @@ ScVbaWorkbook::Styles( const::uno::Any& 
+ 
+ // Amelia Wang
+ uno::Any SAL_CALL
+-ScVbaWorkbook::Names( ) throw (uno::RuntimeException)
++ScVbaWorkbook::Names( const css::uno::Any& aIndex ) throw (uno::RuntimeException)
+ {
+ 	uno::Reference< frame::XModel > xModel( getModel() );
+ 	uno::Reference< beans::XPropertySet > xProps( xModel, uno::UNO_QUERY_THROW );
+ 	uno::Reference< sheet::XNamedRanges > xNamedRanges(  xProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("NamedRanges") ) ), uno::UNO_QUERY_THROW );
+ 	uno::Reference< vba::XCollection > xNames( new ScVbaNames( this , mxContext , xNamedRanges , xModel ));
+-	return uno::Any( xNames );
++    if (  aIndex.getValueTypeClass() == uno::TypeClass_VOID )
++    {
++        return uno::Any( xNames );
++    }
++    return uno::Any( xNames->Item( aIndex, uno::Any() ) );
+ }
+ 
+ rtl::OUString& 

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbaworkbook-hxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbaworkbook-hxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,11 @@
+--- sc/source/ui/vba/vbaworkbook.hxx	
++++ sc/source/ui/vba/vbaworkbook.hxx
+@@ -80,7 +80,7 @@ public:
+ 	virtual void SAL_CALL Save() throw (css::uno::RuntimeException);
+ 	virtual void SAL_CALL Activate() throw (css::uno::RuntimeException);
+     // Amelia Wang
+-    virtual css::uno::Any SAL_CALL Names( ) throw (css::uno::RuntimeException);
++    virtual css::uno::Any SAL_CALL Names( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException);
+ 
+ 	virtual css::uno::Any SAL_CALL Styles( const css::uno::Any& Item ) throw (css::uno::RuntimeException);
+ 	virtual void SAL_CALL ResetColors(  ) throw (css::script::BasicErrorException, css::uno::RuntimeException);

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbaworksheet-cxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbaworksheet-cxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,32 @@
+--- sc/source/ui/vba/vbaworksheet.cxx	
++++ sc/source/ui/vba/vbaworksheet.cxx
+@@ -860,6 +864,29 @@ ScVbaWorksheet::getSheetID() throw (uno:
+ 	return xAddressable->getRangeAddress().Sheet;
+ }
+ 
++void SAL_CALL 
++ScVbaWorksheet::PrintOut( const uno::Any& From, const uno::Any& To, const uno::Any& Copies, const uno::Any& Preview, const uno::Any& ActivePrinter, const uno::Any& PrintToFile, const uno::Any& Collate, const uno::Any& PrToFileName, const uno::Any& IgnorePrintAreas ) throw (uno::RuntimeException)
++{
++	sal_Int32 nTo = 0;
++	sal_Int32 nFrom = 0;
++	sal_Int16 nCopies = 1;
++	sal_Bool bCollate = sal_False;
++	sal_Bool bSelection = sal_False;
++    sal_Bool bIgnorePrintAreas = sal_False;
++	From >>= nFrom;
++	To >>= nTo;
++	Copies >>= nCopies;
++    IgnorePrintAreas >>= bIgnorePrintAreas;
++	if ( nCopies > 1 ) // Collate only useful when more that 1 copy
++		Collate >>= bCollate;
++
++	if ( !( nFrom || nTo ) )
++		bSelection = sal_True;
++
++    uno::Reference< frame::XModel > xModel( getModel(), uno::UNO_QUERY_THROW );  
++	PrintOutHelper( From, To, Copies, Preview, ActivePrinter, PrintToFile, Collate, PrToFileName, xModel, bSelection );
++}
++
+ 
+ namespace worksheet
+ {

Added: trunk/scratch/sc-vba/sc-source-ui-vba-vbaworksheet-hxx.diff
==============================================================================
--- (empty file)
+++ trunk/scratch/sc-vba/sc-source-ui-vba-vbaworksheet-hxx.diff	Tue Jan  8 17:24:13 2008
@@ -0,0 +1,10 @@
+--- sc/source/ui/vba/vbaworksheet.hxx	
++++ sc/source/ui/vba/vbaworksheet.hxx
+@@ -136,6 +136,7 @@ public:
+     virtual void SAL_CALL setCodeName( const rtl::OUString& sCodeName ) throw (css::uno::RuntimeException);
+     sal_Int16 getSheetID() throw (css::uno::RuntimeException);
+ 
++	virtual void SAL_CALL PrintOut( const css::uno::Any& From, const css::uno::Any& To, const css::uno::Any& Copies, const css::uno::Any& Preview, const css::uno::Any& ActivePrinter, const css::uno::Any& PrintToFile, const css::uno::Any& Collate, const css::uno::Any& PrToFileName, const css::uno::Any& IgnorePrintAreas ) throw (css::uno::RuntimeException);
+ 	// XHelperInterface
+ 	virtual rtl::OUString& getServiceImplName();
+ 	virtual css::uno::Sequence<rtl::OUString> getServiceNames();	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]