[sword-devel] Working on a STEP Reader for SWORD
Mon, 12 Jun 2000 12:50:19 -0700
I finally got the source code you mentioned to compile. I have an
old copy of QuickVerse (version 4.0) with a KJV bible. However, whenever I
run the test program against it, all I get is a different file of unreadable
I don't know if I'm doing something wrong, or if the program wasn't
as far along as I thought. Did the test program ever successfully
decompress a STEP file? If so, are there copies of the original and
decompressed versions of the file?
I'd like to avoid a potentially lengthy process of going over all
the code if I can.
From: Troy A. Griffitts [mailto:firstname.lastname@example.org]
Sent: Friday, June 02, 2000 8:10 PM
Subject: Re: [sword-devel] Working on a STEP Reader for SWORD
It's not a bad as others might suggest. We do have STEP
classes. You will find them under
a convoluted example of using this class can be found in
A you will probably use the buffer methods to send chunks of a STEP
module for decompression, eg.
// set compressed buffer to the lzss compression class
// ask the compression class for the decompressed buffer
cout << "Decompressed text: " << compress.Buf();
Hope this gives ya a start. The STEP spec will tell you that umpteen
bytes at the beginning of the index files tell you meta data and then
you'll start getting to real data blocks eventually. Try sending one of
these data blocks to the compress class and you should get plain text
data back (well STEP's RTF+ markup with data). You will then want to
visit our filter collection:
These filters are used for parsing different markup methodologies. We
have some for rtf, gbf, html, etc. You might be able to start with one
of these and see if you can get some basic text to display.
Please feel free to ASK LOTS OF QUESTIONS! :)
"Trandahl, Steve" wrote:
> I would like to create a module for Sword that would allow it to read
> in the STEP format. I understand that there has been some work done, but
> that no one is currently working on it. How do I locate the existing
> code for it?
> Steve Trandahl
> Cotelligent Philadelphia
> <mailto:Steve.Trandahl@Cotelligent.com> Steve.Trandahl@Cotelligent.com