Bug 48845 - GeoWrite File Format information
Summary: GeoWrite File Format information
Status: RESOLVED INTENTIONAL
Alias: None
Product: kword
Classification: Unmaintained
Component: filters (show other bugs)
Version: unspecified
Platform: Compiled Sources Other
: NOR wishlist
Target Milestone: ---
Assignee: Ariya Hidayat
URL:
Keywords:
: 37527 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-07 20:23 UTC by Unknown
Modified: 2005-11-29 15:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elektro Schock 2002-10-07 20:23:17 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Other

found this text file about file format specification of GeoWrite. to whom it may concern. Perhaps anybody is intrwested in an import filter.

GEOwrite v2.0/v2.1 File Format

               GEOwrite  files  are VLIR structured  files.  The  first  61
          branches (0 - 60) are the 61 pages allowed in the  file, the 61st
          record is the header (or empty for none), the  62nd record is the
          footer, the 63rd is reserved.  The  last  63 branches (64-127) are
          photo  scraps, if  there are  any present in the document. See the
          section on Photo Scrap Files and Photo Albums for more information
          concerning the photos.

               Some geoWrite file information is stored in the header block.
          This includes the following:

          OffSet      Description
          --------    ------------------------------------------------------
          $89-$8A     Page number to print on the first page
          $8B         bit 7 set = first page is a title page
                      bit 6 set = NLQ fixed width spacing on
          $8C-$8D     Height of each pages header
          $8E-$8F     Height of each pages footer
          $90-$91     Page height         

          Each page begins with 28 bytes (0-27) for a ruler escape
          string (see below), followed  by a  four byte  (28-31)  NEWCARDSET
          string (see below), followed by the text of the document.  An  EOF
          from  ReadFile  or  an  EOP (12) ends each page.  The page include
          carriage returns to end paragraphs, the ruler escape strings,  the
          newcardset strings, and  graphics  escapes.  These  are  described
          below:

                      NewCardSet
          OffSet      Description
          --------    ------------------------------------------------------
          $00         NEWCARDSET code 23 ($17)
          $01-$02     Font ID to use
          $03         Style Byte (see below)
 
               The style byte is organized as follows:

          Bit         Description      (all 0's gives plain text)
          --------    ------------------------------------------------------
            7         Underline      
            6         Bold
            5         Reverse
            4         Italic
            3         Outline
            2         Superscript
            1         Subscript

                      Ruler Escape
          OffSet      Description
          --------    ------------------------------------------------------
          $00         Ruler Escape 17 ($11)
          $01-$02     Left Margin
          $03-$04     Right margin > LeftMargin
          $06-$21     Tabs of 2 bytes each (bit 15 = dec align., 0-14 tab pos.)
          $22-$23     Paragraph margin
          $24         Justification byte (bit 0-1: 00 = left justified
                                                   01 = centered text
                                                   10 = right justified text
                                                   11 = full justification)
                                         (bit 2-3: 00 = single spaced
                                                   01 = 1 1/2 spaced
                                                   10 = double spaced)
          $25         Text color
          $26-$27     Reserved 

                      Graphics Escape
          OffSet      Description
          --------    ------------------------------------------------------
          $00         Graphics Escape 16 ($10)
          $01         Width in cards (byte * 8 = actual width)
          $02-$03     Picture height in pixels
          $05         VLIR record number containing the picture
Comment 1 Ariya Hidayat 2002-11-02 11:52:05 UTC
Thank you for the information. This is indeed really useful. However, if you 
don't mind could you perhaps provide some sample GeoWrite documents ? This 
will allow me to further examine the file format. 
Comment 2 Nicolas Goutte 2003-03-17 21:32:29 UTC
*** Bug 37527 has been marked as a duplicate of this bug. ***
Comment 3 Stephan Kulow 2004-05-25 09:27:04 UTC
Replaced elektroschock@linuxmail.org with null@kde.org due to bounces by reporter
Comment 4 Halla Rempt 2005-11-29 15:25:31 UTC
Without sample documents implementing a filter is not possible.