blob: 960cd6a9ed9c242bc8418ed327718721256dc2b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
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.
|