Comments (2)
@Nautigsam and @EricWhiteDev I'd say it's a good idea.
What exactly do you mean with your first point ("identify a section as a class ...")? The SectionProperties
class represents a section. However, it certainly doesn't identify a section like the Paragraph
class identifies a paragraph, because a SectionProperties
instance does not contain the elements of a section. The w:sectPr
element represented by a SectionProperties
instance just marks the end of a section. Thus, "getting the paragraphs that compose a section" would add value.
Testing "if the section is a final section or not" is very straightforward. If it is contained in a w:pPr
element (ParagraphProperties
instance), it's not a final section. The final section is represented by a w:sectPr
element the parent of which is the w:body
element (Body
instance).
from open-xml-sdk.
Have you seen the functionality, SplitOnSections in DocumentBuilder.cs? You pass it an open WordprocessingDocument, and it returns N documents, each document containing one section from the source document.
From a philosophical point of view, we are going to be very careful before adding markup specific functionality into the SDK. Markup specific functionality might be better put in Open-Xml-PowerTools. (git repo coming soon). We're thinking of what to add to the SDK, but right now we have more than enough work getting some core issues addressed that apply to all of Open XML as a whole.
from open-xml-sdk.
Related Issues (20)
- documentformat.openxml is missing NuGet package README file
- Excel in-cell dropdown HOT 4
- documentformat.openxml.framework is missing NuGet package README file HOT 1
- Bug with Open XML SDK HOT 1
- How can I get a CheckBox in Excel using OpenXML?
- Charts directory appears under the drawings directory when packaged HOT 2
- Bug with opening corrupted Open XML documents HOT 1
- SpreadsheetDocument Class documentation contains non-existent Close method HOT 3
- Changing underlying excel data sheet does not update other worksheets
- Excel with Comments is not working with Open XML SDK
- Unable to read cells with % symbol
- Upgrading to 3+ can be troublesome for .NET6 projects HOT 3
- .NET Core 8 taking a lot longer to build and publish
- Change SpreadSheetML namespace to SpreadsheetML
- Manual approval required for workflow run 8287853350: Approval for publishing to Nuget.org HOT 2
- Investigate changing extensionlist/extension mechanism naming to more closely match Office use HOT 18
- Bug with Open XML SDK
- SpreadsheetDocument.Dispose() throws System.ObjectDisposedException HOT 2
- [Performance] Reduce ElementFeatureCollection calls HOT 3
- Bug with Open XML SDK HOT 1
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 open-xml-sdk.