Fernand Vanrie wrote:
Paweł Rupiewicz wrote:
Hi,
I'm trying to insert html to open office document.
Html looks like this:
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
p { font-size: 25pt; color: green; }
.eurekaTinySource { color: red; }
</style>
</head>
<body>
<p>Tescik</p>
<p> <span class="eurekaTinySource">int a = x * y </span></p>
</body>
</html>
I'm using InsertDocumentFromUrl.
Html is putting into document but css styles doesn't change the
format of the text.
Is there any posibility to force OO to use this styles?
No sorry, forgot my fiirst mail, its the inverse the HTML styles are
only transfered when using "OpendocumentfromURL"
the styles are present but renamed like "TextBody.OriginalName"
Use the GUI to do some experiments, the API is behaving in the same way
"copying" and "inserting" takes only the "hardcoded" style information.
Hope it helps now :-)
Fernand
Yes, but only when the the HTML coded text is "Insertedin a OO-doc"
as a HTML document (XdocumentInsertable) and using the "HTML
(StarWriter)" importfilter
When copyiing the same HTML coded text into a OO-doc the HTML styles
are not transferred to OO-textstyles
I can't use inline styles.
thanks for help.
:)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]