Hi Harry
I am trying to get it to convert HTML code that has an internal CSS section like this:
- Code: Select all
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title></title>
<style type="text/css">
@page {
#####CODE#####
}
styleName {
#####CODE#####
}
</style>
</head>
<body>
#####CODE#####
</body>
</html>
In combination with this type of Spire process:
- Code: Select all
Document document = new Document();
document.LoadFromFile(sourceFileAddress, FileFormat.Html, XHTMLValidationType.None);
document.SaveToFile(targetFileAddress, FileFormat.PDF);
The HTML -> PHP/RTF/DOC conversion seems to just ignore the code in the internal style definitions.
However, the process works fine if I embed the styles in the tags in the body itself.
I really love your product so far in testing. If I can get through some of these initial issues I have, I would be happy to place an order for your suite.
Thanks so much for the speedy reply, Harry.
Todd