Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[error] <pre>content</pre> #476

Open
Jacyking opened this issue Dec 26, 2024 · 3 comments
Open

[error] <pre>content</pre> #476

Jacyking opened this issue Dec 26, 2024 · 3 comments

Comments

@Jacyking
Copy link

image

@Jacyking
Copy link
Author

Jacyking commented Dec 26, 2024

image
maybe it can not auto start new page ?

@fralx
Copy link
Owner

fralx commented Dec 27, 2024

Hi! If I'm being honest, I don't fully understand what the problem is.
If you want the component to be split into parts and moved to another page, the DataBand it needs to be splitable.
startNewPage starts rendering the band from a new page.
startFromNewPage breaks the DataBand and ReportHeader, without setting this flag, the ReportHeader will be on the same page.

@Jacyking
Copy link
Author

Jacyking commented Dec 30, 2024

image
maybe rect calculation error?
QString(R"(<td style='padding-right: 50px; padding-bottom: 10px; white-space: pre;'>%1</td>)").arg(text)
the databand should not be on the page footer

@Jacyking Jacyking reopened this Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants