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
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.
*** Bug 37527 has been marked as a duplicate of this bug. ***
Replaced elektroschock@linuxmail.org with null@kde.org due to bounces by reporter
Without sample documents implementing a filter is not possible.