I do not know a good way to do this, but, I would being by understanding how to enumerate all content, and then finding all text content in embedded content, and then finding the font used for that specific text content. Realize that a specific text content may use multiple fonts...
On Tue, 9 Nov 2010 17:28:21 +0530, Akash Agrawal <[email protected]> wrote: > Hi, > > I have a task in hand. I want to see what all fonts are used in a > particular > ppt/doc file. And want to see if I have to replace fonts in order to > operate > on the same file. I am a novice to OpenOffice and it will be very helpful > if > someone can help with the same. > > Is FontDescriptor helpful for this thing? How can I use that in python > script? > > http://api.openoffice.org/docs/common/ref/com/sun/star/awt/FontDescriptor.html > > > Thanks, > Akash --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
