![microsoft word add in indent microsoft word add in indent](https://i.ytimg.com/vi/2U03OZS6OVU/maxresdefault.jpg)
If you need exact fidelity, or consistency across platforms, use Paragraph.getOoxml() and convert the returned XML to HTML. This method does not return the exact same HTML for the same document on different platforms (Windows, Mac, Word on the web, etc.). When rendered in a web page or HTML viewer, the formatting will be a close, but not exact, match for of the formatting of the document. Gets an HTML representation of the paragraph object. Gets comments associated with the paragraph. Moves this paragraph out of its list, if the paragraph is a list item. The user can perform the undo operation on the cleared content.ĭeletes the paragraph and its content from the document. Fails if the paragraph cannot join the list or if the paragraph is already a list item.Ĭlears the contents of the paragraph object. Lets the paragraph join an existing list at the specified level. It returns 0 if the paragraph is not in a table. To use custom styles or localized style names, see the "style" property.
#Microsoft word add in indent portable
Use this property for built-in styles that are portable between locales. Gets or sets the built-in style name for the paragraph.
![microsoft word add in indent microsoft word add in indent](https://images-na.ssl-images-amazon.com/images/I/51G+H7sKHEL.jpg)
To use the built-in styles that are portable between locales, see the "styleBuiltIn" property. Use this property for custom styles and localized style names. Gets or sets the style name for the paragraph. Gets or sets the spacing, in points, before the paragraph. Gets or sets the spacing, in points, after the paragraph. Gets or sets the right indent value, in points, for the paragraph. Returns a null object if it is not contained in a table. Gets the table that contains the paragraph. Returns a null object if it is not contained in a table cell. Gets the table cell that contains the paragraph. Throws an error if it is not contained in a table cell. Throws an error if it is not contained in a table.
![microsoft word add in indent microsoft word add in indent](http://images.rapgenius.com/2965722610951a2a487a6e3b22191bfe.560x406x1.jpg)
Returns a null object if there isn't a parent content control. Gets the content control that contains the paragraph. Throws an error if there isn't a parent content control. Gets or sets the outline level for the paragraph. Returns a null object if the paragraph is not in a list. Gets the List to which this paragraph belongs. Returns a null object if the paragraph is not part of a list. Throws an error if the paragraph is not part of a list. Throws an error if the paragraph is not in a list.
Gets or sets the amount of spacing, in grid lines, before the paragraph. Gets or sets the amount of spacing, in grid lines, after the paragraph. In the Word UI, this value is divided by 12. Gets or sets the line spacing, in points, for the specified paragraph. Gets or sets the left indent value, in points, for the paragraph. Read-only.Ĭhecks whether the paragraph is a list item. Indicates the paragraph is the last one inside its parent body. The collection does not include floating images. Gets the collection of InlinePicture objects in the paragraph. Gets the collection of footnotes in the paragraph. Use this to get and set font name, size, color, and other properties. Use a positive value to set a first-line indent, and use a negative value to set a hanging indent. Gets or sets the value, in points, for a first line or hanging indent. Gets the collection of fields in the paragraph. Gets the collection of endnotes in the paragraph. This connects the add-in's process to the Office host application's process. The request context associated with the object. Gets the collection of content control objects in the paragraph. The value can be 'left', 'centered', 'right', or 'justified'. Gets or sets the alignment for a paragraph.