Class DataConvertUtil
java.lang.Object
io.keikai.doc.io.schema.pdf.utils.DataConvertUtil
Internal Use Only.
Utility class to convert data.
- Author:
- jamson
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatRepresents the vertical offset of the component.static final floatRepresents the not defined character font size ratio.Represents the before and after margin ratio of the paragraph.static final floatRepresents the strike-through y offset font size ratio.static final floatRepresents the strike-through width font size ratio.static final floatRepresents subscript y offset font size ratio.static final floatRepresents superscript and subscript font size ratio.static final floatRepresents superscript y offset font size ratio.static final floatRepresents the after spacing ratio of pdf text.static final floatRepresents the background color offset ratio of pdf text.static final floatRepresents the underline after spacing ratio.static final floatRepresents the underline width font size ratio. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NOTDEF_FS_RATIO
public static final float NOTDEF_FS_RATIORepresents the not defined character font size ratio.- See Also:
-
TEXT_AFTER_SPACING
public static final float TEXT_AFTER_SPACINGRepresents the after spacing ratio of pdf text.- See Also:
-
TEXT_BG_COLOR_OFFSET
public static final float TEXT_BG_COLOR_OFFSETRepresents the background color offset ratio of pdf text.- See Also:
-
SUP_AND_SUB_FS_RATIO
public static final float SUP_AND_SUB_FS_RATIORepresents superscript and subscript font size ratio.- See Also:
-
SUP_OFFSET_FS_RATIO
public static final float SUP_OFFSET_FS_RATIORepresents superscript y offset font size ratio.- See Also:
-
SUB_OFFSET_FS_RATIO
public static final float SUB_OFFSET_FS_RATIORepresents subscript y offset font size ratio.- See Also:
-
ST_OFFSET_FS_RATIO
public static final float ST_OFFSET_FS_RATIORepresents the strike-through y offset font size ratio.- See Also:
-
ST_WIDTH_FS_RATIO
public static final float ST_WIDTH_FS_RATIORepresents the strike-through width font size ratio.- See Also:
-
U_WIDTH_FS_RATIO
public static final float U_WIDTH_FS_RATIORepresents the underline width font size ratio.- See Also:
-
U_AFTER_SPACING
public static final float U_AFTER_SPACINGRepresents the underline after spacing ratio.- See Also:
-
COMP_VERTICAL_OFFSET
public static final float COMP_VERTICAL_OFFSETRepresents the vertical offset of the component.- See Also:
-
P_TYPE_MARGIN_RATIO
public static final Map<io.keikai.doc.api.impl.node.style.ParagraphStyle.Type,Float> P_TYPE_MARGIN_RATIORepresents the before and after margin ratio of the paragraph.Different types of paragraph have different before and after margin ratio, multiply it with the font size to get the REAL before and after margin.
-
-
Constructor Details
-
DataConvertUtil
public DataConvertUtil()
-