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

[Feature Request]: Add support for hyperlinks #53

Closed
genadis opened this issue Oct 30, 2019 · 7 comments
Closed

[Feature Request]: Add support for hyperlinks #53

genadis opened this issue Oct 30, 2019 · 7 comments
Labels
P: High S: has PR The issue has a pending Pull Request T: Feature A new feature

Comments

@genadis
Copy link

genadis commented Oct 30, 2019

Problem to solve
Currently there seems to be no way to add hyperlinks
(http://officeopenxml.com/WPhyperlink.php)

Proposed solution
Add option to write to document.xml.rels via formatter context. So we would be able to implement hyperlinks.

Describe alternatives you've considered
I've considered implementing via formatter similar to convCRLF(). But hyperlinks require writing Relationship to document.xml.rels.

@steevepay steevepay added P: Low S: on hold The issue is on hold until further notice T: Feature A new feature labels Oct 30, 2019
@NestorPerez13
Copy link

I have the same problem, i need to add an hyperlink to an excel sheet, firstly it appear like this:
image

As soon as i click ok, excel escapes the URL and it appear like this:
image

Carbone is unable to parse that "hyperlink", however the visible text in the cell is correct, if someone knows a workaround to solve this i would appreciate.

@steevepay
Copy link
Member

@NestorPerez13 It is not possible yet to apply hyperlinks to an XLSX/ODS template.
We are investigating the proposed solution from @genadis.
Hold on, we will come back to you.

@steevepay steevepay added P: High S: work in progress and removed P: Low S: on hold The issue is on hold until further notice labels Jan 14, 2020
@steevepay
Copy link
Member

To let you know, the next version of Carbone will support hyperlinks with ODS and ODT files.
At this moment, there is some limitations with DOCX and XLSX.

@genadis
Copy link
Author

genadis commented May 5, 2020

@steevepay great news!
Are there plans for DOCX and XLSX? or add option to write to document.xml.rels via formatter context?

Thanks!

@steevepay
Copy link
Member

Carbone is writing to the file document.xml.rels but the feature needs to be improved to support lists of hyperlinks for DOCX and XLSX (for example the screenshot of @NestorPerez13).

@steevepay steevepay added S: has PR The issue has a pending Pull Request and removed S: work in progress labels Jul 9, 2020
@steevepay steevepay mentioned this issue Jul 9, 2020
21 tasks
@steevepay
Copy link
Member

Dynamic hyperlinks are available since the v3.0.0 for Carbone Enterprise Edition, here is the documentation:
https://carbone.io/documentation.html#dynamic-hyperlinks

@rriemann
Copy link

rriemann commented Jul 9, 2022

I thought of using Carbone to generate GDPR audit reports. So can you confirm that I cannot use Carbone free software to place a clickable URL from JSON in an odt file?

Our reports are sensitive, so that using free software on premise is a big plus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: High S: has PR The issue has a pending Pull Request T: Feature A new feature
Projects
None yet
Development

No branches or pull requests

4 participants