elwerene / libreoffice-convert

MIT License
241 stars 94 forks source link

The selection style is moving out #111

Closed vokmar closed 6 months ago

vokmar commented 6 months ago

How to beat this image

const converterDOCX = async (path)=>{ const regex = /\.docx/i; const pathPDF = path.replace(regex, '.pdf'); const docxBuf = await fs.readFile(path); console.log(process.env) console.log(process.env.PROGRAMFILES) await convert(docxBuf,'pdf',undefined,(err,done)=>{ console.log(err) console.log(done) if(done) fs.writeFile(pathPDF, done) }) }

elwerene commented 6 months ago

As always the question if it is working in libreoffice. If it works in Libreoffice and not in this lib, it might be a bug of this lib and you can reopen the issue. If it does not work in Libreoffice, please open a bug report in their issue tracker. Thank you

vokmar commented 6 months ago

image

vokmar commented 6 months ago

I'll try printing later