<!-- skill: LibreOffice Suite | version: 1.0.0 | description: Writer styles, Calc parity, Impress masters and PDF export | category: System & Productivity -->
## Instructions
- Writer styles-first: never direct-format body text; Heading 1-3 + Text Body + Quote + Code defined in Styles deck (F11); `Update Style` from selection, templates `.ott` for reuse.
- Writer long docs: Navigator (F5) headings, TOC Insert → Index (from styles), footnotes/endnotes auto-numbered, cross-refs as fields (never typed numbers); Master Document for books.
- Calc parity notes: `XLOOKUP` (LO 7.2+), `FILTER`/`SORT`/`UNIQUE`, PivotTables (Data → Create Pivot Table), `TEXTSPLIT` via `TEXT(...;...)`+regex fallback; `.xlsx` round-trip check before sending to Excel users.
- Calc hygiene: one header row, no merged cells in data, dates ISO, Tables as Database Ranges, Data → Validity for dropdowns, `TRACK CHANGES`/`Protect Sheet` for shared budgets (pairs budget-sheets).
- Impress master slides: View → Master → define Title/Content/Section layouts, fonts (Liberation/Inter), palette 3+1, footer/page-number placeholders; all decks start from custom `.otp`, zero per-slide formatting.
- Impress delivery: 6×6 rule (6 bullets, 6 words), 24pt+ body, images compressed (Compress in Properties), Presenter Console notes; Export PDF handouts + `.pptx` only at send time.
- PDF/forms export: File → Export as PDF (PDF/A-2b for archive, tagged for accessibility), Forms via Form Controls toolbar (text/check/combo + export Forms `Create PDF form`); Writer → Fillable PDF without extra tools.
- Interop: save working copy `.odt/.ods/.odp`, export `.docx/.xlsx/.pptx` for sharing; PowerPoint skill owns animations, this skill owns masters + ODF truth; test open in MS Office online before client send.
- Track changes + comments: Edit → Track Changes → Record/Show/Manage; comments Ctrl+Alt+C resolve flow; Versions (File → Versions) snapshots before big restructures.
- Macros cautious: Python macros preferred over Basic, LibreOffice → Python path documented per file; disable auto-macros on untrusted docs (Tools → Options → Security → Macro Security High).
- Print/mailing: Writer mail-merge (Tools → Mail Merge, Calc/CSV source), label templates via New → Labels, `Print Preview` + page styles (First/Content) for duplex correctness.
- Backup: `.bak` + versioning on (Tools → Options → Load/Save), keep in syncthing folder, restic offsite; template gallery synced across machines (`~/.config/libreoffice/4/user/template/`).
## Examples
- New report: `File → New → Templates → Report.ott` → Heading 1 chapters → Insert TOC → Export PDF/A.
- Budget pivot: select register → Data → Create Pivot Table → Rows Category, Data SUM Outflow → filter Month.
- Deck: `Master → Title font Inter 32, palette navy/amber` → apply to 20 slides at once.
- Fillable form: Form Controls → text fields → Export PDF → Forms: Create PDF form → test in Evince/Acrobat.
## Workflows
1. Setup: install LO 24.x → fonts → default template set → macro security High.
2. Write: styles → Navigator outline → TOC/refs → track-changes review → PDF/A.
3. Analyze: clean table → validity → pivot → chart → dashboard print-fit.
4. Present: master → content (6×6) → notes → rehearse timings → PDF + pptx export.
5. Maintain: templates in git/sync, quarterly LO update, interop test file.
## Templates
```text
# Writer style set (define once, save .ott)
# Heading 1: Inter 20 bold, navy #1F3864, space below 6pt, keep-with-next
# Heading 2: Inter 15 bold, charcoal, above 12pt below 4pt
# Text Body: Liberation Serif 11, 1.15 spacing, justify
# Quote: indent 1cm, italic, grey | Code: Liberation Mono 9.5, shading #F2F2F2
# Page: A4, margins 2cm, footer: page X of Y field
```
```calc
# Calc formula parity (LO 24.x, ; locale)
XLOOKUP:   =XLOOKUP(B2;Rules!$A:$A;Rules!$B:$B;"Needs category")
FILTER:    =FILTER(A2:D500;C2:C500="Groceries")
UNIQUE:    =UNIQUE(B2:B500)
SUMIFS:    =SUMIFS(Out;Cat;"Groceries";Month;"2026-10")
Pivot:     Data → Create Pivot Table → Rows=Category Data=SUM(Out)
Validity:  Data → Validity → List: =Rules!$A:$A (category dropdown)
```
```text
# Impress master checklist (View → Master → save .otp)
# [ ] 16:9, fonts embedded (File → Properties → Font embed)
# [ ] Title/Content/Section/Quote layouts + logo corner
# [ ] Palette: bg #FFFFFF, ink #1A1A1A, accent #E8A317, link #1F3864
# [ ] Footer: date auto + slide number, 10pt grey
# [ ] Notes font 12pt for presenter console
```
```bash
# headless converts (cron/CI interop)
soffice --headless --convert-to pdf:"writer_pdf_Export" report.odt --outdir ./out
soffice --headless --convert-to pptx deck.odp --outdir ./out
soffice --headless --convert-to xlsx budget.ods --outdir ./out
```
## Tools
- LibreOffice 24.x (Writer/Calc/Impress/Draw), Liberation + Inter fonts, `.ott/.ots/.otp` gallery; Evince/Okular PDF check.
- Complements powerpoint + excel skills (masters/ODF here, motion/pivot-depth there).
## Advanced
- Bibliography: Tools → Bibliography Database + Insert Index → Bibliography; Zotero connector for papers; citation style Chicago/APA via template.
- Draw: PDF edit round-trip (open → edit → export), floorplans + diagrams, Erasmus-style posters; Base: Calc→Base HSQLDB for mail-merge at 10k rows.
- Change tracking at scale: Manage (filter by author/date), Accept All after backup version; compare documents (`Edit → Compare`) for contract redlines.
- Troubleshooting: docx layout breaks → fonts missing (install Carlito/Calibri-metric Liberation) + compat mode check; Calc #VALUE → locale `;` vs `,` + text-numbers (`VALUE()`/`DATEVALUE()`); Impress fonts shift on Windows → embed + export pptx with standard fonts; PDF form dead → export flag `Create PDF form` + NeedAppearances viewer quirk.
## Documentation
- In-app Help (F1) + Guides sidebar.
- https://help.libreoffice.org/ + https://documentation.libreoffice.org/
- https://wiki.documentfoundation.org/Documentation
