[Libreoffice] [GSoC 2011][svgexport] weekly report #1

Thorsten Behrens thb at documentfoundation.org
Tue May 31 01:36:46 PDT 2011


Marco wrote:
> >>          if( mpSdrModel )
> >>          {
> >>              SdrOutliner& rOutl = mpSdrModel->GetDrawOutliner(NULL);
> >>
> >>              maOldFieldHdl = rOutl.GetCalcFieldValueHdl();
> >>              rOutl.SetCalcFieldValueHdl( LINK( this, SVGFilter,
> >>CalcFieldHdl) );
> >>          }
> 
> Well what is a DrawOutliner ? And what is the CalcFieldValue supposed
> to do ? And which is its role in the export procedure ?
> 
Hi Marco,

the code in question changes the callback that fills in the "field
values" in Impress - little placeholders in text, that expand to
various things, like current date, page etc. - you find a bunch of
them in the Insert->Fields menu. For what the callback does, well,
see CalcFieldHdl in the same file.

Cheers,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110531/568a7a09/attachment.pgp>


More information about the LibreOffice mailing list