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: hyperlinks #10

Open
alexmorozov opened this issue Mar 7, 2017 · 2 comments
Open

Feature: hyperlinks #10

alexmorozov opened this issue Mar 7, 2017 · 2 comments

Comments

@alexmorozov
Copy link
Owner

We should be able to make a certain part of a document a hyperlink. At the first glance, a custom template tag will suffice:

{% hyperlink 'http://site.com' %}
here goes a part of a document
{% endhyperlink %}
@vasjapavlovic
Copy link

In microsoft access query you do something like:
{{ foo }} & "#" & {{ bar }} & "#" where hyperlink is defined between "#" characters. For me the question is how is hyperlink defined in ".odt" file so maybe it is possible to prepare custom context data with hyperlink allready attached.

@alexmorozov
Copy link
Owner Author

I've created a test document, and a simple text link looks like this:

<text:a xlink:href="http://site.ru" office:target-frame-name="_top" xlink:show="replace">
... link inner contents ...
</text:a>

So I think you could try use this tag.

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