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

Bookmark in Pdf #2718

Open
asthaawasthi-laitkor opened this issue Apr 15, 2024 · 0 comments
Open

Bookmark in Pdf #2718

asthaawasthi-laitkor opened this issue Apr 15, 2024 · 0 comments

Comments

@asthaawasthi-laitkor
Copy link

asthaawasthi-laitkor commented Apr 15, 2024

Describe the bug
Hi,
I am generating pdf and trying to create TOC also , i used bookmark prop ,but in output there is no document outline.
using "@react-pdf/renderer": "^2.0.19"

 <View style={{text_aling: "center", width: "100%", flexDirection: "column"}}>
                          <Text bookmark={{ title: "Section" + code_reference.section_principal, fit: true }} style={{ text_aling: "center", width: "100%", fontSize: 13, fontWeight: "bold", fontFamily: 'Helvetica-Bold'}} >Section {code_reference.section_principal} </Text>
                          {(code_reference.section_principal_sub_1 == 1) && (

image

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

1 participant