I need to see an example of an editor using data-aware components which will generate the document and save it as an HTML document to be used in emailing. The
SaveHTML
and
SaveHTMLEx
don't seem to apply to data-aware editor, so I am lost. I am using the trial download, and want to be able to do this before I buy the package.
Thanks
Jim Sawyer
data-aware HTML example
-
- Posts: 2
- Joined: Mon Aug 04, 2014 4:57 pm
- Location: United States
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 2
- Joined: Mon Aug 04, 2014 4:57 pm
- Location: United States
rvHtmlViewImportD7 and THTMLViewer
I downloaded these packages and have read the "readme.txt" file included in the packages. I have less than no idea how to install these packages after reading "readme.txt". Could someone please provide some more detailed information on how to install them for Delphi 7?
Thank you
Jim Sawyer
Thank you
Jim Sawyer
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
For TRVHtmlImporter, it's simple:
Open RVHTMLD7.dpk, click "Install" button in the package window. Add the path to this package in the Delphi library path (Tools | Environment Options, tab Library, Library path).
===============================
For TrvHtmlViewImporter, it's more difficult.
First, you need to install THTMLViewer. For Delphi 7, you can use old version of it from http://www.pbear.com/htmlviewers.html (professional version).
But before installing Frameviewer7.dpk,
1) open its options (Options button in the package window), tab Description, set Build control = Explicit rebuild.
2) Make changes in pas-files:
Then install rvHtmlViewImportD7.dpk. But before installing, open rvHtmlViewImporter.pas, find the line {$DEFINE GOOGLECODE} and remove it.
Add the path to this package in the Delphi library path.
PS may be the newest version of THTMLViewer from http://code.google.com/p/thtmlviewer/ would be simple for install, but it needs to be downloaded from svn, and the latest version of this THTMLViewer is supported only in the beta version of TRichView
Open RVHTMLD7.dpk, click "Install" button in the package window. Add the path to this package in the Delphi library path (Tools | Environment Options, tab Library, Library path).
===============================
For TrvHtmlViewImporter, it's more difficult.
First, you need to install THTMLViewer. For Delphi 7, you can use old version of it from http://www.pbear.com/htmlviewers.html (professional version).
But before installing Frameviewer7.dpk,
1) open its options (Options button in the package window), tab Description, set Build control = Explicit rebuild.
2) Make changes in pas-files:
Add the path to this package in the Delphi library path.In "Htmlsubs.pas" in class "TBlockLI"
TBlockLI = class(TBlock)
private
protected // <-- insert this, so we can access ListType, etc.
ListType: ListTypeType;
ListNumb: integer;
...
In "HTMLUn2.pas" in class "TChPosObj"
TChPosObj = class (TIDObject)
public < -- change "private" to "public", so we can access ChPos
ChPos: integer;
List: TList;
...
Then install rvHtmlViewImportD7.dpk. But before installing, open rvHtmlViewImporter.pas, find the line {$DEFINE GOOGLECODE} and remove it.
Add the path to this package in the Delphi library path.
PS may be the newest version of THTMLViewer from http://code.google.com/p/thtmlviewer/ would be simple for install, but it needs to be downloaded from svn, and the latest version of this THTMLViewer is supported only in the beta version of TRichView