com.dynalivery.word
Class WordJob

java.lang.Object
  |
  +--com.dynalivery.harmoni.HarmoniJob
        |
        +--com.dynalivery.word.WordJob

public class WordJob
extends HarmoniJob


Field Summary
static short wdFormatDocument
           
static short wdFormatDOSText
           
static short wdFormatDOSTextLineBreaks
           
static short wdFormatEncodedText
           
static short wdFormatFilteredHTML
           
static short wdFormatHTML
           
static short wdFormatRTF
           
static short wdFormatTemplate
           
static short wdFormatText
           
static short wdFormatTextLineBreaks
           
static short wdFormatUnicodeText
           
static short wdFormatWebArchive
           
static short wdFormatXML
           
 
Fields inherited from class com.dynalivery.harmoni.HarmoniJob
H_SF_ASCENDING, H_SF_DESCENDING
 
Constructor Summary
WordJob(HarmoniEngine engine, short handle)
          Construct a (report) HarmoniJob object with the given handle.
WordJob(HarmoniJob parent, short handle)
          Construct a (sub-report) HarmoniJob object with the given handle.
 
Method Summary
 boolean ExportTo(WordExportInfo exportInfo)
          Export this Word Document to another output format
 WordJob getParent()
           
 boolean SetParameterValue(java.lang.String parameterName, java.lang.String parameterValue)
          Changes information about a named parameter field.
 
Methods inherited from class com.dynalivery.harmoni.HarmoniJob
CheckSelectionFormula, ClearServerLog, Close, DeleteNthSortField, DeleteXmlFile, getEngine, GetHandle, GetJobStatus, GetName, GetNthTableLogOnInfo, getOutputAsStream, getOutputFileNames, GetPrintOptions, GetSelectedPrinter, GetSelectedPrinterByName, GetSelectionFormula, GetServerLog, GetSQLQuery, GetStatus, OutputTo, OutputToPrinter, OutputToSaffronHtml, OutputToSaffronJPEG, OutputToSaffronPDF, OutputToSaffronPNG, OutputToSaffronRTF, OutputToSaffronSVG, SelectPrinter, SelectPrinterByName, SetJobTitle, SetName, SetNthSortField, SetNthTableLogOnInfo, SetNthTablePrivateDataFromXMLFile, SetPrintOptions, SetPrivateData, SetPrivateData, SetPrivateData, SetPrivateData, SetPrivateData, SetPrivateData, SetPrivateData, SetPrivateData, SetPrivateData, SetPrivateDataFromMainReport, SetPrivateDataFromServerMachine, SetPrivateDataFromXMLFile, setRetrieveOutputAsStream, setRetrieveOutputToClientDisk, SetSelectionFormula, SetSQLQuery, Start, TestNthTableConnectivity, VerifyDatabase
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wdFormatDocument

public static final short wdFormatDocument

wdFormatTemplate

public static final short wdFormatTemplate

wdFormatText

public static final short wdFormatText

wdFormatTextLineBreaks

public static final short wdFormatTextLineBreaks

wdFormatDOSText

public static final short wdFormatDOSText

wdFormatDOSTextLineBreaks

public static final short wdFormatDOSTextLineBreaks

wdFormatRTF

public static final short wdFormatRTF

wdFormatUnicodeText

public static final short wdFormatUnicodeText

wdFormatEncodedText

public static final short wdFormatEncodedText

wdFormatHTML

public static final short wdFormatHTML

wdFormatWebArchive

public static final short wdFormatWebArchive

wdFormatFilteredHTML

public static final short wdFormatFilteredHTML

wdFormatXML

public static final short wdFormatXML
Constructor Detail

WordJob

public WordJob(HarmoniEngine engine,
               short handle)
Construct a (report) HarmoniJob object with the given handle.
Parameters:
engine - The HarmoniEngine which is handling this job
handle - The handle which this job is to be given

WordJob

public WordJob(HarmoniJob parent,
               short handle)
Construct a (sub-report) HarmoniJob object with the given handle.
Parameters:
parent - The parent of the new subjob.
handle - The handle which this job is to be given
Method Detail

getParent

public WordJob getParent()

ExportTo

public boolean ExportTo(WordExportInfo exportInfo)
                 throws HarmoniAPIError,
                        HarmoniServerError
Export this Word Document to another output format
Parameters:
exportInfo - WordExportInfo ojbect that contains the options and type for exporting to
Throws:
HarmoniAPIError -  
HarmoniServerError -  

SetParameterValue

public boolean SetParameterValue(java.lang.String parameterName,
                                 java.lang.String parameterValue)
                          throws HarmoniServerError,
                                 HarmoniAPIError
Changes information about a named parameter field.
Parameters:
parameterName - The name of the parameter field which you want to set.
parameterValue - The new value for the parameter.)
Throws:
HarmoniServerError - A fatal error occured during the remote call.
HarmoniAPIError - The remote print engine call returned a value indicating failure, or the given named parameter was not found in the report.