Changeset 729 for cprs/branches/tmg-cprs/CPRS-Chart/rHTMLTools.pas
- Timestamp:
- Mar 31, 2010, 5:06:56 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/tmg-cprs/CPRS-Chart/rHTMLTools.pas
r686 r729 37 37 procedure RestoreIEPrinting; 38 38 function ExtractDateOfNote(Lines : TStringList) : string; 39 Procedure ScanForSubs(Lines : TStrings); 39 40 40 41 implementation … … 46 47 fTMGPrintingAnimation, 47 48 ExtCtrls, 49 uTemplateFields, 48 50 fTemplateDialog, 49 51 StrUtils; … … 160 162 161 163 try 164 rHTMLTools.ScanForSubs(Lines); //Added to correct Printing issue elh 162 165 frmNotes.SetDisplayToHTMLvsText([vmView,vmHTML],Lines); //ActivateHtmlViewer(Lines); 163 166 if frmNotes.HtmlViewer.WaitForDocComplete = false then begin … … 280 283 //Ensure images are downloaded before passing page to web browser 281 284 frmImages.timLoadImagesTimer(nil); 285 //NOTE: This often doesn't get the job completed before passing to browser 286 // ?? check for completion? 282 287 end; 283 288 end; … … 297 302 or (Pos('<HTML>',Line) > 0) 298 303 or (Pos('<BR>',Line) > 0) 299 or (Pos( fTemplateDialog.HTMLBEGINNINGTAG,Line) > 0)304 or (Pos(HTML_BEGIN_TAG,Line) > 0) 300 305 or (Pos('<P>',Line) > 0) 301 306 or (Pos('&NBSP',Line) > 0)
Note:
See TracChangeset
for help on using the changeset viewer.