Word Perfect Help!

This is a discussion on Word Perfect Help! within the General Discussions forums, part of the Community Boards category; Originally Posted by Fordy I'm writing a program that has to extract data from a variety of document formats (including ...

  1. #16
    Registered User
    Join Date
    Jul 2011
    Posts
    2
    Quote Originally Posted by Fordy View Post
    I'm writing a program that has to extract data from a variety of document formats (including odt, doc, docx, rtf, pdf, wps...etc) and I also need to write a module for a load of old Word Perfect documents.

    To test it I'm putting the same passage of text into a document of each type and checking if the results spat out from each module are the same. I've put the lords prayer in each as a quick test, but haven't got Word Perfect installed to save the file in the format with a "wpd" extension. Open Office, AbiWord and MS Word 2007 wont save down to this format so I'm rather stuck. Does anyone have an old copy of Word Perfect installed to enable them to save this text down and send it to me?

    The text is


    Any help would be much appreciated
    WPD used by WP6 or more. I could make file for you by using it. You tried PolyEdit? from their web-site (free but no printing).

  2. #17
    Registered User
    Join Date
    Jul 2011
    Posts
    2
    80 = space 20
    CC = hard return 0D 0A
    Some different bytes in different places + after I saved as txt & made 2nd copy from it; & sometimes they = where a CC (= hard return) was. So I guess they give a hard return sometimes but have nothing else to do + text formating.

    1st go:
    wh F1 02 04 00 F1 o F1 02 05 00 F1 D4 25 0D 0A 00 80 01 07 00 00 00 0D 0A 00 D4 F1 03 05 00 F1 F1 03 04 00 F1

    2nd go:
    ... heaven, D0 04 15 00 00 0B 00 09 00 01 B0 04 00 00 00 00 01 20 15 00 D0 hallowed be thy name.
    ... evil. F1 02 03 00 F1 D4 25 0D 0A 00 80 01 08 00 00 00 0D 0A 00 D4 F1 03 03 00 F1 CC [The 1928 BCP adds:

    See the CC for [hard return]?
    Many bytes before text but none after.
    Good luke!

  3. #18
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,597
    Please do not bump old threads. Closed.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. reading text-and-numbers file word by word
    By bored_guy in forum C Programming
    Replies: 22
    Last Post: 10-26-2009, 11:59 PM
  2. Dirty Word (Microsoft Word that is, you sicko!)
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 07-02-2005, 08:27 AM
  3. Replies: 3
    Last Post: 02-08-2005, 04:15 PM
  4. open file, search of word, replace word with another
    By Unregistered in forum C++ Programming
    Replies: 0
    Last Post: 06-05-2002, 02:16 PM
  5. Help reading text file word by word
    By Unregistered in forum C++ Programming
    Replies: 6
    Last Post: 05-25-2002, 06:13 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21