You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Hari Gajula <Ga...@cat.com> on 2005/11/03 21:11:22 UTC

Padding the images the vertically

Hi,

I am working on generating the PDF using FOP. I would like the pad the 
check box  images as per  the below screen shot. Could you please give me 
idea on how to implment this.

Thanks for all the info.



Regards
Hari Gajula
309.675.5238

Re: Padding the images the vertically

Posted by Jake Briggs <ja...@coretech.co.nz>.
Wont something like this work :

<fo:table-body border-style="none" border-width="2pt">
    <fo:table-row>

        <fo:table-cell border-width="2pt" border-color="black" 
border-top-style="solid" border-bottom-style="solid" 
border-left-style="solid" border-right-style="solid" padding="1px">
            <fo:block font-size="12pt" text-align="start" 
font-family="Times" font-weight="normal">
               
            </fo:block>
        </fo:table-cell>
        <fo:table-cell border-width="2pt" border-color="black" 
border-top-style="none" border-bottom-style="none" 
border-left-style="solid" border-right-style="none" padding="1px">
            <fo:block font-size="12pt" text-align="start" 
font-family="Times" font-weight="normal">
                I Dont Know
            </fo:block>
        </fo:table-cell>
    </fo:table-row>
    <fo:table-row>
        <fo:table-cell border-width="2pt" border-color="black" 
border-top-style="solid" border-bottom-style="solid" 
border-left-style="solid" border-right-style="solid" padding="1px">
            <fo:block font-size="12pt" text-align="start" 
font-family="Times" font-weight="normal">
               
            </fo:block>
        </fo:table-cell>
        <fo:table-cell border-width="2pt" border-color="black" 
border-top-style="none" border-bottom-style="none" 
border-left-style="solid" border-right-style="none" padding="1px">
            <fo:block font-size="12pt" text-align="start" 
font-family="Times" font-weight="normal">
                Less than 120
            </fo:block>
        </fo:table-cell>
    </fo:table-row>
</fo:table-body>

Make a table with 2 cells in each row :) You'll have to fill it out and 
tweak it a bit....


Hari Gajula wrote:

>
> I want attach the checkbox images as per the below screen shot.Right 
> now I am able to display the check box images in 2 lines with 
> separated by small space. As per the requirement, I don't want that 
> space between the check box images.
>
> I am using xslt parser to generate the pdf. Please let me know if you 
> need any more info.
>
>
> I am giving HTML form of data to FOP. In HTML I can accomplish the 
> below requirement using vspan=0, but when I give it to FOP, it is not 
> working as expected.
>
> What is the equivalent for Vpan in xml
>
>
>
> Regards
> Hari Gajula
> 309.675.5238
>
>
> *Jake Briggs <ja...@coretech.co.nz>*
>
> 11/03/2005 02:11 PM
> Please respond to
> fop-users@xmlgraphics.apache.org
>
>
> 	
> To
> _To_
> 	fop-users@xmlgraphics.apache.org
> cc
> 	
>
>
> Subject
> 	Re: Padding the images the vertically
>
>
>
> 	
>
>
> Caterpillar: Confidential Green        Retain Until: 12/03/2005       
>  Retention Category:  G90 - General Matters/Administration
>
>
> What exactly do you mean by "pad"? How are you trying to do this now,
> what problems are you having?
>
> Hari Gajula wrote:
>
> >
> > Hi,
> >
> > I am working on generating the PDF using FOP. I would like the pad the
> > check box  images as per  the below screen shot. Could you please give
> > me idea on how to implment this.
> >
> > Thanks for all the info.
> >
> >
> >
> > Regards
> > Hari Gajula
> > 309.675.5238
>
>
> -- 
> Jacob Briggs
> Systems Engineer
>
> Core Technology Limited
> Level 1, NZX Centre
> 11 Cable Street
> Wellington
> Phone +64 4 499-1108
>
> --
>
> Named after its country of origin 'England', English is a little known 
> dialect used by up to 1.5 billion non-Americans worldwide. Some 
> interesting but obviously incorrect features of the language include:
>
> - queues of people
> - wonderful coloUrs
> - the useful metal aluminIum
> - the exotic herbs (h-urbs), basil (ba-zil) and oregano (o-re-gaa-no)
> - specialiSed books called 'dictionaries' that tell you how to spell 
> words correctly
>
> Many people using this bizarre gutter speak also subscribe to the 
> pagan belief that water freezes at 0 degrees and that distances should 
> be measured in the forbidden mathematical system of base-10...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>

