On Wed, 2005-03-02 at 13:13 +0000, mike scott wrote: > On 1 Mar 2005 at 20:35, Andrew Douglas Pitonyak wrote: > > mike scott wrote: > > >A quick query, for which I can't find an answer on the net: Given an > > >OOo document, how do I list the fonts actually used within it? > ... > > >I'm hoping there's a better way than rummaging by hand through the xml > > >stuff in the sxw file :-) > > > > > >Thanks in advance. > > > > > > > > The best that I can think of would be to use a macro.... It would > > require a decent knowledge of the API I think..... How badly do you > > require this? > > Reasonably badly (it's my wife's work :-) ), but not badly enough to > justify cutting code; and I'm afraid the OOo API is rather outside my > experience anyway. It's fairly urgent - she needs the document edited > by Friday :-( Looks like an hour or two of grubbing then; or maybe > just loading up all the old W98 fonts from a backup and then removing > them might be easier as a one-off. But thanks for the reply. > > Longer term idea - might it be useful to have the ability to list > resources of one sort or another used in a document? I'm thinking > particularly of fonts of course, but also colours used and maybe there > are other things too.
Since you are in a hurry, export the doc as pdf and use acroread to tell you the fonts that are used. Of course, you could always write a macro. You might also want to use File > AutoPilot > Install fonts from the web ... to ensure that both machines are reasonably in sync. -- Documentation Co-Lead PLEASE - keep list traffic on the list. Email sent directly to me may be ignored utterly. "Dinna meddle wi' things ye ken nuthin' aboot!" J.Herriot --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
