Description: Enter the command below to extract the .odg file. "D:\Program Files\LibreOffice\program\soffice.exe" --draw --headless --convert-to svg:"draw_svg_Export" --outdir output_svg your_file.odg This will extract only the first page on Draw from the current version. For example, in the past version v25.2.0.1, all pages were extracted normally. Steps to Reproduce: 1. make '.odg' file with multiple pages. 2. try the following command. "D:\Program Files\LibreOffice\program\soffice.exe" --draw --headless --convert-to svg:"draw_svg_Export" --outdir output_svg your_file.odg 3. Compare results with those from the previous version v25.2.0.1. Actual Results: Only the first 'Draw' page appeared. Expected Results: All page results should be saved as a single .svg file. Reproducible: Always User Profile Reset: No Additional Info: Version: 25.8.0.4 (X86_64) Build ID: 48f00303701489684e67c38c28aff00cd5929e67 CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: ko-KR (ko_KR); UI: ko-KR Calc: threaded
Confirm Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 953a4159ba48b2901e6b1660fc89960fcaa87b0c CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded
Bibisected to the following commit using win64-25.8 repo. Regression Details: In previous commits (Good), the command output only the Last Page (Page 2), implying it was processing all pages but overwriting the output file. Starting with the bad commit below, the behavior changed to outputting only the First Page (Page 1), implying the process now aborts early. Bad Commit: commit 1809bd2683d678eaed8756fbe82d245bdf05fa28 Author: Norbert Thiebaud <nthiebaud@gmail.com> Date: Thu May 29 01:44:31 2025 -0700 source 58ba249df589b0c9f91667f2938bfa18d2a1ce61
(In reply to HyungKi Jeong from comment #0) > Actual Results: > Only the first 'Draw' page appeared. > > Expected Results: > All page results should be saved as a single .svg file. Why? What makes "all pages overlapping" be "correct", as opposed to the "only a single page exported", same as with e.g. PNG?
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b152ca62b9fdb4a667440ae20e96612dcc12191e tdf#168054: Export all ODG pages to SVG from command line by default It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.