Rotating Rich Text using CSS for Document Column Headings
mikeosoft last edited by mikeosoft
I am trying to insert some rich text formating into a pdf document that I am creating, that is basically just a table. I have tried inserting the following CSS in the tr (row) tag for the header but it doesn't seem to work, I have looked at the documentation and can't find any clarity as to whether this should work. I realise that it should only take one of these, depending on the web engine, but can get it to work with any.
<tr -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); >
I have also tried placing the above CSS in <div> tags around the text that I am inserting, which is my column headings.
The PDF file is created properly with the table and other CSS working so the Qt/C++ is working well my question relates to the CSS which is valid within Qt Rich Text.
Is it possible to rotate text using CSS and if so what am I doing wrong, I have played with this for some time without success.