xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szeak (Register Man)" <szea...@gmail.com>
Subject Re: Image placement at top of the page
Date Wed, 30 Mar 2016 07:55:32 GMT
<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      You may need to set the width of the block-container to fop knows
      where can wrap or hyphenate the text.<br>
      <br>
      <br>
      try the followings:<br>
      &lt;fo:block-container position="absolute" ... width="100%"&gt;<br>
      <div><span style="white-space:pre-wrap">	</span>&lt;fo:block&gt;</div>
      <div><span style="white-space:pre-wrap">		</span>&lt;fo:external-graphic
        src="../images/map6.jpg" margin="0mm" padding="0mm"/&gt;</div>
      <div><span style="white-space:pre-wrap">	</span>&lt;/fo:block&gt;</div>
      <span style="white-space:pre-wrap"></span><span style="white-space:pre-wrap"></span>   
          &lt;fo:block keep-with-previous="always"
      hyphenate="true"&gt;MAP 6: Scotland.&lt;/fo:block&gt;<br>
      <br>
      If don't work try to set the height of the container also.<br>
      <br>
      Bye, Szeak<br>
      <br>
      2016-03-28 14:49 keltezéssel, Ganesh Babu N írta:<br>
    </div>
    <blockquote
cite="mid:CAOtiR58_6+JvUxQQPCc+BYQU0FwtocgyHSKBdSgrprDfWM5HKg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span style="font-size:12.8px">Dear All,</span>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">I am trying to place the image at
          the top of the page with in the region-body.</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">I have used &lt;fo:block-container
          absolute-position="absolute"&gt;</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">The image was placed at top but
          the regular text is getting over lapped above the image. How
          to solve this problem. </div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">Here is my code:</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">
          <div>&lt;fo:block-container absolute-position="absolute"
            top="0mm" text-align-last="center" overflow="hidden"&gt;</div>
          <div><span style="white-space:pre-wrap">	</span>&lt;fo:block
            top="0mm"&gt;</div>
          <div><span style="white-space:pre-wrap">		</span>&lt;fo:external-graphic
            src="../images/map6.jpg" margin="0mm" padding="0mm"/&gt;</div>
          <div><span style="white-space:pre-wrap">	</span>&lt;/fo:block&gt;</div>
          <div><span style="white-space:pre-wrap">	</span>&lt;fo:block
            keep-with-previous="always"&gt;</div>
          <div><span style="white-space:pre-wrap">		</span>&lt;fo:inline&gt;MAP
            6: &lt;/fo:inline&gt;</div>
          <div><span style="white-space:pre-wrap">		</span>&lt;fo:inline
            hyphenate="true"&gt;Scotland.&lt;/fo:inline&gt;</div>
          <div><span style="white-space:pre-wrap">	</span>&lt;/fo:block&gt;</div>
          <div>&lt;/fo:block-container&gt;</div>
        </div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">Please help me.</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">Regards,</div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message