You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "QualiteSys QualiteSys (JIRA)" <ji...@apache.org> on 2019/06/03 21:18:00 UTC
[jira] [Commented] (DOXIA-588) The Sink.JUSTIFY_XXX has no effect
[ https://issues.apache.org/jira/browse/DOXIA-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855058#comment-16855058 ]
QualiteSys QualiteSys commented on DOXIA-588:
---------------------------------------------
Here is a portion of example :
sink.table();
int[] j = {
Sink.JUSTIFY_LEFT,
Sink.JUSTIFY_RIGHT,
};
sink.tableRows(j, true);
sink.tableRow();
sink.tableHeaderCell();sink.text("Element");sink.tableHeaderCell_();
sink.tableHeaderCell();sink.text("Nb of occurences");sink.tableHeaderCell_();
sink.tableRow_();
The result (portion) is :
<table border="1" class="bodyTable">
<tr class="a">
<th>Element</th>
<th>Nb of occurences</th></tr>
<tr class="b">
<td>-98.172.-11.167 "US"/"AR"/"Bentonville"/"72712"/36.3457/-94.2514</td>
<td>25166</td></tr>
<tr class="a">
<td>-98.175.-13.187 "US"/""/""/""/38.0000/-97.0000</td>
<td>43</td></tr>
<tr class="b">
<td>103.172.-13.187 "JP"/""/""/""/36.0000/138.0000</td>
<td>46</td></tr></table>
The HTML contains no reference to align or style
> The Sink.JUSTIFY_XXX has no effect
> ----------------------------------
>
> Key: DOXIA-588
> URL: https://issues.apache.org/jira/browse/DOXIA-588
> Project: Maven Doxia
> Issue Type: Bug
> Reporter: QualiteSys QualiteSys
> Priority: Major
>
> Hello
> I wish to use custom column alignments in tables.
> The Sink.JUSTIFY_LEFT or RIGHT seams not working.
>
> Is this code valid ?
> {code:java} sink.table();
> int[] j = {
> Sink.JUSTIFY_LEFT,
> Sink.JUSTIFY_RIGHT
> };
> sink.tableRows(j, true);{code}
> I haven't found examples up to now.
> Thanks for your help
> Didier
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)