proportional-column-width
(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Recommendationnummer: 5.10.4
Kategorie: 5.10.4 Property Value Functions
Die proportional-column-width-Funktion berechnet die proportionale Tabellenspaltenbreite. Die proportionale Breite, die aus der Tabellenbreite multipliziert mit dem numerischen Proportionenwert entsteht, wird durch die Summe der proportionalen Faktoren (in den Daten vorhandene Angaben über die Spaltenbreite) dividiert. Dieser errechnete Wert wird als "column-width"-Wert in <fo:table-column> eingesetzt.
Werte
numeric proportional-column-width(numeric)
XSL-FO Version: 1.0
Unterstützung:
Conformance Level | Antenna House | FOP | RenderX XEP | Altsoft XML2PDF | Compart DocBridge |
Extended | J | J | J | ? | J |
XSL-FO Beispiel:
|
<fo:root font-family="Arial" font-size="10pt" line-height="1.2em" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"> |
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
<fo:block> |
|
|
<fo:table> |
|
|
||
|
||
|
||
|
||
|
||
|
<fo:block> |
|
|
1 |
|
|
</fo:block> |
|
|
||
|
||
|
<fo:block> |
|
|
2 |
|
|
</fo:block> |
|
|
||
|
</fo:table-row> |
|
|
||
|
</fo:table> |
|
|
<fo:table> |
|
|
||
|
||
|
||
|
||
|
||
|
<fo:block> |
|
|
1 |
|
|
</fo:block> |
|
|
||
|
||
|
<fo:block> |
|
|
2 |
|
|
</fo:block> |
|
|
||
|
</fo:table-row> |
|
|
||
|
</fo:table> |
|
|
</fo:block> |
|
|
</fo:flow> |
|
|
||
|
</fo:root> |
In der Ausgabe:
Tipp der data2type-Redaktion: Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: |