Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Rotating Rich Text using CSS for Document Column Headings
QtWS25 Last Chance

Rotating Rich Text using CSS for Document Column Headings

Scheduled Pinned Locked Moved Unsolved General and Desktop
cssrich text
1 Posts 1 Posters 829 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mikeosoft
    wrote on 20 Mar 2016, 17:32 last edited by mikeosoft
    #1

    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.

    Thanks.

    1 Reply Last reply
    0

    1/1

    20 Mar 2016, 17:32

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved