Slanted table headings in PDF output using CSS transforms

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Graham Campbell
Propeller Head
Posts: 54
Joined: Tue Oct 30, 2007 4:40 am
Location: Glasgow, Scotland, UK

Slanted table headings in PDF output using CSS transforms

Post by Graham Campbell »

I can use CSS inside a style sheet to produce a slanted table heading like this:
slanted_header.png
To achieve that effect I used the following CSS:

Code: Select all

th.skew {
    height: 100px;
    width: 40px;
    position: relative;
    vertical-align: bottom;
    -webkit-transform: skewX(-45deg);
    -webkit-transform-origin: 60% 100%;
    -o-transform: skewX(-45deg);
    -o-transform-origin:60% 100%;
    transform: skewX(-45deg);
    transform-origin: 60% 100%;
}
The key point obviously being the transforms.

What I can't figure out is how to replicate this same effect inside Flare. I get nothing if I try to use the same CSS in a blank project. The end goal is to have this output in a printed PDF, which I know doesn't support a lot of styles, but I can't figure out why not these ones. Anyone come across this situation and found a resolution before?

Any advice on this would be very appreciated.

Cheers,
G
You do not have the required permissions to view the files attached to this post.
sburton
Propeller Head
Posts: 27
Joined: Mon Feb 17, 2014 1:18 pm

Re: Slanted table headings in PDF output using CSS transforms

Post by sburton »

Anyone get this one figured out? I have a client who needs this look in some of their tables.
Nita Beck
Senior Propellus Maximus
Posts: 3672
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Slanted table headings in PDF output using CSS transforms

Post by Nita Beck »

Sharon, Graham had cross-posted this on LinkedIn. Looks like the short answer is that it's not possible at this time, that is, directly achieved with Flare. Respondents offered some workarounds.

http://linkd.in/1gRAW4h
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Post Reply