paste html using API
Zorg
zorg at probesys.com
Sun Mar 26 10:06:36 UTC 2023
Hello
Hope some can help me here
Here is my problem
We are developing our software using the uno api python
We re trying to to copy a string formatted in html in a libreoffice odt
We manage to do it but using dispatcher
The problem is that dispatcher not working in headless mode so il force
us to use a xserver (xvfb) et Xclip.
It work but it's far from being optimized.
here is the code
https://github.com/Probesys/lotemplate/blob/html_formatting/lotemplate/classes.py
line 349-355
We have try using XTransferable but without any success.
Thanks in advance for your help
Sorg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20230326/7ee61387/attachment.htm>
More information about the LibreOffice
mailing list