PDF Output Rendering Issues: Table and Note Spanning Across Pages
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 22
- Joined: Fri Aug 04, 2023 11:27 am
PDF Output Rendering Issues: Table and Note Spanning Across Pages
Post by Amit+007appviewx »
Hi Team
Greetings!!
I'm encountering issues in the generated PDF output, listed below:
Thank you
With Regards
Greetings!!
I'm encountering issues in the generated PDF output, listed below:
- When a table spans across 2 pages, the top border is missing on the second page. Table-1.pngTable-2.png
- When a table row spans 2 pages, the bottom border on the current page disappears, along with the top border on the next page. Table-3.pngTable-4.png
- When the 'Note' spans 2 pages, it should relocate entirely to the new page rather than splitting across. Note-1.png
Thank you
With Regards
You do not have the required permissions to view the files attached to this post.
Last edited by Amit+007appviewx on Mon Nov 20, 2023 9:09 am, edited 1 time in total.
-
- Posts: 39
- Joined: Mon Jul 25, 2022 11:18 am
Re: PDF Output Rendering Issues: Table and Note Spanning Across Pages
Post by andrei_pomacu »
Hi,
For tables and notes span problem you can use these CSS rules:
Regards,
Andrei
For tables and notes span problem you can use these CSS rules:
Code: Select all
/* Note span */
[class~="topic/note"]{
page-break-inside:avoid;
}
/* Tables span */
*[class~="topic/row"]:has(*[class~="topic/entry"][rowspan]){
page-break-before: avoid;
page-break-after: avoid;
}
Andrei
-
- Posts: 22
- Joined: Fri Aug 04, 2023 11:27 am
-
- Posts: 22
- Joined: Fri Aug 04, 2023 11:27 am
Re: PDF Output Rendering Issues: Table and Note Spanning Across Pages
Post by Amit+007appviewx »
Hello Team
Greetings the given solution for Note Span is working but the Table san is not working can you please suggest the changes to be done ?
"/* Tables span */
*[class~="topic/row"]:has(*[class~="topic/entry"][rowspan]){
page-break-before: avoid;
page-break-after: avoid;
}"
This is our customized CSS, kindly suggest where the changes needs to be done and also help with the warnings in the CSS.
Kindly suggest any other solution for table span.
Best Regards
Greetings the given solution for Note Span is working but the Table san is not working can you please suggest the changes to be done ?
"/* Tables span */
*[class~="topic/row"]:has(*[class~="topic/entry"][rowspan]){
page-break-before: avoid;
page-break-after: avoid;
}"
This is our customized CSS, kindly suggest where the changes needs to be done and also help with the warnings in the CSS.
Kindly suggest any other solution for table span.
Best Regards
Last edited by Amit+007appviewx on Mon Nov 20, 2023 4:06 pm, edited 1 time in total.
-
- Posts: 39
- Joined: Mon Jul 25, 2022 11:18 am
Re: PDF Output Rendering Issues: Table and Note Spanning Across Pages
Post by andrei_pomacu »
Hi,
Could you please inform me which version of the Oxygen software you are currently using and reproduce the problem?
Regards,
Andrei
Could you please inform me which version of the Oxygen software you are currently using and reproduce the problem?
Regards,
Andrei
-
- Posts: 22
- Joined: Fri Aug 04, 2023 11:27 am
Re: PDF Output Rendering Issues: Table and Note Spanning Across Pages
Post by Amit+007appviewx »
Hi,
I am using Oxygen version: 25.0
Best Regards,
I am using Oxygen version: 25.0
Best Regards,
-
- Posts: 39
- Joined: Mon Jul 25, 2022 11:18 am
Re: PDF Output Rendering Issues: Table and Note Spanning Across Pages
Post by andrei_pomacu »
Hi again,
I manage to reproduce the problem if I remove the table header.
Please remove from the CSS rules that I have you :has(*[class~="topic/entry"][rowspan]).
In order to avoid the page-break in tables the CSS rule should look like this:
Best Regards,
Andrei
I manage to reproduce the problem if I remove the table header.
Please remove from the CSS rules that I have you :has(*[class~="topic/entry"][rowspan]).
In order to avoid the page-break in tables the CSS rule should look like this:
Code: Select all
*[class~="topic/row"]{
page-break-before: avoid;
page-break-after: avoid;
}
Andrei
-
- Posts: 22
- Joined: Fri Aug 04, 2023 11:27 am
Re: PDF Output Rendering Issues: Table and Note Spanning Across Pages
Post by Amit+007appviewx »
Hi Team
The solution given above is not working as expected.
There are some issues seen after making this change.
For Example: Table border missing on the existing page.
Best Regards
The solution given above is not working as expected.
There are some issues seen after making this change.
For Example: Table border missing on the existing page.
image.png
The table is generated at the footer also: image.png
Single table split into 3 pages as show in this image: image.png
Can you please help us with any other solution ??Best Regards
You do not have the required permissions to view the files attached to this post.
-
- Posts: 39
- Joined: Mon Jul 25, 2022 11:18 am
Re: PDF Output Rendering Issues: Table and Note Spanning Across Pages
Post by andrei_pomacu »
Hi,
Could you please send the CSS files with your customizations and a portion of your documentation files to our email support (support@oxygenxml.com)? I would like to debug the issue you are facing.
If your DITA documents contain some sensitive content, you can randomize it by using Oxygen's Help > Support Tools > Randomize XML text content option.
Create a copy of your DITA structure before doing this operation as the randomizing cannot be reverted.
Regards,
Andrei
Could you please send the CSS files with your customizations and a portion of your documentation files to our email support (support@oxygenxml.com)? I would like to debug the issue you are facing.
If your DITA documents contain some sensitive content, you can randomize it by using Oxygen's Help > Support Tools > Randomize XML text content option.
Create a copy of your DITA structure before doing this operation as the randomizing cannot be reverted.
Regards,
Andrei
-
- Posts: 22
- Joined: Fri Aug 04, 2023 11:27 am
Re: PDF Output Rendering Issues: Table and Note Spanning Across Pages
Post by Amit+007appviewx »
Hi Team,
Thank you for your prompt response and willingness to assist.
I'll send the CSS files with our customizations and a portion of the documentation to support@oxygenxml.com shortly. Regarding sensitive content, I'll ensure to randomize it using Oxygen's Help > Support Tools > Randomize XML text content option before sending it over.
Prior to randomization, I'll create a backup of the DITA structure to avoid any loss of information.
Appreciate your help in resolving this matter.
Best regards,
Amit Darekar
Thank you for your prompt response and willingness to assist.
I'll send the CSS files with our customizations and a portion of the documentation to support@oxygenxml.com shortly. Regarding sensitive content, I'll ensure to randomize it using Oxygen's Help > Support Tools > Randomize XML text content option before sending it over.
Prior to randomization, I'll create a backup of the DITA structure to avoid any loss of information.
Appreciate your help in resolving this matter.
Best regards,
Amit Darekar
Return to “DITA (Editing and Publishing DITA Content)”
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