Two other questions related to bullet lists exist on Stack Overflow, but both do not help me (the source code above is one answer to the second question): My goal is to create a multi-level list from XML data (more specific a CustomXMLNode object) via shorthand methods that I haven't discovered yet? So my question is: Does a better approach exist to create a multi-level bullet list via Word.Interop, e.g. The format has to be applied at a VERY specific point and I have to manually indent and outdent the created paragraphs. The code does exactly what I want (after a lot of try and error!), but it's horrible in my opinion. ATTENTION: We have to indent the paragraph AFTER its text has been set, otherwise this has no effect. Without this, the the indent of "Item 2" differs from the indent of "Item 1". ATTENTION: We have to outdent the paragraph AFTER its list format has been set, otherwise this has no effect. I've just created the following example (not dynamic yet, just for demonstration purposes) in a VSTO document-level project for Microsoft Office Word 2010 in the programming language C#: Word.Paragraph paragraph = null I need to create a multi-level bullet list via and I am currently struggling with its (horrible) API (again).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |