Hi all. We’ve got a problem using fop to format a
paragraph. The thing is that when we try to put a text inside a paragraph, we
get the undesired result as seen in the image attached. What can i do to set
the space between lines as best as possible? Here’s the code used to show the comment: <!-- COMENTARIOS --> <xsl:template match="frame/comentari"> <fo:block font-size="12pt" text-align="center" font-weight="bold" padding-bottom="10px" font-family="ComicSansMS"> <xsl:value-of select="titulo"/> </fo:block> <fo:block text-align="justify" text-indent="15pt" space-after="20pt"> <xsl:apply-templates select="texto"/> </fo:block> </xsl:template> It happens that inside the same paragraph there can be different font
sizes, so i just don’t know what to do to fix it. Here’s the
generated FO: <fo:table text-align="start" table-layout="fixed"> <fo:table-column column-width="18cm"/> <fo:table-body> <fo:table-row keep-together="always"> <fo:table-cell> <fo:block padding-bottom="10px" font-weight="bold" text-align="center" font-size="12pt">Susp. neg.
ENACO</fo:block> <fo:block space-after="20pt" text-indent="15pt" text-align="justify"> <fo:inline font-size="8pt"> <fo:block> <fo:inline color="#000000" font-size="12pt">La </fo:inline> <fo:inline font-weight="bold"> <fo:inline color="#000000" font-size="12pt">
Dirección General de Mercados e Inversores</fo:inline> </fo:inline> <fo:inline color="#000000" font-size="12pt"> eleva la siguiente propuesta motivada de
suspensión de la negociación al Presidente
de la Comisión Nacional del Mercado de Valores, quien en virtud de
la delegación de facultades otorgada por el Consejo de la
Comisión Nacional con fecha 9 de octubre de 2002,
acuerda: </fo:inline> </fo:block> <fo:block> </fo:block> <fo:block> <fo:inline color="#000000" font-size="12pt"> </fo:inline> </fo:block> <fo:block> </fo:block> <fo:block> <fo:inline color="#000000" font-size="12pt">"<fo:inline font-style="italic">Suspender
cautelarmente, con efectos
inmediatos, al amparo del Artículo 33 de la Ley 24/1988, de 28
de julio, del Mercado de Valores, la negociación en el Sistema de
Interconexión Bursátil de las acciones, u otros valores
que den derecho a su
suscripción o adquisición, de la entidad ENACO, S.A., por
concurrir
circunstancias que pudieran perturbar el normal desarrollo de las
operaciones sobre los citados valores.</fo:inline>"</fo:inline> </fo:block> <fo:block> </fo:block> </fo:inline> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> Any help would be
appreciated. Thanks. |
- Re: Line spaces when different font sizes are used Ramon Maria Gallart
- Re: Line spaces when different font sizes are use... Jeremias Maerki
- Re: Line spaces when different font sizes are use... J.Pietschmann
- RE: Line spaces when different font sizes are use... Ramon Maria Gallart
- Re: Line spaces when different font sizes are use... Ramon Maria Gallart
- Re: Line spaces when different font sizes are... Jeremias Maerki