addOLE
- addBackgroundImage
- addFooter
- addHeader
- addLineNumbering
- addPageBorders
- addProperties
- addSection
- createDocx
- createCharacterStyle
- createListStyle
- createParagraphStyle
- createTableStyle
- docxSettings
- embedFont
- importHeadersAndFooters
- importStyles
- modifyPageLayout
- removeFooters
- removeHeaders
- setBackgroundColor
- setDefaultFont
- setDocumentDefaultStyles
- setEncodeUTF8
- setLanguage
- setMarkAsFinal
- setRTL
- addBibliography
- addBookmark
- addBreak
- addChart
- addCitation
- addComment
- addCrossReference
- addDateAndHour
- addEndnote
- addExternalFile
- addFootnote
- addFormElement
- addHeading
- addImage
- addLink
- addList
- addMathEquation
- addMergeField
- addOLE
- addPageNumber
- addShape
- addSimpleField
- addSource
- addStructuredDocumentTag
- addTable
- addTableContents
- addText
- addTextBox
- addWordML
- embedHTML
- clearBlocks
- deleteTemplateBlock
- getTemplateVariables
- getTemplateVariablesType
- modifyInputFields
- modifyMergeFields
- processTemplate
- removeTemplateVariable
- replaceListVariable
- replacePlaceholderImage
- replaceTableVariable
- replaceVariableByExternalFile
- replaceVariableByHtml
- replaceVariableByText
- replaceVariableByWordFragment
- replaceVariableByWordML
- setTemplateSymbol
- tickCheckbox
addOLE
BASIC / ADVANCED / PREMIUM
Inserts an OLE file (DOCX, XLSX, PPTX, DOC, XLS, PPT) into the current Word document.
Description
public void addOLE(OptionsOLE options) throws Exception
This method allows the insertion of an external OLE file into the current Word document.
Parameters
options
Option | Type | Description |
---|---|---|
src | String | The path to the OLE file (DOCX, XLSX, PPTX, DOC, XLS, PPT) that you want to insert into the Word document. |
image | String | Use a custom image as icon. If not set, a default icon is added. |
height | Integer | In pt. 35 as default. |
width | Integer | In pt. 40 as default. |