Comments (8)
Can be PR
from officeimo.
AddParagraphAfterSelf is pretty useful AddParagraphBeforeSelf as well. Basically you can insert new paragraph before the one you're currently operating with. The ones with section isn't really useful i guess. But i could be wrong.
from officeimo.
This is used internally:
OfficeIMO/OfficeIMO.Word/WordSection.PublicMethods.cs
Lines 16 to 26 in 5f16f4f
and
OfficeIMO/OfficeIMO.Word/WordSection.PublicMethods.cs
Lines 28 to 47 in 5f16f4f
This could be hidden and made internal/private only. I don't think it doesn't make much sense outside of internal usage.
from officeimo.
Alright thanks, that answered this question.
Would you like me to change the scope of the
method to internal in next pr or leave as is?
from officeimo.
I also should update the signature for AddParagraphBeforeSelf then?
Making the change locally, will open a PR in the future.
from officeimo.
I've made the commit locally, let me know if AddParagraphBeforeSelf shouldn't be made private.
from officeimo.
If it has section then yes. But otherwise no
from officeimo.
BeforeSelf does not have a section argument, but an overload for AfterSelf does. I only need to make the definition with section as an argument private and leave both other method's defined public?
Private: AddParagraphAfterSelf(WordSection section, WordParagraph paragraph = null);
Public: AddParagraphAfterSelf();
public AddParagraphBeforeSelf();
Asking for clarification, right now I moved all three to the private methods file.
from officeimo.
Related Issues (20)
- Any way to implement numbered list (a., b., c., ....)? HOT 4
- Setting font size for list symbol HOT 7
- Any way to insert rich text HTML content? HOT 10
- Remove continue numbering & restart numbering for lists
- Add ability to merge & remove lists
- Image layout options 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
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.