fonttypehint-ag凯发旗舰厅



com.spire.doc.documents
enum fonttypehint

java.lang.object
  extended by java.lang.enum<fonttypehint>
      extended by com.spire.doc.documents.fonttypehint
all implemented interfaces:
java.lang.comparable<fonttypehint>

public enum fonttypehint
extends java.lang.enum<fonttypehint>

[ms-doc] - 2.6.1 character properties - sprmcidcthint an 8-bit unsigned integer value that specifies which of the language, font, size, bold, and italic properties is to be used for handling the text, in the case where this cannot be derived from the characters themselves. the valid values and their meanings are specified as follows. these meanings correspond to the values of the st_hint type specified in [ecma-376] part 4, section 2.18.47. defines the fonttypehint enumeration.


enum constant summary
complex_script
          - cs use sprmclidbi for language, sprmcftcbi for font, sprmchpsbi for size, sprmcfboldbi for bold, and sprmcfitalicbi for italic.
default
          - default use sprmcrglid0 (or sprmcrglid0_80) for language.
east_asia
          - eastasia use sprmcrglid1 (or sprmcrglid1_80) for language, sprmcrgftc1 for font, sprmchps for size, sprmcfbold for bold, and sprmcfitalic for italic.
none
          - no st_hint equivalent provides no guidance on how to treat ambiguous text.
 
method summary
 int getvalue()
           
 
enum constant detail

default

public static final fonttypehint default
- default use sprmcrglid0 (or sprmcrglid0_80) for language. use sprmcrgftc0 for font if the character is between 0x0020 and 0x007f, inclusive. otherwise, use sprmcrgftc2. use sprmchps for size, sprmcfbold for bold, and sprmcfitalic for italic. high ansi font.

east_asia

public static final fonttypehint east_asia
- eastasia use sprmcrglid1 (or sprmcrglid1_80) for language, sprmcrgftc1 for font, sprmchps for size, sprmcfbold for bold, and sprmcfitalic for italic.

east asian font.


complex_script

public static final fonttypehint complex_script
- cs use sprmclidbi for language, sprmcftcbi for font, sprmchpsbi for size, sprmcfboldbi for bold, and sprmcfitalicbi for italic. complex script font.

none

public static final fonttypehint none
- no st_hint equivalent provides no guidance on how to treat ambiguous text.
method detail

getvalue

public int getvalue()


网站地图