libwpd / writerfilter analysis

Type detection problems:

     SfxApplication::InsertDocumentDialog
	sfx2/source/bastyp/fltfnc.cxx:
	    SfxFilterMatcher::DetectFilter
		-> GuessFilter ?
		   -> no exception in there ..

    -> ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > lDescriptor = aDescriptor.getAsConstPropertyValueList(); 
       sTypeName = xDetection->queryTypeByDescriptor(lDescriptor, sal_True); // lDescriptor is used as In/Out param ... dont use aDescriptor.getAsConstPropertyValueList() directly!

       filter/source/cache/typedetection.cxx
	    impl_askDetectService - does the call ...

	



type detection:
     + sw/source/ui/app/swlib.cxx
	rFactory.GetFilterContainer()->SetDetectFilter( &SwDLL::DetectFilter );
     + sw/source/ui/app/swcomlib.cxx (GlobDetectFilter)

// Only works for storages (!?)
    SwIoSystem::IsValidStgFilter( *aStg, **ppFilter ))

    nMust != ( (*ppFilter)->GetFilterFlags() & nMust ) ||
	0 != ( (*ppFilter)->GetFilterFlags() & nDont )) )
	
	'IsValidStgFilter' -> sw/inc/iodetect.hxx
	rStd.GetFormat()

	GetSubStorageName (rFilter )
	    [ need a hack for OLE2 sub-streams ]

libwpd/
    src/
	lib/ - only bit worth dmaking.


sfx2/docfile.hxx - SfxMedium
so3/inc/svstor.hxx - ole2 bits ?
sot/source/sdstor/stgole.cxx - ole2 parsing ?

unotools/ucbstreamhelper.hxx:43:        static SvStream*    CreateStream( NS_UNO::Reference < NS_IO::XInputStream > xStream );

    
sw/source/filter/inc/fltini.hxx (StgReader->Reader ::Read)

sw/inc/shellio.hxx: StgReader, && Reader

CWS:
       cws_srx645_wpd01
	    + only 'sw', need 'scp' etc. adding.
