A powerful Microsoft Word add-in that provides advanced PDF processing capabilities using the Nutrient DWS API. Convert PDFs to DOCX, create accessible PDFs, and more with enterprise-grade processing.
- PDF to DOCX Conversion - Convert PDF files to editable Word documents with OCR support
- Word to PDF Conversion - Convert Word documents to high-quality PDFs
- PDF/A & PDF/UA Export - Create accessible and compliant PDFs
- Document Redaction - Remove sensitive information and metadata (Coming Soon)
- SharePoint/Teams Integration - Share documents to Microsoft 365 (Coming Soon)
- OCR Processing - Extract text from scanned documents with multiple language support
- Accessibility Compliance - Generate PDF/UA compliant documents
- High-Quality Output - Multiple quality settings for different use cases
- Secure Processing - Enterprise-grade security with API key authentication
- Microsoft Word (Desktop or Online)
- Node.js 16+ and npm
- Nutrient DWS API credentials
-
Clone the repository
git clone https://github.com/nutrient-io/word-nutrient-dwsapi.git cd word-nutrient-dwsapi -
Install dependencies
npm install
-
Configure API credentials
- Open the add-in in Word
- Go to Settings β API Settings
- Enter your Nutrient DWS API credentials:
- Processor API Key (for PDF processing)
- Viewer API Key (for PDF preview)
-
Start development server
npm run dev-server
-
Load the add-in in Word
npm start
-
Build the add-in
npm run build
-
Validate the manifest
npm run validate
The add-in requires two API keys from Nutrient.io:
- Processor API Key - Used for PDF processing, conversion, and OCR
- Viewer API Key - Used for PDF preview and viewing
NUTRIENT_API_BASE- API base URL (default:https://api.nutrient.io)DEV_SERVER_PORT- Development server port (default:3000)
- Open the Nutrient PDF Tools add-in in Word
- Click on "Import from PDF to DOCX"
- Drag and drop a PDF file or click to browse
- Configure OCR options (if needed)
- Click "Convert & Insert"
- The converted document will be inserted into your Word document
- Open the Nutrient PDF Tools add-in in Word
- Click on "Convert to PDF"
- Configure quality settings
- Click "Convert to PDF"
- Download the generated PDF
- Open the Nutrient PDF Tools add-in in Word
- Click on "Export to PDF/A or PDF/UA"
- Choose your preferred format (PDF/A or PDF/UA)
- Configure accessibility options
- Click "Export"
- Preview and download the accessible PDF
word-nutrient-dwsapi/
βββ assets/ # Static assets (icons, images)
βββ dist/ # Built files (generated)
βββ docs/ # Documentation
βββ src/
β βββ commands/ # Office commands
β βββ taskpane/ # Main add-in interface
βββ manifest.xml # Office add-in manifest
βββ package.json # Dependencies and scripts
βββ webpack.config.js # Build configuration
βββ server.js # Development server
The add-in integrates with the Nutrient DWS API for:
- Document Processing - Convert between PDF and DOCX formats
- OCR Processing - Extract text from scanned documents
- Accessibility - Generate compliant PDFs
- Document Viewing - Preview PDFs in the browser
POST /build- Document processing and conversionPOST /viewer/documents- Document upload for viewingGET /viewer/embed- Document preview
npm run dev-server- Start development servernpm run build- Build for productionnpm run build:dev- Build for developmentnpm start- Start Office add-in debuggingnpm run validate- Validate manifestnpm run lint- Run lintingnpm run serve- Start custom development server
- Start the development server:
npm run dev-server - Start Office debugging:
npm start - Make changes to the code
- The add-in will automatically reload in Word
- Use browser developer tools for debugging
- Check the browser console for detailed logs
- Use the debug section in the add-in for API request/response details
- API keys are stored locally in browser storage
- All API requests use HTTPS
- No sensitive data is logged or transmitted unnecessarily
- CORS is properly configured for secure cross-origin requests
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: https://www.nutrient.io/docs
- Support: https://www.nutrient.io/support
- Issues: GitHub Issues
- Document redaction features
- SharePoint/Teams integration
- Batch processing
- Advanced OCR options
- Custom templates
- Multi-language support
- Initial release with core PDF processing features
- PDF to DOCX conversion with OCR
- Word to PDF conversion
- PDF/A and PDF/UA export
- Authentication system
- Modern UI/UX
Built with β€οΈ by Nutrient.io