Adding some documentation
This commit is contained in:
@ -27,7 +27,6 @@ export interface IParagraphOptions {
|
||||
readonly text?: string;
|
||||
readonly border?: IBorderOptions;
|
||||
readonly spacing?: ISpacingProperties;
|
||||
readonly runs?: Run[];
|
||||
readonly outlineLevel?: number;
|
||||
readonly alignment?: AlignmentType;
|
||||
readonly heading?: HeadingLevel;
|
||||
@ -166,12 +165,6 @@ export class Paragraph extends XmlComponent {
|
||||
this.properties.push(new NumberProperties(options.numbering.num.id, options.numbering.level));
|
||||
}
|
||||
|
||||
if (options.runs) {
|
||||
for (const run of options.runs) {
|
||||
this.root.push(run);
|
||||
}
|
||||
}
|
||||
|
||||
if (options.children) {
|
||||
for (const child of options.children) {
|
||||
this.root.push(child);
|
||||
|
Reference in New Issue
Block a user