|
|||||||||
| Home >> All >> jpl2 >> [ documents overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
jpl2.documents
Class WordDocument

java.lang.Objectjpl2.documents.PsionDocument
jpl2.documents.SectionDocument
jpl2.documents.WordDocument
- public class WordDocument
- extends SectionDocument
A psion Word document.
| Field Summary | |
private jpl2.documents.sections.PageLayoutSection |
pageLayoutSection
|
private jpl2.documents.sections.TextLayoutSection |
textLayoutSection
|
private jpl2.documents.sections.TextSection |
textSection
|
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). |
private jpl2.documents.sections.WordStylesSection |
wordStylesSection
|
| Fields inherited from class jpl2.documents.SectionDocument |
|
| Fields inherited from class jpl2.documents.PsionDocument |
|
| Constructor Summary | |
WordDocument(jpl2.common.Data data)
Read a Sketch document from the supplied data. |
|
| Method Summary | |
void |
convertDocument(java.lang.String fileFormat,
java.io.OutputStream out)
|
java.lang.String |
getFolderIndexName(java.lang.String fileFormat)
If the document is converted into a folder structure, what will be the * name of the "index" file. |
jpl2.documents.sections.PageLayoutSection |
getPageLayoutSection()
|
jpl2.documents.sections.TextLayoutSection |
getTextLayoutSection()
|
jpl2.documents.sections.TextSection |
getTextSection()
|
jpl2.documents.sections.WordStylesSection |
getWordStylesSection()
|
private java.lang.String |
toHTML(java.awt.Color color)
|
void |
toHTML(java.io.OutputStream out)
|
private java.lang.String |
toHTML(java.lang.String text)
Replace odd chars with entity codes and other html markup. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
void |
toText(java.io.Writer w)
|
| Methods inherited from class jpl2.documents.SectionDocument |
findSectionFromID, getAppIDSection, readSections, storeSection |
| Methods inherited from class jpl2.documents.PsionDocument |
canConvert, convertDocument, convertsToFolder, getAvailableConversions, getAvailableConversions, getDocTypeString, getDocTypeString, getPsionDocumentTypes, readDocument, readDocument |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
textSection
private jpl2.documents.sections.TextSection textSection
pageLayoutSection
private jpl2.documents.sections.PageLayoutSection pageLayoutSection
textLayoutSection
private jpl2.documents.sections.TextLayoutSection textLayoutSection
wordStylesSection
private jpl2.documents.sections.WordStylesSection wordStylesSection
| Constructor Detail |
WordDocument
public WordDocument(jpl2.common.Data data) throws java.io.IOException
- Read a Sketch document from the supplied data.
| Method Detail |
toHTML
private java.lang.String toHTML(java.lang.String text)
- Replace odd chars with entity codes and other html markup.
toHTML
private java.lang.String toHTML(java.awt.Color color)
convertDocument
public void convertDocument(java.lang.String fileFormat, java.io.OutputStream out) throws java.io.IOException
- Specified by:
convertDocumentin classPsionDocument
toHTML
public void toHTML(java.io.OutputStream out) throws java.io.IOException
toText
public void toText(java.io.Writer w) throws java.io.IOException
getFolderIndexName
public java.lang.String getFolderIndexName(java.lang.String fileFormat)
- Description copied from class:
PsionDocument - If the document is converted into a folder structure, what will be the
* name of the "index" file.
* @param fileFormat
* @return
- Overrides:
getFolderIndexNamein classPsionDocument
getTextSection
public jpl2.documents.sections.TextSection getTextSection()
getPageLayoutSection
public jpl2.documents.sections.PageLayoutSection getPageLayoutSection()
getTextLayoutSection
public jpl2.documents.sections.TextLayoutSection getTextLayoutSection()
getWordStylesSection
public jpl2.documents.sections.WordStylesSection getWordStylesSection()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> jpl2 >> [ documents overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC