Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jpl2.documents
Class MBMDocument  view MBMDocument download MBMDocument.java

java.lang.Object
  extended byjpl2.documents.PsionDocument
      extended byjpl2.documents.MBMDocument

public class MBMDocument
extends PsionDocument

A Psion MBM (Multiple BitMap) document.


Field Summary
private  java.awt.Image[] images
           
private  jpl2.documents.sections.PaintDataSection[] paintDataSections
           
static int UID1
          Header section layout (first four bytes).
static int UID2
          File Kind (second four bytes).
static int UID3
          Application ID (third four bytes).
static int UID4
          Checksum of other UIDs (fourth four bytes).
 
Fields inherited from class jpl2.documents.PsionDocument
 
Constructor Summary
MBMDocument(jpl2.common.Data data)
          Read an MBM document from the supplied data.
 
Method Summary
 void convertDocument(java.lang.String fileFormat, java.io.File folder)
           
 void convertDocument(java.lang.String fileFormat, java.io.OutputStream out)
           
 boolean convertsToFolder(java.lang.String fileFormat)
          Returns true if the Document needs to use a directory structure when converting to the * desired format.
 java.awt.Image[] getImages()
           
 
Methods inherited from class jpl2.documents.PsionDocument
canConvert, getAvailableConversions, getAvailableConversions, getDocTypeString, getDocTypeString, getFolderIndexName, getPsionDocumentTypes, readDocument, readDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UID1

public static final int UID1
Header section layout (first four bytes).

See Also:
Constant Field Values

UID2

public static final int UID2
File Kind (second four bytes).

See Also:
Constant Field Values

UID3

public static final int UID3
Application ID (third four bytes).

See Also:
Constant Field Values

UID4

public static final int UID4
Checksum of other UIDs (fourth four bytes).

See Also:
Constant Field Values

images

private java.awt.Image[] images

paintDataSections

private jpl2.documents.sections.PaintDataSection[] paintDataSections
Constructor Detail

MBMDocument

public MBMDocument(jpl2.common.Data data)
            throws java.io.IOException
Read an MBM document from the supplied data.

Method Detail

getImages

public java.awt.Image[] getImages()

convertsToFolder

public boolean convertsToFolder(java.lang.String fileFormat)
Description copied from class: PsionDocument
Returns true if the Document needs to use a directory structure when converting to the * desired format. For example if a word document has images it may need a directory to hold * the images and the resulting html file. * @param fileFormat * @return

Overrides:
convertsToFolder in class PsionDocument

convertDocument

public void convertDocument(java.lang.String fileFormat,
                            java.io.OutputStream out)
                     throws java.io.IOException
Specified by:
convertDocument in class PsionDocument

convertDocument

public void convertDocument(java.lang.String fileFormat,
                            java.io.File folder)
                     throws java.io.IOException
Overrides:
convertDocument in class PsionDocument