473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

xsl-fo: round border for table or block

hi,
i am new to the xsl-fo-pdf-stuff...

i want to create a pdf document with apache-fop. in this document i do
have a border around two blocks. my designer want to have round
corners for the border. is there any easy way to do this?
and the second question: the two blocks have to overlap each other, so
the borders will overlap too.

thanxs in advance

markus
Jul 20 '05 #1
3 6157
Markus <ma*************@rzf.fin-nrw.de> wrote:
i am new to the xsl-fo-pdf-stuff...
Me too. You're not alone. :)
i want to create a pdf document with apache-fop. in this document i do
have a border around two blocks. my designer want to have round
corners for the border. is there any easy way to do this?
and the second question: the two blocks have to overlap each other, so
the borders will overlap too.


I'm new, so I'll take a stab at it.

I don't see any way in the border styles to see anything that's a round
corner per se. Border styles are:

dashed dotted double groove
hidden inherit inset none
outset ridge solid

One alternate would be to have a graphic that gets laid in before the
text, but there's always the problem of knowing where to put it or how
large to make it.

--
_Deirdre http://deirdre.net
"Memes are a hoax! Pass it on!"
Jul 20 '05 #2
Deirdre Saoirse Moen <de*****@deirdre.org> wrote in message news:<ce************@emperor.deirdre.org>...
Markus <ma*************@rzf.fin-nrw.de> wrote:
i am new to the xsl-fo-pdf-stuff...


Me too. You're not alone. :)

I don't see any way in the border styles to see anything that's a round
corner per se. Border styles are:

dashed dotted double groove
hidden inherit inset none
outset ridge solid

One alternate would be to have a graphic that gets laid in before the
text, but there's always the problem of knowing where to put it or how
large to make it.


ok, native border styles won't help. i have just found out, how to
overlap graphic and texts... as we have fixed border width/heights it
won't be no problem to use a graphic for this... i have to play around
a bit...

my task is to create a invoice-style ticket with lot's of "design" and
some security-graphics...

thanxs for your answer.

markus
Jul 20 '05 #3
"Deirdre Saoirse Moen" <de*****@deirdre.org> wrote in message
news:ce************@emperor.deirdre.org...
Markus <ma*************@rzf.fin-nrw.de> wrote:
i am new to the xsl-fo-pdf-stuff...


Me too. You're not alone. :)
i want to create a pdf document with apache-fop. in this document i do
have a border around two blocks. my designer want to have round
corners for the border. is there any easy way to do this?
and the second question: the two blocks have to overlap each other, so
the borders will overlap too.


I'm new, so I'll take a stab at it.

I don't see any way in the border styles to see anything that's a round
corner per se. Border styles are:

dashed dotted double groove
hidden inherit inset none
outset ridge solid

One alternate would be to have a graphic that gets laid in before the
text, but there's always the problem of knowing where to put it or how
large to make it.


The problem is that it is not the style of a *border* to have a rounded
corner - that would apply to a rectangular area, because the stipulation of
the rounding would refine the perimeters of the area, to which former the
styling of the border would then apply.

AHS
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: will | last post by:
HOpe you can help with this... I have the following xml document... <?xml version="1.0" ?> <file> <header>some data</header> <detail> some more data</detail> <footer> gdshada </footer>
0
by: Franck Perrin | last post by:
I'd like to know if there is a way to apply to successive XSL transformations on one XML file. I got this XML file : <page Action="N047"> <data defaultName="c0dos010" Type="String"...
0
by: johkar | last post by:
My XML and XSL is below. Also below is a textual representation of what I want to get out of the XML with XSL. For each Extension node in XML, I am only concerned with those nodes with...
4
by: Jean-Christophe Michel | last post by:
Hi, In a complex merging of two (non ordered) xml files i need to keep track of the elements of the second tree that were already merged with first tree, to copy only unused elements at the end....
1
by: Philip | last post by:
Hi, I am trying to output certain nodes inside another. I have an xml template with field definitions for a form, and this includes textfields, labels, checkboxes etc plus fieldssets. I defined...
7
by: Andy Fish | last post by:
Hi, I'm stuck with an XSL problem - can anyone give me any hints? I have some XML with nested formatting tags like this: <text> this is plain <bold> this is bold
11
by: Rolf Barbakken | last post by:
I have an xml with records like this one: <a:response> <a:href>http://server/public/sol/comp/1049306.eml</a:href> <a:propstat> <a:status>HTTP/1.1 200 OK</a:status> <a:prop>...
6
by: Mark Miller | last post by:
I have a scheduled job that uses different XSL templates to transform XML and save it to disk. I am having problems with the code below. The problem shows up on both my development machine (Windows...
6
by: dave | last post by:
I really have 2 questions regarding the following xml snippet. The xml is a directory representation. <?xml version="1.0" standalone="yes"?> <FileSystem> <Row> <ID>1</ID> <Name>Root</Name>...
1
by: sommarlov | last post by:
Hi everyone >From one of our systems an xml file is produced. I need to validate this file before we send it to an external system for a very lenghty process. I cannot change the xml file layout....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.