How to configure rowheader in PDF output?
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 13
- Joined: Tue Nov 13, 2012 9:30 pm
How to configure rowheader in PDF output?
Hi all,
In a table, I want to make the first column as the header, so I use
But in PDF output, the first column is not bold as in the WebHelp output. And also I want to add a background-color to the first column to make it stand out. Where is the rowheader defined in xsl stylesheet and how can I edit it?
Thank you very much in advance.
Best,
Ivy
In a table, I want to make the first column as the header, so I use
Code: Select all
<table frame="all" scale="80" rowheader="firstcol" >
Thank you very much in advance.
Best,
Ivy
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to configure rowheader in PDF output?
Hi Ivy,
Oxygen uses the DITA Open Toolkit to publish DITA content to various output formats and from what I investigated the DITA OT PDF stylesheets do not handle the rowheader attribute in any way.
I added an issue for this one:
https://github.com/dita-ot/dita-ot/issues/1462
It's probably an attribute which is seldom used and nobody noticed that it was not implemented in the PDF output.
Regards,
Radu
Oxygen uses the DITA Open Toolkit to publish DITA content to various output formats and from what I investigated the DITA OT PDF stylesheets do not handle the rowheader attribute in any way.
I added an issue for this one:
https://github.com/dita-ot/dita-ot/issues/1462
It's probably an attribute which is seldom used and nobody noticed that it was not implemented in the PDF output.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 41
- Joined: Wed Aug 14, 2019 9:16 am
Re: How to configure rowheader in PDF output?
Hi Radu,
Do you know if this was ever resolved, so that the @rowheader attribute can be formatted in a similar manner to the <thead> element in a PDF?
In my CSS I use the following for the <thead>:
Thanks.
Do you know if this was ever resolved, so that the @rowheader attribute can be formatted in a similar manner to the <thead> element in a PDF?
In my CSS I use the following for the <thead>:
Code: Select all
*[class~="topic/thead"] {
background-color: #E7E6E6;
font-family: IBMPlexSans-SemiBold;
}
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: How to configure rowheader in PDF output?
Post by julien_lacour »
Hello,
You can match both <thead> and entries marked as @rowheader using the following rule:
The entries marked as @rowheader are converted in <th> instead of <td> during the transformation.
Regards,
Julien
You can match both <thead> and entries marked as @rowheader using the following rule:
Code: Select all
th {
background-color: #E7E6E6;
font-family: IBMPlexSans-SemiBold;
}
Regards,
Julien
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service