XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Michael JerniganSubject: table and cell borders
Author: Michael Jernigan
Date: 28 Sep 2007 03:04 PM
I am new to XSL, so bare with me.

I am trying to use Stylus Studio to generate a PDF file from XML. I created an xml report. The report has some tables in it. On these tables I set borders = 0 to get rid of the lines. If I preview the report, it looks fine. However, after I generate the XSL-FO document from it and preview that object, then the tables have borders.

Any ideas?

Postnext
Alberto MassariSubject: table and cell borders
Author: Alberto Massari
Date: 01 Oct 2007 10:30 AM
Hi Michael,
I created a new report, and set the Width property of both Table Borders and Cell Borders to 0, I get a table with no borders in both XSL and PDF.
Could you attach the report you are trying to design?

Alberto

Postnext
Michael JerniganSubject: table and cell borders
Author: Michael Jernigan
Date: 01 Oct 2007 10:51 AM
Here is a sample

Postnext
Michael JerniganSubject: table and cell borders
Author: Michael Jernigan
Date: 01 Oct 2007 10:54 AM
Here is a sample.

Here is the steps I am taking to recreate the issue.

I create a new report.
Add a data source
Insert a table with two columns
insert value from xml into table
select table and change border to 0
If I preview report here then it has no borders.
I select the generate button
Change the document type to xsl-fo.
Then I run preview and it opens adobe and shows the table with borders.


UnknownUntitled1.report

Postnext
Alberto MassariSubject: table and cell borders
Author: Alberto Massari
Date: 01 Oct 2007 11:27 AM
Hi Michael,
the file you attached has still the default width of 2 for both table and cell; this is a version that should work also for you.

Alberto


UnknownUntitled1(1).report

Postnext
Michael JerniganSubject: table and cell borders
Author: Michael Jernigan
Date: 01 Oct 2007 11:42 AM
Actually if I use yours it still has the table borders set to 2.

In any case, I can't find a place to change the borders for the cells. If I click on the cell tab in the property window, the only option is "background". I included a screen shot from my report.


Documentscreenshot(3).doc

Postnext
Alberto MassariSubject: table and cell borders
Author: Alberto Massari
Date: 01 Oct 2007 12:31 PM
Hi Michael,
which version of Stylus are you using? If you are not using the latest version, it could be that the setting for the cell border was not exposed.

Alberto

Posttop
Michael JerniganSubject: table and cell borders
Author: Michael Jernigan
Date: 01 Oct 2007 12:58 PM
That is the issue. I downloaded release 2 and now it works.

Thanks

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.