Error while adding images to documents
I want to add image to the file generated by POD. I added the following note:
do text
from document(at=img)
In my program I set the img variable to an existing png image, however, when I Render the document and open the resulting file, I get the following error "The file 'result.odt' is corrupt and therefore cannot be loaded". I then select the option to repair the file and after OOo opens it, at the place where I expect to see the image, I see an object with a text in it file://
It is obvious that the text refers to a temporary file that Renderer created during its work, however that file (the entire directrory) is being removed immediately after Renderer completes its job. I tried to set forceOoCall=True during my call to Renderer, but this didn't help. What am I doing wrong?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Appy Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Boris Gorelik
- Solved:
- Last query:
- Last reply: