How to Fix OpenOffice Write Error When Exporting Document to PDF
Question details
The user is unable to export a document to PDF using OpenOffice and is receiving a write error stating the file cannot be read.

- Product
- OpenOffice 3.2
- Device & OS
- not provided
- Scenario
- Attempting to save or convert an existing document into a PDF file using the built-in 'Export as PDF' function.
- Observed behavior
- OpenOffice fails to create the PDF file, displaying a write error and a message indicating that the file cannot be read.
Before troubleshooting, ensure that your hard drive has sufficient free storage space and verify that your target destination folder is not set to read-only.
Adjust File Path, Name, and Folder Permissions
Write errors during PDF export are frequently caused by restricted folder permissions, locked files, or unsupported characters in the file name.
When OpenOffice attempts to generate a PDF, it requires uninterrupted write access to the destination folder. If another program is using the file or the folder is restricted, the export will fail.
Close all active OpenOffice document windows and quit the application completely. Reopen your document to clear any temporary background file locks.
If you are trying to overwrite an existing PDF, ensure that the file is not currently open in Adobe Acrobat, a web browser, or any other PDF reader.
Click 'File' > 'Export as PDF', and when prompted to save, choose a different local directory, such as your Desktop or Documents folder, instead of a network drive.
Rename the output PDF to a short, simple name without special characters (e.g., 'Document.pdf') to prevent path-length or character encoding errors.

Repair or Update OpenOffice
If basic file adjustments do not resolve the error, the OpenOffice installation itself may be corrupted or too outdated to function properly.
Export Documents to PDF Seamlessly with WPS Office
If OpenOffice continues to display write errors, you can easily open your documents in WPS Office and export them to PDF with a single click, completely error-free.
- 1. Open Your Document in WPS: Launch WPS Office Writer and open the document you were trying to convert.
- 2. Access the Export Tool: Navigate to the 'Tools' tab on the top ribbon and click on the 'Export to PDF' button.
- 3. Save as PDF: Select your preferred save location, adjust any necessary export settings in the prompt, and click 'Export' to generate your file instantly.

Frequently Asked Questions
Why does OpenOffice say 'write error' when exporting a PDF?
This usually happens when the destination folder is set to read-only, the hard drive is completely full, or the target PDF file is currently open in another program, which prevents OpenOffice from overwriting it.
Does the length of the file name affect OpenOffice PDF export?
Yes. Extremely long file names, deep folder paths, or names containing special, unsupported characters can trigger write errors, especially in older versions like OpenOffice 3.2.
Can I export my document to PDF without using OpenOffice?
Yes. You can open your document in other free office suites like WPS Office or Microsoft Word, both of which feature highly reliable, built-in tools to seamlessly export files to PDF format.
How do I check if my target PDF file is locked?
If the PDF is already open in a web browser or a dedicated PDF reader (such as Adobe Acrobat), the system temporarily locks it. Simply close the application viewing the PDF and attempt the export again.




