Comments (4)
I guess the easiest would be add more styles to OfficeIMO.
- Create list in word
- Open this word in Open XML SDK 2.5 Productivity Tool
- Copy AbstractNum as a style to WordListStyle following the pattern that is there
- Modify Enum to add new style (s)
Of course one could expand the customliststyle as well, but I haven't yet had the time to implement allowing you to assign AbstractNum to existing doc.
It actually probably is not even that hard you would just need to improve on AddList and instead of picking up style you could provide your own AbstractNum from the code:
OfficeIMO/OfficeIMO.Word/WordList.cs
Lines 404 to 411 in f050884
Of course it would be nicer to have our own class that is a bit easier to use than what OpenXml requires.
from officeimo.
Never built a package before, so I was feeling out of options. Got it working now, I'm adding new styles. thanks!
from officeimo.
I think this needs to stay until it's completed :)
from officeimo.
I've added those additional lists. So closing this one.
from officeimo.
Related Issues (20)
- Image layout options HOT 8
- Mislabeled Behavior? HOT 8
- Potential Bug: Does iteration over TableCell's Paragraphs property allow mutation? HOT 21
- Stable and unlikely to change vs unstable and subject to change vs depreciated api HOT 13
- How to add paragraph without pagebreak? HOT 4
- ContentControls.Add() is trimming space from user selection HOT 1
- How to display the specific gravity value in a pie chart HOT 2
- How to add image watermark? HOT 3
- how can I add a table with two rows and each row had diff columns and width? HOT 1
- Issue with Text Replacement in Multi-Line Text Boxes HOT 1
- ConditionalFormattingFirstColumn sample HOT 2
- [Question] Does OfficeIMO provide support for HTML fragments? HOT 4
- [Question] Is Save As Web Page support? HOT 2
- Repeat as header row at the top on each page HOT 6
- How do I set the first column style of a table not to be bold HOT 2
- WordParagraph.Style can throw an exception HOT 3
- MergeVertically not working on Rows[0].Cells[0] HOT 1
- How to access all of document contents in correct order? HOT 4
- WordParagraph.IsFirstRun and IsLastRun can throw a null reference exception HOT 1
- Superscript / subscript support? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from officeimo.