feat(oo): docs pdf --stream/--pipe (converted bytes to stdout)

This commit is contained in:
2026-09-22 22:41:14 +01:00
parent 4515a88fe8
commit 7c089a6439
2 changed files with 32 additions and 12 deletions
+1
View File
@@ -620,6 +620,7 @@ oo link 3684 3694 # DocEditor URL for file ids (title + u
oo docs presigned 3684 # short-lived fetchable URL of an OO file
oo docs pdf 3684 --out out.pdf # OO file → PDF (via DocumentServer)
oo docs pdf ./report.docx --to pdf # local file → PDF on the fly (temp upload+cleanup)
oo docs pdf 3684 --stream > out.pdf # pipe: bytes to stdout (alias --pipe)
# export ONLYOFFICE_DS_SECRET=<DocumentServer CoAuthoring secret>
# docs base: $ONLYOFFICE_DOCS_URL, else $ONLYOFFICE_URL + /ds-vpath