TWiki Home TWiki . Protector . DocCheckRtf101 ( vs. r1.1) TWiki webs:
Know?| Main | Protector | TWiki |
Protector . { Home | Changes | Index | Search | Go }
 <<O>>  Difference Topic DocCheckRtf101 (r1.1 - 29 Jun 2002 - ChrisLowth)
Added:
>
>

%META:TOPICINFO{author="chris.lowth" date="1025367540" format="1.0" version="1.1"}% %META:TOPICPARENT{name="Documents"}%

check_rtf

Part of protector (http://protector.sourceforge.net)
By Chris Lowth, (protector@lowth.com)

Synopsis

  check_rtf filename 

Description

check_rtf checks an RTF format document to verify its safety following "protector's" paradigm. It checks for a consistent format (very crudely), and that the document contains no attachment. A future enhancement is planned that will extract attachments for checking.

The program displays the results of it's checks as a message that is easy for the protector "part_filter" to decode. The possible result strings are..

Message Description
replace_with cant_read_decoded An error has occurred opening or reading the document.
replace_with rtf_bad_structure The internal format of the document is inconsistent or corrupted.
replace_with rtf_contains_objects The document contains attachments which cant be extracted or checked.
allow_unchanged The file format is valid and it contains no sub-objects. In short: it's safe to deliver.

Topic DocCheckRtf101 . { View | Diffs | r1.1 | More }
Revision -
Revision r1.1 - 29 Jun 2002 - 16:19 GMT - ChrisLowth
Copyright © 2001 by the contributing authors. All material on this collaboration tool is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.