Notes on gallery defficiencies, see also openclipart.txt:

* Longer term To Do
    + Create a better thumbnail specification
	+ not based on 1 thumb/per/icon
	+ single large-image/strip thing.
	+ RGBA ?
	    + BitmapEx (?) [ upside down ]
	    + right-way-up etc.
	    + index file [?] [ directory ]
    + make gallery a tree-view widget
    + ensure we can get relative paths included
    + get a recursive structure setup somehow (?)
        + output .thm to some text format - not binary blob (?) [!?]
	+ why is any of this some random database ?
    + add search

+ extras/source/gallery/
	+ images etc. live here
+ svx/source/gallery2/
    + galtheme.cxx
	    + should be able to create a load of
		     + SgaObjectBmp

    + inc/galtheme.hxx:
	    + InsertObject (SgaObject )
	    	    + GetThumb -> bitmap

    + inc/galobj.hxx (SgaObject):
	    + SgaObjectBmp( const INetURLObject )
	    + or SgaObjectBmp( const Graphic *,const INetURLObject );

gallery1.hxx (Gallery)
    + GalleryTheme* AcquireTheme( const String& rThemeName, SfxListener& rListener );


Creates a theme: but no '.thm' file - required by AcquireFoo ...
	+ 'aThmURL'  (GalleryThemeEntry) -> GetThmURL


** Problem ** Inserts absolute URLs ...

The galtheme.cxx - Insert's objects into aObjectList
    + in ImplWriteSgaObject
	+ very early - written to the theme stream
	  [ with URL intact ]
    + files written to SdgURL, SdvURL etc.

* A design:
    + svx/inc/galtheme.hxx
	+ add member & set method: 'maDestDir', 'SetDestDir'
	    + [ set that destdir from commandline in gal.cxx ]
    + svx/source/gallery/galtheme.cxx (ImplWriteSgaObject)
	- *pOStm << rObj;
	+ rObj->WriteData( *pOStm, maDestDir );
    + svx/inc/galobj.hxx
	+ update all WriteData virtual methods to pass the string
    + svx/source/gallery/galobj.cxx (WriteData*)
	+ pass down the string to the base-class impl.
	+ cf. tools/inc/urlobj.hxx
	    + chop the rDestDir out of the URL
		+ this will require the real testing etc. :-)

* Numbers of galleries:
    + svx/inc/gallery1.hxx
	+ ULONG nLastFileNumber;
	    + defines the highest number of the available themes
    + svx/source/gallery2/gallery1.cxx
	+ Gallery::CreateTheme
	    + creates a theme using ++nLastFileNumber
