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


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

Attachment: pgpigzkDij3Yg.pgp
Description: PGP signature


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.