Fine Nick! And what about the text formatting of files generated? Could I choose the format of values before generate the files?
And what about the insertion of images, can I change a key by an image? Thanks! Luiz On 10/11/07, Nick Burch <[EMAIL PROTECTED]> wrote: > > On Thu, 11 Oct 2007, Luiz Antonio Falaguasta Barbosa wrote: > > What I need is read a template .PPT file, identify its keys, select each > > value (from the database) that fits to each key of the file and generate > > a new file, based on the template, with the values selected by the user > > inside it. > > You'll need to open up your template file, then loop over all the sheets, > looking at their textual content. In there, spot your template keys, and > look them up. Replace the text with the version containing the values, and > write back out. > > The proceedure for hwpf for word docs is fairly similar, but IIRC you'll > need to go all the way down to the character runs to alter the text, so it > won't break the formatting > > Nick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
