I'm trying to extend the Span styles to add a DoubleStrikethrough. I've added and hooked up a DoubleStrikethroughToggleCommand and it fires when I executes. Unfortunately the style takes affect on the entire paragraph. I've narrowed this down to the RadDocument.MergeSpansWithSameStyle which calls:
This method is virtual, but I can find anyway to hook into it so that I can extend the inform the Merge function that these spans should be seperated.
public
virtual
bool
HasSameStyle(Span other);
This method is virtual, but I can find anyway to hook into it so that I can extend the inform the Merge function that these spans should be seperated.
5 Answers, 1 is accepted
0
Hi Ben,
Kind regards,
Vesko
the Telerik team
Unfortunately the RadRichTextBox doesn't support double strikethrough. However in Q3 we will provide support for different kind of strikethrough as well as the ability for adding custom one.
I just want to ask you to give us some further details about the scenario which requires such features? This could help us for planning the API extensions in next version.
Kind regards,
Vesko
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Ben
Top achievements
Rank 1
answered on 09 Aug 2010, 05:57 PM
We have written a custom XML document that we use to process PDFs. This XML spec has support for the following character styles and we are hoping to use the RadRichTextBox to implement them.
- Bold
- Italic
- Underline
- Strikethrough
- Superscript
- Subscript
- Double Underline
- Small Caps
- Double Strikethrough
- Highlight
We've already written our own custom DocumentFormatter for this. Please let me know if there is any additional information that I can provide.
0
Hi Ben,
Thanks for the additional details.
We will consider adding the enhanced strike-through feature shortly after SP1 so that it could do the work for you.
Please let me know if you have any further questions.
Kind regards,
Vesko
the Telerik team
Thanks for the additional details.
We will consider adding the enhanced strike-through feature shortly after SP1 so that it could do the work for you.
Please let me know if you have any further questions.
Kind regards,
Vesko
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Ben
Top achievements
Rank 1
answered on 12 Aug 2010, 02:13 PM
Can you look into supporting SmallCap as well?
0
Hi Ben,
I am adding this feature in our to-do list, but for now there is no specific timeline as when it will be available.
Please let us know if you have any other suggestions or ideas.
Greetings,
Boby
the Telerik team
I am adding this feature in our to-do list, but for now there is no specific timeline as when it will be available.
Please let us know if you have any other suggestions or ideas.
Greetings,
Boby
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items