WordProcessingSection
Inheritance: java.lang.Object, com.groupdocs.watermark.contents.ContentPart
public class WordProcessingSection extends ContentPart
Represents a Word document section.
Methods
Method | Description |
---|---|
getPageSetup() | Gets the printing page setup for this [WordProcessingSection](../../com.groupdocs.watermark.contents/wordprocessingsection) . |
getHeadersFooters() | Gets the collection of all headers and footers of this [WordProcessingSection](../../com.groupdocs.watermark.contents/wordprocessingsection) . |
getShapes() | Gets the collection of all shapes contained in this [WordProcessingSection](../../com.groupdocs.watermark.contents/wordprocessingsection) . |
getAsposeWordsSection() | |
getSearchWatermarksInParts() | |
getContent() | |
addWatermark(Watermark watermark, WordProcessingShapeSettings shapeSettings, IWordProcessingWatermarkEffects effects) | |
getSectionIndex() |
getPageSetup()
public final WordProcessingPageSetup getPageSetup()
Gets the printing page setup for this [WordProcessingSection](../../com.groupdocs.watermark.contents/wordprocessingsection)
.
Returns:
WordProcessingPageSetup - The printing page setup for this [WordProcessingSection](../../com.groupdocs.watermark.contents/wordprocessingsection)
.
getHeadersFooters()
public final WordProcessingHeaderFooterCollection getHeadersFooters()
Gets the collection of all headers and footers of this [WordProcessingSection](../../com.groupdocs.watermark.contents/wordprocessingsection)
.
Returns:
WordProcessingHeaderFooterCollection - The collection of all headers and footers of this [WordProcessingSection](../../com.groupdocs.watermark.contents/wordprocessingsection)
.
getShapes()
public final WordProcessingShapeCollection getShapes()
Gets the collection of all shapes contained in this [WordProcessingSection](../../com.groupdocs.watermark.contents/wordprocessingsection)
.
Returns:
WordProcessingShapeCollection - The collection of all shapes contained in this [WordProcessingSection](../../com.groupdocs.watermark.contents/wordprocessingsection)
.
getAsposeWordsSection()
public final Section getAsposeWordsSection()
Returns: com.aspose.words.Section
getSearchWatermarksInParts()
public boolean getSearchWatermarksInParts()
Returns: boolean
getContent()
public final WordProcessingContent getContent()
Returns: WordProcessingContent
addWatermark(Watermark watermark, WordProcessingShapeSettings shapeSettings, IWordProcessingWatermarkEffects effects)
public final void addWatermark(Watermark watermark, WordProcessingShapeSettings shapeSettings, IWordProcessingWatermarkEffects effects)
Parameters:
Parameter | Type | Description |
---|---|---|
watermark | Watermark | |
shapeSettings | WordProcessingShapeSettings | |
effects | IWordProcessingWatermarkEffects |
getSectionIndex()
public final int getSectionIndex()
Returns: int