Leonardo M. Ramé wrote: > I need to let the user create a block of rich text with images > for a header and footer, then a variable size block of rich > text for the main content. Joining all three blocks forms a > document, this document can be previewed and printed. > ... > ... to handle page breaks, headers and footers.
Users can create ODT (OpenDocument Text) files using LibreOffice/OpenOffice Writer. You can pack/unpack them using TZipper/TUnzipper from FPC FCL and modify their xml content using DOM/XMLRead/XMLWrite. The result can be previewed and printed using Writer again. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
