Scribus
Open source desktop publishing at your fingertips
PdbIm Class Reference

An import filter for Palm Documents (PDB files). PDB documents are simple non-formatted texts in binary forms used mainly for e-books distribution. It's taken from Abiword's PDB import/export plugin http://www.abisource.com I've simplified the importer guts to fit special Scribus needs. More...

#include <pdbim.h>

Public Member Functions

 PdbIm (const QString &fname, const QString &enc, gtWriter *w)
 Parse and decode the PDB file. More...
 
void write ()
 Write data into Scribus text frame. User should specify encoding of the imported text - it's recoded here.
 

Detailed Description

An import filter for Palm Documents (PDB files). PDB documents are simple non-formatted texts in binary forms used mainly for e-books distribution. It's taken from Abiword's PDB import/export plugin http://www.abisource.com I've simplified the importer guts to fit special Scribus needs.

Warning
This plugin uses a very special low-level IO and memory operations. It uses big/little endian handling for bit related operations. Welcome in the "macro and gtk hell" ;)
Note
User should specify file encoding correctly.
Author
Copyright (C) 2001 AbiSource, Inc.
Petr Vanek petr@.nosp@m.scri.nosp@m.bus.i.nosp@m.nfo

Constructor & Destructor Documentation

PdbIm::PdbIm ( const QString &  fname,
const QString &  enc,
gtWriter w 
)

Parse and decode the PDB file.

Parameters
fnamea file name of the document
encuser selected text encoding. See encoding attr.
wa reference to the gtWriter instance

The documentation for this class was generated from the following files: