Package com.stimulsoft.report.options
Class ExportOptions.Word
java.lang.Object
com.stimulsoft.report.options.ExportOptions.Word
- Enclosing class:
ExportOptions
Class for adjustment of the Word export of a report.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intGets or sets a value indicating version of the document compatibility mode.static boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanThis value indicates that it is necessary to correct problem with FontSize=11 in embedded RichTexts.static booleanGets or sets a value indicating whether it is necessary to use image comparer.static intA value of bottom margin correctionstatic booleanWhen Word exporting segmented pages will be forcibly broken in order of chosen page format.static booleanGets or sets a value indicating a forcing of line height.static booleanGets or sets a value indicating a line height mode - "exactly" or "at least".static booleanGets or sets a value indicating a line height mode - "exactly" or "at least" for "UsePageHeadersAndFooters" modestatic doublestatic floatstatic booleanGets or sets a value indicating whether it is necessary to remove empty space at the bottom of pagestatic booleanGets or sets a value indicating a Html tags rendering mode.static booleanGets or sets a value indicating a RichText rendering mode.static intGets or sets a value of right margin correctionstatic intGets or sets a value of expansion or compression of the space between characters in twips; a negative value compresses.static booleanWhen exporting big cells will be divided into small cells.static voidsetAllowCorrectFontSize11Problem(boolean allowCorrectFontSize11Problem) static voidsetAllowImageComparer(boolean value) static voidsetBottomMarginCorrection(int bottomMarginCorrection) static voidsetDivideBigCells(boolean divideBigCells) static voidsetDivideSegmentPages(boolean value) static voidsetForceLineHeight(boolean value) static voidsetLineHeightExactly(boolean value) static voidsetLineHeightExactlyForPHFMode(boolean value) static voidsetLineSpacing(float lineSpacing) static voidsetNormalStyleDefaultFontSize(float normalStyleDefaultFontSize) static voidsetRemoveEmptySpaceAtBottom(boolean value) static voidsetRenderHtmlTagsAsImage(boolean value) static voidsetRenderRichTextAsImage(boolean value) static voidsetRightMarginCorrection(int value) static voidsetSpaceBetweenCharacters(int value)
-
Field Details
-
compatibilityModeValue
public static int compatibilityModeValueGets or sets a value indicating version of the document compatibility mode. Actual values: 2007=12, 2010=14, 2013=15, 2016=16. -
RenderHtmlTagsAsEmbeddedRichText
public static boolean RenderHtmlTagsAsEmbeddedRichText
-
-
Constructor Details
-
Word
public Word()
-
-
Method Details
-
getBottomMarginCorrection
public static int getBottomMarginCorrection()A value of bottom margin correction- Returns:
- the bottomMarginCorrection
-
setBottomMarginCorrection
public static void setBottomMarginCorrection(int bottomMarginCorrection) - Parameters:
bottomMarginCorrection- the bottomMarginCorrection to set
-
isDivideBigCells
public static boolean isDivideBigCells()When exporting big cells will be divided into small cells.- Returns:
- the divideBigCells
-
setDivideBigCells
public static void setDivideBigCells(boolean divideBigCells) - Parameters:
divideBigCells- the divideBigCells to set
-
getLineSpacing
public static double getLineSpacing()- Returns:
- the value of line spacing
-
setLineSpacing
public static void setLineSpacing(float lineSpacing) - Parameters:
lineSpacing- the value of line spacing
-
getNormalStyleDefaultFontSize
public static float getNormalStyleDefaultFontSize()- Returns:
- value of default FontSize for the Normal style
-
setNormalStyleDefaultFontSize
public static void setNormalStyleDefaultFontSize(float normalStyleDefaultFontSize) - Parameters:
normalStyleDefaultFontSize- the value of default FontSize for the Normal style
-
getAllowCorrectFontSize11Problem
public static boolean getAllowCorrectFontSize11Problem()This value indicates that it is necessary to correct problem with FontSize=11 in embedded RichTexts. -
setAllowCorrectFontSize11Problem
public static void setAllowCorrectFontSize11Problem(boolean allowCorrectFontSize11Problem) - Parameters:
allowCorrectFontSize11Problem- the allowCorrectFontSize11Problem to set
-
getDivideSegmentPages
public static boolean getDivideSegmentPages()When Word exporting segmented pages will be forcibly broken in order of chosen page format. -
setDivideSegmentPages
public static void setDivideSegmentPages(boolean value) -
getAllowImageComparer
public static boolean getAllowImageComparer()Gets or sets a value indicating whether it is necessary to use image comparer. -
setAllowImageComparer
public static void setAllowImageComparer(boolean value) -
getRemoveEmptySpaceAtBottom
public static boolean getRemoveEmptySpaceAtBottom()Gets or sets a value indicating whether it is necessary to remove empty space at the bottom of page -
setRemoveEmptySpaceAtBottom
public static void setRemoveEmptySpaceAtBottom(boolean value) -
getSpaceBetweenCharacters
public static int getSpaceBetweenCharacters()Gets or sets a value of expansion or compression of the space between characters in twips; a negative value compresses. -
setSpaceBetweenCharacters
public static void setSpaceBetweenCharacters(int value) -
getLineHeightExactly
public static boolean getLineHeightExactly()Gets or sets a value indicating a line height mode - "exactly" or "at least". -
setLineHeightExactly
public static void setLineHeightExactly(boolean value) -
getLineHeightExactlyForPHFMode
public static boolean getLineHeightExactlyForPHFMode()Gets or sets a value indicating a line height mode - "exactly" or "at least" for "UsePageHeadersAndFooters" mode -
setLineHeightExactlyForPHFMode
public static void setLineHeightExactlyForPHFMode(boolean value) -
getForceLineHeight
public static boolean getForceLineHeight()Gets or sets a value indicating a forcing of line height. -
setForceLineHeight
public static void setForceLineHeight(boolean value) -
getRightMarginCorrection
public static int getRightMarginCorrection()Gets or sets a value of right margin correction -
setRightMarginCorrection
public static void setRightMarginCorrection(int value) -
getRenderRichTextAsImage
public static boolean getRenderRichTextAsImage()Gets or sets a value indicating a RichText rendering mode. -
setRenderRichTextAsImage
public static void setRenderRichTextAsImage(boolean value) -
getRenderHtmlTagsAsImage
public static boolean getRenderHtmlTagsAsImage()Gets or sets a value indicating a Html tags rendering mode. -
setRenderHtmlTagsAsImage
public static void setRenderHtmlTagsAsImage(boolean value)
-