IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

XSL/XSLT/XPATH XML Discussion :

[xsl-fo] charoff dans fo:table-cell


Sujet :

XSL/XSLT/XPATH XML

  1. #1
    Futur Membre du Club
    Profil pro
    Inscrit en
    Juillet 2008
    Messages
    8
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Juillet 2008
    Messages : 8
    Points : 6
    Points
    6
    Par défaut [xsl-fo] charoff dans fo:table-cell
    Bonjour, je suis nouveau en xsl-fo.


    J'aimerais si il est possible de faire un character offset dans une cellule d'une table. J'ai essayé un padding-left mais ça ne fontionne pas.

    Merci!

    XML

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    <tr>
      <td>Number 1</td>
      <td align="char" char="-" charoff="25%">1 - 100</td>
      <td align="char">105.99</td>
      <td align="char">33</td>
    </tr>
    FO

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    <fo:table-row keep-with-next="always" role="tr" xml:lang="fr">
      <fo:table-cell border="1px" padding="2px" text-align="from-table-column()" role="td" xml:lang="fr">
        <fo:block>Number 1</fo:block>
      </fo:table-cell>
      <fo:table-cell border="1px" padding="2px" role="td" xml:lang="fr" text-align="-" c>
        <fo:block  padding-left="25%">1 - 100</fo:block>
      </fo:table-cell>
      <fo:table-cell border="1px" padding="2px" role="td" xml:lang="fr" text-align=".">
        <fo:block>10<fo:inline keep-with-previous.within-line="always" keep-with-next.within-line="always" keep-together.within-line="always">5.9</fo:inline>9</fo:block>
      </fo:table-cell>
      <fo:table-cell border="1px" padding="2px" role="td" xml:lang="fr" text-align=".">
        <fo:block>33</fo:block>
      </fo:table-cell>
    </fo:table-row>

  2. #2
    Futur Membre du Club
    Profil pro
    Inscrit en
    Juillet 2008
    Messages
    8
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Juillet 2008
    Messages : 8
    Points : 6
    Points
    6
    Par défaut
    j'ai essayé avec un list-block mais j'arrive pas à aligner avec le -

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
     
    <fo:list-block start-indent="0in" provisional-label-separation="0pt" provisional-distance-between-starts="10%">
     <fo:list-item >		
       <fo:list-item-label end-indent="label-end()" >										              													 
         <!--<fo:block></fo:block>-->
       </fo:list-item-label>
       <fo:list-item-body start-indent="body-start()" text-align="-">
        <fo:block>1000 - 9,999</fo:block>
       </fo:list-item-body>
     </fo:list-item>
    </fo:list-block>

Discussions similaires

  1. Réponses: 3
    Dernier message: 19/06/2013, 09h46
  2. input dans un display:table-cell
    Par theo17 dans le forum Mise en page CSS
    Réponses: 15
    Dernier message: 12/05/2013, 18h20
  3. Réponses: 6
    Dernier message: 08/04/2010, 10h32
  4. Réponses: 0
    Dernier message: 05/11/2008, 16h54
  5. cell editor dans une table
    Par michelp38 dans le forum SWT/JFace
    Réponses: 0
    Dernier message: 15/09/2008, 10h53

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo