Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index



Hi all,
unfortunately I spend the first half of the week in solving build
issues, anyhow after Thorsten's advice to base my job on the
libreoffice-3-4-0 branch instead of on the master branch all work smoothly.
In the second half I started looking through the source code related
to svg export functionality, at present I have a enough clear vision of
SVGFilter and SVGExport classes (I still need to tackle SVGActionWriter,
SVGFontExport). After reading this source code I have some question:

(1)
is "api.openoffice.org" the right place where to look for API
documentation ?

(2)
what is the difference between: XShape, SdrObject (and derived classes)
and Graphic ? Which are their roles ?

(3)
what is the GDIMetafile associated with an object of type Graphic ?
(and what are MetaActions ?)


moreover some source code is a bit obscure to me:

(1)
OutputDevice::LogicToLogic( rSize100thmm, MAP_100TH_MM, aMapMode )

(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) );
          }
      }
}


-- Marco



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.