@tiziano > If the dimensions of your table are fixed, there is another method that > avoids you lot af headaches: build the document you need with word, put > into the cells special tags, i.e: %r01c01, %r02c01,..., an so on. > > Then save the document as rtf (rich text format) so your program can > read in the file, substitute the tags with your values and save it again. > Unfortunately this requires that the enduser (te ones with the word document) somehow insert the modified RTF file in the document. That's gonna be a disaster...
@Hans-Peter > Better stay away from creating data structures for external applications > - this approach most probably will fail with the next Word version :-( That sucks (well, it is M$) > Even if you intend to bind your customers to updates of your program, > you'll have to determine the installed Word version at runtime, and > provide the code for *every* supported version. That sucks even more. Could I put a table as HTML on the clipboard? Word will interpret that as a table and happily paste it. Bart _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