-- 
Jacob Briggs
Systems Engineer

Core Technology Limited
Level 1, NZX Centre
11 Cable Street
Wellington
Phone +64 4 499-1108

--

Named after its country of origin 'England', English is a little known dialect used by up to 1.5 billion non-Americans worldwide. Some interesting but obviously incorrect features of the language include:

- queues of people
- wonderful coloUrs
- the useful metal aluminIum
- the exotic herbs (h-urbs), basil (ba-zil) and oregano (o-re-gaa-no)
- specialiSed books called 'dictionaries' that tell you how to spell words correctly

Many people using this bizarre gutter speak also subscribe to the pagan belief that water freezes at 0 degrees and that distances should be measured in the forbidden mathematical system of base-10...


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


Re: Padding the images the vertically

Posted by Hari Gajula <Ga...@cat.com>.
I want attach the checkbox images as per the below screen shot.Right now I 
am able to display the check box images in 2 lines with separated by small 
space. As per the requirement, I don't want that space between the check 
box images.

I am using xslt parser to generate the pdf. Please let me know if you need 
any more info.


I am giving HTML form of data to FOP. In HTML I can accomplish the below 
requirement using vspan=0, but when I give it to FOP, it is not working as 
expected.

What is the equivalent for Vpan in xml



Regards
Hari Gajula
309.675.5238



Jake Briggs <ja...@coretech.co.nz> 
11/03/2005 02:11 PM
Please respond to
fop-users@xmlgraphics.apache.org



To
To
fop-users@xmlgraphics.apache.org
cc




Subject
Re: Padding the images the vertically




Caterpillar: Confidential Green Retain Until: 12/03/2005        Retention 
Category:  G90 - General Matters/Administration


What exactly do you mean by "pad"? How are you trying to do this now, 
what problems are you having?

Hari Gajula wrote:

>
> Hi,
>
> I am working on generating the PDF using FOP. I would like the pad the 
> check box  images as per  the below screen shot. Could you please give 
> me idea on how to implment this.
>
> Thanks for all the info.
>
>
>
> Regards
> Hari Gajula
> 309.675.5238 


-- 
Jacob Briggs
Systems Engineer

Core Technology Limited
Level 1, NZX Centre
11 Cable Street
Wellington
Phone +64 4 499-1108

--

Named after its country of origin 'England', English is a little known 
dialect used by up to 1.5 billion non-Americans worldwide. Some 
interesting but obviously incorrect features of the language include:

- queues of people
- wonderful coloUrs
- the useful metal aluminIum
- the exotic herbs (h-urbs), basil (ba-zil) and oregano (o-re-gaa-no)
- specialiSed books called 'dictionaries' that tell you how to spell words 
correctly

Many people using this bizarre gutter speak also subscribe to the pagan 
belief that water freezes at 0 degrees and that distances should be 
measured in the forbidden mathematical system of base-10...


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



Re: Padding the images the vertically

Posted by Jake Briggs <ja...@coretech.co.nz>.
What exactly do you mean by "pad"? How are you trying to do this now, 
what problems are you having?

Hari Gajula wrote:

>
> Hi,
>
> I am working on generating the PDF using FOP. I would like the pad the 
> check box  images as per  the below screen shot. Could you please give 
> me idea on how to implment this.
>
> Thanks for all the info.
>
>
>
> Regards
> Hari Gajula
> 309.675.5238 


-- 
Jacob Briggs
Systems Engineer

Core Technology Limited
Level 1, NZX Centre
11 Cable Street
Wellington
Phone +64 4 499-1108

--

Named after its country of origin 'England', English is a little known dialect used by up to 1.5 billion non-Americans worldwide. Some interesting but obviously incorrect features of the language include:

- queues of people
- wonderful coloUrs
- the useful metal aluminIum
- the exotic herbs (h-urbs), basil (ba-zil) and oregano (o-re-gaa-no)
- specialiSed books called 'dictionaries' that tell you how to spell words correctly

Many people using this bizarre gutter speak also subscribe to the pagan belief that water freezes at 0 degrees and that distances should be measured in the forbidden mathematical system of base-10...


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