Comments (4)
Neither can I, will see what's wrong with it. It seems we're applying it to another run, instead of the already existing one within HyperLink. This may require some changes or maybe application styles directly to hyperlink
from officeimo.
Any updates on the hyperlink issue? Is there anything I can do to help with the troubleshooting? Thank you!
from officeimo.
I did play with it. I wanted HyperLink to inherit properties from Paragraph, so that it would have all the options from Paragraph (settable on the hyperlink itself). Unfortunetly my knowledge on inheritance and how to make some things is very limited, so I was struggling to fix it. I may as well copy code from Paragraphs (all properties/methods that touch RUnProperties on Paragraph) and let it be a "copy", that later on can be improved by someone who's better coder.
Generally the problem is that Hyperlinks can contain runs and runs contains runproperties which is what makes the hyperlink styling work. We don't have that now. What we have now happens on the run that's outside of hyperlink, but within paragraph.
As with OpenXML usual approach it's possible that one Link, or a more the Text it binds to it's possible is split over multiple runs (think of a link that has multiple colors - not your standard, but it could happen).
So there's no need to troubleshoot anything - more like help is needed to fix it properly, because as far as I see it - I can only fix it with a workaround, which may work, but should be improved later on.
from officeimo.
It took a bit longer than expected. But it's now merged.
from officeimo.
Related Issues (20)
- Document properties are not set when saving to Stream HOT 3
- mathematical formulas HOT 1
- Blank protection password not accepted when trying to unprotect generated word document HOT 4
- Insert image with fixed position HOT 6
- Add 3D Charts HOT 1
- Color applied to first paragraph in header/footer ignored HOT 7
- How to reset page numbers in a new section HOT 1
- Make the FindAndReplace(List<WordParagraph> ... ) method public HOT 1
- Inserting Tables HOT 1
- Documentation for attribute WordParagraph.underline links to MSDN HOT 5
- [Bug]Do Table Cells support adding images? HOT 7
- [Potential Bug] Paragraph AddText Method sets given text to the current run before adding the paragraph. HOT 4
- Horizontal Merge Weird Behaviour HOT 1
- Place Text at specific location HOT 13
- TextBox.WidthCentimeters only respected if RelativeWidthPercentage set to 0 HOT 1
- What units are "WordDocument.Margins" in? HOT 3
- Questions around TextBox HOT 23
- InvalidProgramException HOT 5
- Open Office Writer can't open document created with OfficeIMO HOT 17
- Add Combo Chart HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from officeimo.