How it works?
As any document is a composite object consisting of a tree of larger nodes (paragraphs and tables), where it is possible to insert smaller document elements (text runs, images, charts, shapes), ONLYOFFICE Document Builder allows to insert the content and format it to your liking quickly and easily.
ONLYOFFICE Document Builder is a C++ library used to create and edit Office Open XML format files (documents, spreadsheets and presentations) and save them to DOCX, XSLX, PPTX and PDF formats.
There are two ways to use ONLYOFFICE Document Builder in your own project:
The Linux OS versions of ONLYOFFICE Document Builder require the following dependencies to be installed:
sudo apt-get install libstdc++6 libcurl3-gnutls libc6 libxml2 libcurl3 fonts-dejavu fonts-opensymbol sudo apt-get install fonts-liberation ttf-mscorefonts-installer fonts-crosextra-carlito
sudo yum install glibc libcurl libxml2 dejavu-lgc-sans-fonts dejavu-lgc-sans-mono-fonts dejavu-lgc-serif-fonts dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts libreoffice-opensymbol-fonts
To launch ONLYOFFICE Document Builder run the following command:
Here documentbuilder is the name of ONLYOFFICE Document Builder (together with the path, if the command is run from the folder different from where the executive is placed) executive file (it will look like docbuilder.exe for Windows version, documentbuilder for Linux and Mac OS), and the mydocument.docbuilder parameter is the name (again, together with the path, if needed) of the script file that will form the document contents.
Read the Integration section for more information on how to integrate ONLYOFFICE Document Builder into your own application.
Where to start?
If you are not sure where to start, you can use the list of most common tasks below to find where to go and start creating your document:
Main paragraph actions
Creating and editing tables
Using shapes, images and charts
© Ascensio System SIA 2017. All rights reserved