Skip to content

Conversation

wwlpublish
Copy link

No description provided.

@@ -528,7 +608,7 @@ private static object ProcessHyperlinkToBookmark(WordprocessingDocument wordDoc,
{
var style = new Dictionary<string, string>();
var a = new XElement(Xhtml.a,
new XAttribute("href", "#" + (string) element.Attribute(W.anchor)),
new XAttribute("href", "#" + (string)element.Attribute(W.anchor)),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a lot of formatting/style changes that should be reverted, since they only make the PR harder to review.

@@ -439,7 +509,17 @@ private static void SetStyleElementValue(XElement xhtml, string styleValue)
// Transform contents of runs.
if (element.Name == W.r)
{
return ConvertRun(wordDoc, settings, element);
//return ConvertRun(wordDoc, settings, element);
Copy link

@danbetts danbetts Oct 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is where the PR falls over. An earlier PR changes this particular bit of code.

huan086 pushed a commit to huan086/Open-Xml-PowerTools that referenced this pull request Sep 17, 2024
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

Successfully merging this pull request may close these issues.

2 participants