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

Remove exception from wordsection #99

Merged
merged 4 commits into from
Jan 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions OfficeIMO.Word/WordSection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ internal WordSection(WordDocument wordDocument, SectionProperties sectionPropert
} else if (element is SectionType) {
} else if (element is TitlePage) {
} else {
throw new NotImplementedException("This isn't implemented yet?");
Debug.WriteLine($"The section '{element.GetType().Name}' is currently not supported. "
+ "To request support, open an issue at https://github.com/EvotecIT/OfficeIMO/issues");
}
}

Expand Down Expand Up @@ -381,4 +382,4 @@ internal static HeaderFooterValues GetType(string type) {
}
}
}
}
}