Hi Marco, great you're making progress -
you asked: > (1) > is "api.openoffice.org" the right place where to look for API > documentation ? > Yep. > (2) > what is the difference between: XShape, SdrObject (and derived classes) > and Graphic ? Which are their roles ? > XShape is an interface, SdrObject the actual representation of that model - it is facaded towards XShape via SvxShape. > (3) > what is the GDIMetafile associated with an object of type Graphic ? > (and what are MetaActions ?) > It's like a Windows Metafile (WMF) - a list of "drawing" actions, recorded from rendering that shape. MetaActions are the atomic drawing primitives, i.e. set a color, draw a polygon, render some text etc. > (1) > OutputDevice::LogicToLogic( rSize100thmm, MAP_100TH_MM, aMapMode ) > Yep, that's sadly missing documentation - would be wonderful if you could add doxygen-style inline documentation to the header files, whenever you encounter such omissions. In this case, it's a conversion between coordinate systems (see vcl/outdev.hxx for the prototypes): rSize100thmm is converted from the "MAP_100TH_MM" coordinate system (i.e. one unit is a hundreth of a millimeter) to the aMapMode coordinate system. > (2) > xDrawPages->getByIndex( nDefaultPage ) >>= mxDefaultPage; > > if( mxDefaultPage.is() ) > { > SvxDrawPage* pSvxDrawPage = SvxDrawPage::getImplementation( > mxDefaultPage ); > > if( pSvxDrawPage ) > { > mpDefaultSdrPage = pSvxDrawPage->GetSdrPage(); > mpSdrModel = mpDefaultSdrPage->GetModel(); > > if( mpSdrModel ) > { > SdrOutliner& rOutl = mpSdrModel->GetDrawOutliner(NULL); > > maOldFieldHdl = rOutl.GetCalcFieldValueHdl(); > rOutl.SetCalcFieldValueHdl( LINK( this, SVGFilter, > CalcFieldHdl) ); > } > } > } > What's your concrete question? ;) Cheers, -- Thorsten
pgpblzV8Jfz1C.pgp
Description: PGP signature
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice