Extending field type list
See original GitHub issueHey, At the moment, I have struggles to add custom field codes because the enum does not contain the whole list of field codes, but only a subset: https://github.com/EvotecIT/OfficeIMO/blob/master/OfficeIMO.Word/WordField.cs#L10
E.g., could we add BIBLIOGRAPHY
to it?
See: https://support.microsoft.com/en-us/office/field-codes-bibliography-field-cbb17838-05d7-4533-8066-4791aeddb9de
Some field codes require switches, so how about passing a dictionary to AddField(...)
as an optional argument?
Do you think that is doable? Do you prefer a PR or to do it yourself?
Issue Analytics
- State:
- Created 10 months ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
java - Is it appropriate to extend List to add fields
This is purely a matter of opinion, but personally I would advise against extending classes like ArrayList in almost all circumstances, ...
Read more >Extending a Field Type in Drupal 8
In this article, we'll walk through extending the core Entity Reference field type with a quantity textfield. Hopefully, this example will ...
Read more >Extension Field Types
Field Type Default Value Calculated Field
Text Yes Yes
Amount Yes: Default value and default currency Yes
Indicator Yes No
Read more >Extending Sitecore Field Types
A step-by-step description of how to extend a Sitecore Field Type ... An example is the datasource of a List-Type where you may...
Read more >Extend the Geolocation field type by using client-side ...
SharePoint introduces a new field type named Geolocation that enables you to annotate SharePoint lists with location information.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let me put it this way: It’s refreshing to see a maintainer who is open to contributions. I saw exciting projects on Github, but the maintainers were very biased about their code quality. If you see a larger project w/o testing and the maintainer don’t wants to change anything because it’s so “well-crafted”, … don’t use it! However, I saw some magic strings/numbers in the parsing of the field codes. I am about to refactor this part at the moment. Looking forwarding hearing your opinion about it once I have done it. 💪🏻
Hi,
It’s actually very useful for PowerShell where with one LIB you are able to support both PS 5.1 and PS 7 which is the main reason I created this project.
As you can see in the project there are 3 systems tested on Azure Devops - linux, windows, macos. As long as we retain tests for all supported frameworks on all supported systems we can adjust the settings to be runnable on all systems as required. Maybe it just needs some IF/ELSE in the configuration settings depending on OS version.