public class InteractiveWordProcessing extends AbstractWordProcessing
InteractiveWordProcessing iwp = new InteractiveWordProcessing(); iwp.createNewDocumentFromTemplate("SampleTemplate"); iwp.typeTextAtBookmark("AddressLine1", "O'Reilly & Associated, Inc."); iwp.typeTextAtBookmark("AddressLine2", "Mr Miller"); iwp.typeTextAtBookmark("AddressLine3", "101 Moris Street"); iwp.typeTextAtBookmark("AddressLine4", "Sebastopol, CA 95472-9902"); iwp.typeTextAtBookmark("Salutation", "Dear Mr Miller,"); iwp.exec();
dataFolder
Constructor and Description |
---|
InteractiveWordProcessing()
Creates a interactive word processing driver.
|
Modifier and Type | Method and Description |
---|---|
void |
createNewDocumentFromTemplateToSelectByUser()
Triggers to the template selection dialog and creates a new document
based on the chosen template.
|
protected java.lang.String |
getDriverExecutableName()
Returns the name of the executable to be used.
|
void |
printToPrinterToSelectByUserAndForget()
Triggers to the printer selection dialog, prints the document
on the selected printer and closes the document without saving.
|
beginWorkingWithTable, beginWorkingWithTable, changeDocumentDirectory, closeDocument, closeWordInput, createNewDocumentFromTemplate, endWorkingWithTable, exec, exec, executeMacro, exportDocumentAsPdf, exportDocumentAsPdfAndClose, finalize, newRow, output, printAndForget, printAndForget, printAndForget, quitApplication, quitApplicationAfterWaiting, saveDocumentAs, saveDocumentAsAndClose, setNoteNotMatchingBookmarks, setPrinterName, typeTextAtBookmark, typeTextAtBookmark
public InteractiveWordProcessing() throws java.io.IOException
java.io.IOException
public void createNewDocumentFromTemplateToSelectByUser()
public void printToPrinterToSelectByUserAndForget()
protected java.lang.String getDriverExecutableName()
getDriverExecutableName
in class AbstractWordProcessing
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de