-
Notifications
You must be signed in to change notification settings - Fork 12
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
[WIP] begin hyperlink rewrite #1137
Conversation
1) do not remove hyperlinks from `wb$worksheet_rels` 2) do not replace `wb$worksheets[[sheet]]$hyperlinks` with hyperlink objects 3) save what is available
8adcceb
to
bf6fe55
Compare
b345b19
to
43447f6
Compare
@olivroy , I would like to know what you think about But I'm not sure if I'm really happy with this approach, as it bundles On the pro side ... it works as expected, which is nicer than before, although at the moment the references are not yet shared. This would require identifying unique strings in the input and matching them. |
I will have to take a deeper look, but first thing, having I am in favour here I think as I had difficulty using hyperlink. I remember having opened a PR adding an example on how to do it. |
Thanks, it’s still work in progress. The order should be cleaned up, I agree. |
I have taken another approach now. There was to much going on in the first attempt. Now it is required to write the data into the sheet and pass a valid dimension to Probably in most cases people want to create hyperlinks not for columns, but for vectors/dimensions and it would be possible to switch to |
Ok, yeah, it changes a bit the internal structure of the wbWorkbook object? Maybe it requires a clear explanation for people who may have relied on other workarounds till now to create / access hyperlinks. |
As usual, I worked more on the implementation. Documentation is a secondary goal 😄 |
f3b8ee6
to
59383ba
Compare
59383ba
to
2f480d9
Compare
Everything should be good to go. Added documentation and NEWS entries. I'm quite happy how it has turned out. It simplifies our code, less things to stumble over, and we can provide hyperlinks that are closer to what users expect. Also something that I can remove from my invisible to-do list. |
3caa9f6
to
77a061a
Compare
Looks good! Great work |
77a061a
to
93a40ef
Compare
Thanks! There are still a few things to think about, but for now: 🎉 |
wb$worksheet_rels
wb$worksheets[[sheet]]$hyperlinks
with hyperlink objectsadditional PR)skip adding hyperlinks to cells that already contain a hyperlinkI leave that for the users