Hello! I'm trying to revert the direction of multi-column table applying the text direction change on whole document and simultaneously keeping the right text direction inside all the table cells, spans, paragraphs, etc.
Something like:
Applying CSS:
The expected result is:
or
depending on direction set in @page:left / :right.
The reversion works on HTML page, but I don't see any effect of direction change in PDF - it all stays according to direction in HTML (set in body, for example, or default).
Does Prince support direction property to be set in @page:left / :right?
Thank you!
(using Prince 12)
Something like:
<span style="direction:rtl;">some text</span>
<table>
<tr>
<td style="direction:rtl;">cell #1 content</td>
<td style="direction:rtl;">cell #2 content</td>
<td style="direction:rtl;">cell #3 content</td>
</tr>
</table>
Applying CSS:
@page:left
{
direction: ltr;
}
@page:right
{
direction: rtl;
}
The expected result is:
some text
-------------------------------------------------------
| cell #1 content | cell #2 content | cell #3 content |
-------------------------------------------------------
or
some text
-------------------------------------------------------
| cell #3 content | cell #2 content | cell #1 content |
-------------------------------------------------------
depending on direction set in @page:left / :right.
The reversion works on HTML page, but I don't see any effect of direction change in PDF - it all stays according to direction in HTML (set in body, for example, or default).
Does Prince support direction property to be set in @page:left / :right?
Thank you!
(using Prince 12)
Edited by olegole