Guides
UniOffice is three libraries that happen to ship together. The document,
spreadsheet and presentation packages each model their own file format and
share almost no API, so the first thing to settle is which one you need.
New to UniOffice? Start with the getting started guide to get an API key and a working environment.
| Section | Format | Covers |
|---|---|---|
| Document | .docx, Word | Text and paragraph formatting, page layout, tables, images, forms, review markup, templates, and PDF conversion. |
| Spreadsheet | .xlsx, Excel | Cell formatting, rows and columns, formulas and evaluation, charts, images, and validation. |
| Presentation | .pptx, PowerPoint | Slides, text boxes, tables, images, charts, and templates. |
Some things recur across all three. Every program loads a metered license key
before doing anything else. Every document type is opened with Open, created
with New, and should be closed with defer doc.Close(). And all three can be
converted to PDF, though each has its own converter and its own guide.
The patterns are worth knowing about too, because they carry across the
packages even though the calls do not. Content is built by adding to a parent
rather than by assembling a tree and attaching it. Formatting is set through a
Properties() accessor rather than by assigning fields. And the raw OOXML
schema is always one X() call away when the typed API does not cover what you
need, which is how several of these guides handle features that have no
convenience wrapper yet.