1
에서 강제로 줄 바꿈이 같은 XSL-FO의 테이블을 만들었습니다XSL-FO : 테이블
<fo:block margin-top="0.4cm">
<fo:table border-collapse="collapse">
<fo:table-column column-width="15%"
column-number="1" />
<fo:table-column column-width="16%"
column-number="2" />
<fo:table-column column-width="53%"
column-number="3" />
<fo:table-column column-width="16%"
column-number="4" />
<fo:table-header>
<fo:table-row>
<fo:table-cell padding="2px" font-size="7px">
<fo:block text-align="center" font-weight="bold">Column1
</fo:block>
</fo:table-cell>
<fo:table-cell padding="2px" font-size="7px">
<fo:block text-align="center" font-weight="bold">Column2
</fo:block>
</fo:table-cell>
<fo:table-cell padding="2px" font-size="7px">
<fo:block text-align="left" font-weight="bold">Column3
</fo:block>
</fo:table-cell>
<fo:table-cell padding="2px" font-size="7px">
<fo:block text-align="center" font-weight="bold">Column4
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body font-size="9px">
<fo:table-row>
<fo:table-cell padding="2px" border="0.5pt solid #cfcfcf">
<fo:block text-align="center">
12345678910111213
</fo:block>
</fo:table-cell>
<fo:table-cell padding="2px" border="0.5pt solid #cfcfcf">
<fo:block text-align="center">
some text
</fo:block>
</fo:table-cell>
<fo:table-cell padding="2px" border="0.5pt solid #cfcfcf">
<fo:block text-align="left">
some text
</fo:block>
</fo:table-cell>
<fo:table-cell padding="2px" border="0.5pt solid #cfcfcf">
<fo:block text-align="right">
some text
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block padding-top="40px">
some text
</fo:block>
</fo:block>
문자열 "12345678910111213"를 열 1에 해당 테이블 셀의 경계에 걸쳐 기록됩니다.
문자열의 특정 문자 수 이후에이 열의 표 셀에 줄 바꿈을 강제로 적용하려면 어떻게합니까?
Èb;은 작동하지 않지만 & # xb; 않았다 :-) – erdalprinz
: {)} 당장! 다시 미끄러 져! –