Paragraphs within list items has different font settings than defined in the StyleSheet:
<
d:StyleDefinition
DisplayName
=
"Document Default Style"
IsCustom
=
"False"
IsDefault
=
"True"
IsPrimary
=
"True"
Name
=
"defaultDocumentStyle"
Type
=
"Default"
>
<
d:StyleDefinition.ParagraphStyle
>
<
d:ParagraphProperties
FirstLineIndent
=
"0"
LeftIndent
=
"0"
LineSpacing
=
"1.15"
LineSpacingType
=
"AtLeast"
RightIndent
=
"0"
SpacingAfter
=
"0"
SpacingBefore
=
"0"
TextAlignment
=
"Justify"
/>
</
d:StyleDefinition.ParagraphStyle
>
<
d:StyleDefinition.SpanStyle
>
<
d:SpanProperties
FlowDirection
=
"LeftToRight"
FontFamily
=
"Times New Roman"
FontSize
=
"14.6666669845581"
ForeColor
=
"#FF000000"
ThemeFontFamily
=
"minor"
/>
</
d:StyleDefinition.SpanStyle
>
</
d:StyleDefinition
>
When I trying to export document with HtmlFormatProvider, it sets properties for paragraph inside <li> as:
p { margin-bottom: 12px;line-height: 1.15; }
body { font-family: 'Verdana';font-size: 16px; }
.p_23A62C69 { telerik-style-type: local;margin-right: 0px;margin-left: 24px;text-indent: 0px;font-family: 'Verdana';font-size: 16px;color: #000000; }
.li_796E334F { telerik-style-type: local;margin-left: 24px;text-indent: 0px;font-family: 'Lucida Sans Unicode';font-size: 14.6666669845581px;color: #000000; }
And it different from desired 11pt "Times New Roman". How to set it by default for entire StyleSheet? With all margins as 0 for Paragraph.
Maybe you have an example of correct StyleSheet? Existing demo isn't helpfull. I use manual StyleSheet definition, which applies by default to all RadRichTextBoxes in my application...