I'm using the @page rule to set specific options for pages.
I just found out that you can also define different properties for different pages by naming them.
That would be quite useful, but it doesn't seem to work.
Although I can see that iText correctly interprets my named page and stores the name (I can tell, by monitoring CssPageSelectorParser
and CssPageTypeSelectorItem
), it seems to ignore the page
property though, that is used to select which page to use.
Something like this should work, but it doesn't.
@page narrow {
size: 9cm 18cm;
}
@page rotated {
size: landscape;
}
div {
page: narrow;
}
table {
page: rotated;
}
Is there any way of getting this to work or does this feature simply not work?
Cheers,
--Zuzu_Typ--