signDOCX
- addBibliography
- addBookmark
- addBreak
- addCaption
- addChart
- addCitation
- addComment
- addCrossReference
- addDateAndHour
- addEndnote
- addExternalFile
- addFootnote
- addFormElement
- addHeading
- addImage
- addIndex
- addLink
- addList
- addMathEquation
- addMergeField
- addOLE
- addOnlineVideo
- addPageNumber
- addRuby
- addShape
- addSimpleField
- addSource
- addStructuredDocumentTag
- addSVG
- addTab
- addTable
- addTableAuthorities
- addTableContents
- addTableFigures
- addText
- addTextBox
- addWordFragment
- addWordML
- embedHTML
- markEntry
- addBackgroundImage
- addFooter
- addFooterSection
- addHeader
- addHeaderSection
- addLineNumbering
- addMacroFromDoc
- addPageBorders
- addProperties
- addSection
- createDocx
- createDocxAndDownload
- createCharacterStyle
- createListStyle
- createParagraphStyle
- createTableStyle
- docxSettings
- embedFont
- importChartStyle
- importHeadersAndFooters
- importListStyle
- importStyles
- importStylesWordDefault
- importTheme
- modifyPageLayout
- parseStyles
- removeFooters
- removeHeaders
- setBackgroundColor
- setDecimalSymbol
- setDefaultFont
- setDocumentDefaultStyles
- setEncodeUTF8
- setLanguage
- setMarkAsFinal
- setRTL
- clearBlocks
- cloneBlock
- deleteBlock
- getTemplateVariables
- getTemplateVariablesType
- modifyInputFields
- modifyMergeFields
- processTemplate
- removeTemplateVariable
- removeTemplateVariableImage
- replaceBlock
- replaceListVariable
- replacePlaceholderImage
- replaceTableVariable
- replaceVariableByExternalFile
- replaceVariableByHtml
- replaceVariableByText
- replaceVariableByWordFragment
- replaceVariableByWordML
- setTemplateSymbol
- setTemplateBlockSymbol
- tickCheckboxes
sign (for DOCX files)
 PREMIUM
PREMIUM
                     TRIAL / ADVANCED
TRIAL / ADVANCED
                Digitally signs a Word document.
DIGITAL SIGNATURE PACKAGE
                            
                            Description
                        
                    
                            public sign ()
                        
                    This method allows to digitally sign a Word document.
You may find a detailed description of the digital signature process in the Digital Signature section of our API documentation.
                            
                            Parameters
                        
                    This method takes no parameters.
                            
                            Exceptions
                        
                    Error while trying to open the (base) template as a zip file.
The file does not exist.
Unable to find a private key.
Unable to find a certificate.
                            
                            Release notes
                        
                    - phpdocx 14.0:
                                    - avoid generating partial signed files in the latest revisions of MS Office.
- return DOCXStructure.
 
- phpdocx 12.0:
                                    - replaced phpseclib with OpenSSL.
- replaced exit methods by exceptions.
 
- phpdocx 7.5:
                                    - supported adding multiple signatures.
 
 
                 Log in
                                    Log in
                                 Contact
                                Contact
                             Forum
                                Forum
                            
 
        