paste html using API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux