Changeset 460 for cprs/branches/foia-cprs/CPRS-Chart/uProbs.pas
- Timestamp:
- Jul 6, 2008, 8:20:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/foia-cprs/CPRS-Chart/uProbs.pas
r459 r460 134 134 fFieldList:TstringList; {list of fields by name and class (TKeyVal or TComment)} 135 135 fFilerObj:TstringList; 136 fCmtIsXHTML: boolean; 137 fCmtNoEditReason: string; 136 138 Procedure LoadField(Fldrec:TKeyVal;Id:String;name:string); 137 139 Procedure CreateFields; … … 223 225 property AltFilerObject:TstringList read GetAltFilerObject; 224 226 property PIFN:string read fPIFN write fPIFN; 227 property CmtIsXHTML: boolean read fCmtIsXHTML; 228 property CmtNoEditReason: string read fCmtNoEditReason; 225 229 end; 226 230 … … 580 584 var 581 585 i,j:integer; 582 cv :string;586 cv, noedit:string; 583 587 co:TComment; 584 588 first:boolean; … … 591 595 begin 592 596 if first then {the first line is just a counter} 593 first := false 597 begin 598 first := false; 599 // 'NEWþ10,0þ-1^These notes are now in XHTML format and must be modified via CPRS-R.' 600 noedit := Piece(fNewRec[i], v, 3); 601 if Piece(noedit, U, 1) = '-1' then 602 begin 603 fCmtIsXHTML := TRUE; 604 fCmtNoEditReason := Piece(noedit, U, 2); 605 end 606 else 607 begin 608 fCmtIsXHTML := FALSE; 609 fCmtNoEditReason := ''; 610 end; 611 end 594 612 else 595 613 begin
Note:
See TracChangeset
for help on using the changeset viewer.