|
Foxit PDF SDK
|
Public Member Functions | |
| def | GetChar_space () |
| Get the char space. More... | |
| def | GetFont () |
| Get a font used in rich text style. More... | |
| def | GetIs_bold () |
| Get a boolean value which indicates whether to make text bold or not. More... | |
| def | GetIs_italic () |
| Get a boolean value which indicates whether to italicize text or not. More... | |
| def | GetIs_strikethrough () |
| Get a boolean value which indicates whether to cross text out with strike through or not. More... | |
| def | GetIs_underline () |
| Get a boolean value which indicates whether to underline text or not. More... | |
| def | GetMark_style () |
| Get corner mark style. More... | |
| def | GetText_alignment () |
| Get alignment value. More... | |
| def | GetText_color () |
| Get text color. More... | |
| def | GetText_size () |
| Get text size. More... | |
| def | GetWord_space () |
| Get the word space. More... | |
| def | Set (font, text_size, text_alignment, text_color, is_bold, is_italic, is_underline, is_strikethrough, mark_style, char_space, word_space) |
| Set value. More... | |
| def | SetChar_space (value) |
| Set the char space. More... | |
| def | SetFont (value) |
| Set a font used in rich text style. More... | |
| def | SetIs_bold (value) |
| Set a boolean value which indicates whether to make text bold or not. More... | |
| def | SetIs_italic (value) |
| Set a boolean value which indicates whether to italicize text or not. More... | |
| def | SetIs_strikethrough (value) |
| Set a boolean value which indicates whether to cross text out with strike through or not. More... | |
| def | SetIs_underline (value) |
| Set a boolean value which indicates whether to underline text or not. More... | |
| def | SetMark_style (value) |
| Set corner mark style. More... | |
| def | SetText_alignment (value) |
| Set alignment value. More... | |
| def | SetText_color (value) |
| Set text color. More... | |
| def | SetText_size (value) |
| Set text size. More... | |
| def | SetWord_space (value) |
| Set the word space. More... | |
This class represents rich text style data, which is used to specify the style of rich text.
| fsdk.RichTextStyle.GetChar_space | ( | ) |
Get the char space.
| fsdk.RichTextStyle.GetFont | ( | ) |
Get a font used in rich text style.
| fsdk.RichTextStyle.GetIs_bold | ( | ) |
Get a boolean value which indicates whether to make text bold or not.
| fsdk.RichTextStyle.GetIs_italic | ( | ) |
Get a boolean value which indicates whether to italicize text or not.
| fsdk.RichTextStyle.GetIs_strikethrough | ( | ) |
Get a boolean value which indicates whether to cross text out with strike through or not.
| fsdk.RichTextStyle.GetIs_underline | ( | ) |
Get a boolean value which indicates whether to underline text or not.
| fsdk.RichTextStyle.GetMark_style | ( | ) |
Get corner mark style.
| fsdk.RichTextStyle.GetText_alignment | ( | ) |
Get alignment value.
| fsdk.RichTextStyle.GetText_color | ( | ) |
Get text color.
| fsdk.RichTextStyle.GetText_size | ( | ) |
Get text size.
| fsdk.RichTextStyle.GetWord_space | ( | ) |
Get the word space.
| def fsdk.RichTextStyle.Set | ( | font, | |
| text_size, | |||
| text_alignment, | |||
| text_color, | |||
| is_bold, | |||
| is_italic, | |||
| is_underline, | |||
| is_strikethrough, | |||
| mark_style, | |||
| char_space, | |||
| word_space | |||
| ) |
Set value.
| [in] | font | A valid font object. |
| [in] | text_size | Text size. It should not be negative value. 0 means text will not be shown. |
| [in] | text_alignment | Alignment value. Please refer to values starting from fsdk.E_AlignmentLeft and this should be one of these values. |
| [in] | text_color | Text color. Format: 0xRRGGBB. |
| [in] | is_bold | A boolean value which indicates whether to make text bold or not. |
| [in] | is_italic | A boolean value which indicates whether to italicize text or not. |
| [in] | is_underline | A boolean value which indicates whether to underline text or not. |
| [in] | is_strikethrough | A boolean value which indicates whether to cross text out with strike through or not. |
| [in] | mark_style | Corner mark style which can be used to make text as superscript or subscript or not as any kind of corner mark. Please refer to values starting from fsdk.RichTextStyleE_CornerMarkNone and this should be one of these values. |
| [in] | char_space | The char space. It should not be negative value for table generator. It is only used in fsdk.PDFPage.AddText . |
| [in] | word_space | The word space. It should not be negative value for table generator. It is only used in fsdk.PDFPage.AddText . |
| fsdk.RichTextStyle.SetChar_space | ( | value | ) |
Set the char space.
| [in] | value | The char space. It should not be negative value for table generator. It is only used in fsdk.PDFPage.AddText . |
| fsdk.RichTextStyle.SetFont | ( | value | ) |
Set a font used in rich text style.
| [in] | value | A font used in rich text style. It should be a valid font object. |
| fsdk.RichTextStyle.SetIs_bold | ( | value | ) |
Set a boolean value which indicates whether to make text bold or not.
| [in] | value | A boolean value which indicates whether to make text bold or not. |
| fsdk.RichTextStyle.SetIs_italic | ( | value | ) |
Set a boolean value which indicates whether to italicize text or not.
| [in] | value | A boolean value which indicates whether to italicize text or not. |
| fsdk.RichTextStyle.SetIs_strikethrough | ( | value | ) |
Set a boolean value which indicates whether to cross text out with strike through or not.
| [in] | value | A boolean value which indicates whether to cross text out with strike through or not. |
| fsdk.RichTextStyle.SetIs_underline | ( | value | ) |
Set a boolean value which indicates whether to underline text or not.
| [in] | value | A boolean value which indicates whether to underline text or not. |
| fsdk.RichTextStyle.SetMark_style | ( | value | ) |
Set corner mark style.
| [in] | value | Corner mark style. Corner mark style which can be used to make text as superscript or subscript or not as any kind of corner mark. Please refer to values starting from fsdk.RichTextStyleE_CornerMarkNone and this should be one of these values. |
| fsdk.RichTextStyle.SetText_alignment | ( | value | ) |
Set alignment value.
| [in] | value | Alignment value. Please refer to values starting from fsdk.E_AlignmentLeft and this should be one of these values. |
| fsdk.RichTextStyle.SetText_color | ( | value | ) |
Set text color.
| [in] | value | Text color. Format: 0xRRGGBB. |
| fsdk.RichTextStyle.SetText_size | ( | value | ) |
Set text size.
| [in] | value | Text size. It should not be negative value. 0 means text will not be shown. |
| fsdk.RichTextStyle.SetWord_space | ( | value | ) |
Set the word space.
| [in] | value | The word space. It should not be negative value for table generator. It is only used in fsdk.PDFPage.AddText . |