-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Figuring out the list type #258
Comments
I am probably not exposing anything. Document has Lists property, which is WordList List, which is where it should be exposed. The "type" of the list is not stored on paragraphs, but at completely different place which is a nightmare to track Looking at this test: OfficeIMO/OfficeIMO.Tests/Word.Lists.cs Lines 374 to 404 in 1df69dd
You could probably figure it out. I started exposing some things in: But it's not yet ready |
Thanks |
The list style is applied on the list level => as in the general ones, however each list item, depending on level may have it's own config, if the list is custom, which you can see in the linked PR. So I guess exposing both makes sense => as in list has it's own type or custom, and then each list item would need to expose what it has |
Hi
I am trying to convert Word lists into HTML ul/ol lists. I've found IsListItem and ListItemLevel which gives me enough to figure out the structure of the list but I'm not sure how to find out if it is a numbered or bulleted list. I see AddList takes a WordListStyle parameter which looks like it might give me what I want, but that doesn't seem to be exposed anywhere. I can't find it on the underlying object either, any ideas?
The text was updated successfully, but these errors were encountered: