AbiWord

From MobileRead
Jump to: navigation, search

ABW is a document format used by AbiWord. ZABW is a compressed AbiWord document. AbiWord is part of AbiSuite.

Contents

[edit] AbiWord

AbiWord is a free word processing program similar to Microsoft® Word. It is suitable for a wide variety of word processing tasks.

AbiWord is unique among word processors in its drive to become a fully cross-platform word processor. The source code is carefully written so that AbiWord will run on virtually any operating system with a minimum of time spent on porting. This combined with its support for internationalization (the ability to run AbiWord in many languages) enables AbiWord to provide Word Processing for everybody. It can import several file formats including OpenDocument ODT.

[edit] Native formats

Formats Supported Natively by AbiWord either currently or in process.

  • native AbiWord (.abw)
  • AbiWord template file (.awt)
  • GZipped AbiWord (.zabw)
  • Rich text format (.rtf) - include metadata support.
  • Rich text format for old applications (.rtf)
  • XHTML 1.0 (.html)
  • Microsoft Word (.doc) (limited support, better to use rtf) input only, saved doc files are actually RTF.
  • Text (.txt, .text)
  • Encoded text (.txt, .text) - text with special characters beyond ASCII. Most often these are accented characters.
  • Can save but not read LaTeX.

In addition plugins can be added to support other formats. See http://www.abisource.com/wiki/PluginMatrix Plugins includes support for PalmDOC which can be read on many eBook Readers.

[edit] ABW format

ABW is another XML compliant format. Files can be stored in XML or compressed into GZIP format. The extension is changed to reflect the storage method. Images are stored in base64 format.

[edit] Overview

Here is the essential information about the Abiword file format:

  • Abiword (.abw) documents are XML—thus, you can view the document in a plain text editor and see the structure—see aside, below
  • Abiword (.zabw or .abw.gz) documents are Gzip Compressed XML.
  • the DTD is referenced inside every document, although the DTD is apparently very much out-of-date.

Unlike other XML versions used for documents this file format contains everything in one file including stylesheets and metadata.

[edit] Sample text

This document contains the text: This word is bold.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE abiword PUBLIC "-//ABISOURCE//DTD AWML 1.0 Strict//EN"
  "http://www.abisource.com/awml.dtd">
<abiword template="false" styles="unlocked"  
 xmlns:fo="http://www.w3.org/1999/XSL/Format"  
 xmlns:math="http://www.w3.org/1998/Math/MathML" xid-max="2" 
 xmlns:dc="http://purl.org/dc/elements/1.1/" fileformat="1.0"  
 xmlns:svg="http://www.w3.org/2000/svg" 
 xmlns:awml="http://www.abisource.com/awml.dtd"  
 xmlns="http://www.abisource.com/awml.dtd" 
 xmlns:xlink="http://www.w3.org/1999/xlink" version="0.99.2" xml:space="preserve" 
 props="dom-dir:ltr; document-footnote-restart-section:0;  
 document-endnote-type:numeric; document-endnote-place-enddoc:1; 
 document-endnote-initial:1; lang:en-US; document-endnote-restart-section:0; 
 document-footnote-restart-page:0; document-footnote-type:numeric; 
 document-footnote-initial:1; document-endnote-place-endsection:0">

<metadata>
<m key="dc.format">application/x-abiword</m>
<m key="abiword.generator">AbiWord</m>
</metadata>
<history version="1" edit-time="62" last-saved="1228521545"  
 uid="8dc39562-c328-11dd-90a9-a11565aba146">
<version id="1" started="1228521545" uid="b2ba6abc-c328-11dd-90a9-a11565aba146"  
 auto="0" top-xid="2"/>
</history>
<styles>
<s type="P" name="Normal" followedby="Current Settings" 
 props="font-family:Times New Roman; margin-top:0pt; color:000000; 
 margin-left:0pt; text-position:normal; widows:2; font-style:normal; 
 text-indent:0in; font-variant:normal; font-weight:normal; margin-right:0pt; 
 font-size:12pt; text-decoration:none; margin-bottom:0pt; line-height:1.0; 
 bgcolor:transparent; text-align:left; font-stretch:normal"/>
</styles>
<pagesize pagetype="Letter" orientation="portrait" width="8.500000" 
 height="11.000000" units="in" page-scale="1.000000"/>
<section xid="1" props="page-margin-footer:0.5in; page-margin-header:0.5in">
<p style="Normal" xid="2">
<c props="lang:en-US">This </c><c props="font-weight:bold; 
 lang:en-US">word</c><c props="lang:en-US"> is bold.</c></p>
</section>
</abiword>

Additional metadata will be added in Dublin core format if present. Support is similar to what MS Word has.

[edit] Identify

Identifying characters at the start of the file are:

  • Hex: 1F 8B 08 00 00 00 00 00 00 0B for ZABW

[edit] For more information

Personal tools
Namespaces

Variants
Actions
Navigation
MobileRead Networks
Toolbox