InlineStory

Overview

InlineStory is a class in Aspose.Words FOSS for Java. Inherits from: CompositeNode<Node>, IInline, IStory.

Base class for inline-level nodes that can contain paragraphs and tables.

Edition status of its 23 listed members (a property and its accessor methods are listed separately, overloads once): 23 not yet exercised by a verified example.

This class declares 12 methods for InlineStory objects in Java programs. Available methods include: ensureMinimum, getFirstParagraph, getFont, getLastParagraph, getParagraphs, getParentParagraph, getStoryType, getTables, isDeleteRevision, isInsertRevision, isMoveFromRevision, isMoveToRevision. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: deleteRevision, firstParagraph, font, insertRevision, lastParagraph, moveFromRevision, and 5 more.

Properties

NameTypeAccessDescription
storyTypeintReadReturns the type of the story.
parentParagraphParagraphReadRetrieves the parent Paragraph of this node.
firstParagraphParagraphReadGets the first paragraph in the story.
lastParagraphParagraphReadGets the last paragraph in the story.
paragraphsParagraphCollectionReadGets a collection of paragraphs that are immediate children of the story.
tablesTableCollectionReadGets a collection of tables that are immediate children of the story.
insertRevisionbooleanReadGets the insert revision.
deleteRevisionbooleanReadGets the delete revision.
moveFromRevisionbooleanReadGets the move from revision.
moveToRevisionbooleanReadGets the move to revision.
fontFontReadProvides access to the font formatting of the anchor character of this object.

Methods

SignatureDescription
getStoryType() → intReturns the type of the story.
getParentParagraph() → ParagraphRetrieves the parent Paragraph of this node.
getFirstParagraph() → ParagraphGets the first paragraph in the story.
getLastParagraph() → ParagraphGets the last paragraph in the story.
getParagraphs() → ParagraphCollectionGets a collection of paragraphs that are immediate children of the story.
getTables() → TableCollectionGets a collection of tables that are immediate children of the story.
isInsertRevision() → booleanReturns true if insert revision is set.
isDeleteRevision() → booleanReturns true if delete revision is set.
isMoveFromRevision() → booleanReturns true if move from revision is set.
isMoveToRevision() → booleanReturns true if move to revision is set.
getFont() → FontProvides access to the font formatting of the anchor character of this object.
ensureMinimum()If the last child is not a paragraph, creates and appends one empty paragraph.

See Also