Ignore:
Timestamp:
Jul 6, 2008, 8:20:14 PM (16 years ago)
Author:
Kevin Toppenberg
Message:

Uploading from OR_30_258

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/foia-cprs/CPRS-Chart/uProbs.pas

    r459 r460  
    134134   fFieldList:TstringList; {list of fields by name and class (TKeyVal or TComment)}
    135135   fFilerObj:TstringList;
     136   fCmtIsXHTML: boolean;
     137   fCmtNoEditReason: string;
    136138   Procedure LoadField(Fldrec:TKeyVal;Id:String;name:string);
    137139   Procedure CreateFields;
     
    223225   property AltFilerObject:TstringList read GetAltFilerObject;
    224226   property PIFN:string read fPIFN write fPIFN;
     227   property CmtIsXHTML: boolean read fCmtIsXHTML;
     228   property CmtNoEditReason: string read fCmtNoEditReason;
    225229 end;
    226230
     
    580584var
    581585  i,j:integer;
    582   cv:string;
     586  cv, noedit:string;
    583587  co:TComment;
    584588  first:boolean;
     
    591595        begin
    592596          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
    594612          else
    595613            begin
Note: See TracChangeset for help on using the changeset viewer.