Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

word doc to rb

edited December 2005 in General
Using 7.04 with Delphi 7.

What is the best way to go from a complicated word doc with lines and
boxes and text to making that an image or something similar in report
builder so I can print fields between the lines. My image turns out
large when I convert it to adobe and then to jpg. Any suggestions?

Comments

  • edited December 2005
    Hi Louis,

    Unfortunately I do not believe there is a good way to convert from Word to
    RB. You may try saving your Word document as a rtf file, then load it into
    the TppRichText component on a report. Perhaps enhancing the rich text
    component in RB with InfoPower or WPTools will allow all of your objects to
    appear on the report.

    InfoPower RichEdit Support
    ---------------------------
    InfoPower from Woll2Woll Software is a popular database add-on product for
    Delphi. InfoPower's TwwRichEdit components support the Windows RichEdit2
    format. This format allows the rich text data to contain embedded bitmaps
    and OLE objects. For more information please see http:\\www.Woll2Woll.com.

    ReportBuilder includes a component that enables the TppRichText and
    TppDBRichText controls in ReportBuilder to use the formatting capabilities
    of InfoPower's TwwRichEdit when rendering RTF data. The ppWWRichEd.pas unit
    located in the ..\RBuilder\InfoPower directory defines a TwwDBRichEdit
    descendant and then registers the class with ReportBuilder. This enables the
    TppRichText and TppDBRichText controls in ReportBuilder to use the
    formatting capabilities of TwwDBRichEidt when rendering data.


    WPTools Support
    ----------------
    WPTools is a collection of components used to edit and print formatted text.
    With its own RTF engine, WPTools offers numerous features not supported by
    the standard Windows RichEd20.dll. This control lets you use tables,
    paragraph frames, headers and footers etc. Using the optional ReportBuilder
    support units for WPTools 2.x, you can print the enhanced WPTools features
    (justified text, tables, graphics...) within your ReportBuilder reports. For
    more information please see http:\\www.wptools.de.

    TRichView
    ----------
    TRichView is a suite of native Delphi components for displaying, editing,
    and printing hypertext documents. Documents can contain tables, pictures,
    and images. TRichView is available from www.trichview.com. There is a
    wrapper for available for using TRichView inside ReportBuilder, see
    http://www.digital-metaphors.com/Subpages/Downloads/CompanionRCL.html or
    http://www.trichview.com/resources/

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2005

    In addition to Nico's suggestion about RTF, you might also try exporting
    from Word to HTML - I think TRichView can load html. (see TRichView below).






    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.