Skip to content

Instantly share code, notes, and snippets.

@bakulev
Created November 19, 2018 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bakulev/614a665241cc4fd69409e1ab3e03a9ba to your computer and use it in GitHub Desktop.
Save bakulev/614a665241cc4fd69409e1ab3e03a9ba to your computer and use it in GitHub Desktop.
Example of FlowDocumet
<Section xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xml:space="preserve" TextAlignment="Left" LineHeight="Auto" IsHyphenationEnabled="False" xml:lang="en-us" FlowDirection="LeftToRight" NumberSubstitution.CultureSource="Text" NumberSubstitution.Substitution="AsCulture" FontFamily="Segoe UI" FontStyle="Normal" FontWeight="Normal" FontStretch="Normal" FontSize="12" Foreground="#FF000000" Typography.StandardLigatures="True" Typography.ContextualLigatures="True" Typography.DiscretionaryLigatures="False" Typography.HistoricalLigatures="False" Typography.AnnotationAlternates="0" Typography.ContextualAlternates="True" Typography.HistoricalForms="False" Typography.Kerning="True" Typography.CapitalSpacing="False" Typography.CaseSensitiveForms="False" Typography.StylisticSet1="False" Typography.StylisticSet2="False" Typography.StylisticSet3="False" Typography.StylisticSet4="False" Typography.StylisticSet5="False" Typography.StylisticSet6="False" Typography.StylisticSet7="False" Typography.StylisticSet8="False" Typography.StylisticSet9="False" Typography.StylisticSet10="False" Typography.StylisticSet11="False" Typography.StylisticSet12="False" Typography.StylisticSet13="False" Typography.StylisticSet14="False" Typography.StylisticSet15="False" Typography.StylisticSet16="False" Typography.StylisticSet17="False" Typography.StylisticSet18="False" Typography.StylisticSet19="False" Typography.StylisticSet20="False" Typography.Fraction="Normal" Typography.SlashedZero="False" Typography.MathematicalGreek="False" Typography.EastAsianExpertForms="False" Typography.Variants="Normal" Typography.Capitals="Normal" Typography.NumeralStyle="Normal" Typography.NumeralAlignment="Normal" Typography.EastAsianWidths="Normal" Typography.EastAsianLanguage="Normal" Typography.StandardSwashes="0" Typography.ContextualSwashes="0" Typography.StylisticAlternates="0"><Paragraph TextAlignment="Center" FontStyle="Italic" FontWeight="Bold" FontSize="29.333333333333332" Margin="0,0,0,0"><Span FontFamily="Georgia" Foreground="#FF606060"><Run>Alice's Adventures</Run></Span></Paragraph><Paragraph TextAlignment="Center" FontStyle="Italic" FontWeight="Bold" FontSize="29.333333333333332" Margin="0,0,0,0"><Span FontFamily="Georgia" Foreground="#FF606060"><Run>In Wonderland</Run></Span></Paragraph><Paragraph FontSize="16" Margin="0,0,0,0"></Paragraph><Paragraph TextAlignment="Right" FontSize="16" Margin="0,0,0,0"><Span FontFamily="Georgia" FontStyle="Italic" Foreground="#FF909090"><Run>By Lewis Carroll</Run></Span></Paragraph><Paragraph TextAlignment="Right" FontSize="16" Margin="0,0,0,0"></Paragraph><Paragraph TextAlignment="Center" FontStyle="Italic" FontSize="22.666666666666664" Margin="0,0,0,0"><Run> </Run></Paragraph><Paragraph TextAlignment="Center" FontFamily="Times New Roman" FontSize="13.333333333333332" Margin="0,0,0,0"><Span FontStyle="Italic" FontSize="22.666666666666664" Foreground="#FF606060"><Run>Chapter I. Down the Rabbit-Hole</Run></Span></Paragraph><Paragraph TextAlignment="Center" FontSize="16" Margin="0,0,0,0"></Paragraph><Paragraph TextAlignment="Justify" FontFamily="Times New Roman" FontSize="18.666666666666664" Margin="0,0,0,0"><Span FontFamily="Segoe UI" FontSize="16"><Run> </Run></Span><Span><Run>Alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, `and what is the use of a book,' thought Alice `without pictures or conversation?'</Run></Span></Paragraph><Paragraph TextAlignment="Justify" FontSize="15.333333333333332" Margin="0,0,0,0"><Span FontFamily="Times New Roman" FontSize="18.666666666666664"><Run> So she was considering in her own mind (as well as she could, for the hot day made her feel very sleepy and stupid), whether the pleasure of making a daisy- chain would be worth the trouble of getting up and picking the daisies, when suddenly a white Rabbit with pink eyes ran close by her.</Run></Span></Paragraph><Paragraph TextAlignment="Center" FontSize="16" Margin="0,0,0,0"><Run> </Run></Paragraph><Paragraph TextAlignment="Justify" FontFamily="Times New Roman" FontSize="18.666666666666664" Margin="0,0,0,0"><Span FontFamily="Segoe UI" FontSize="16"><Run> </Run></Span><Span><Run>There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself, `Oh dear! Oh dear! I shall be late!' (when she thought it over afterwards, it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but when the Rabbit actually took a watch out of its waistcoat- pocket, and looked at it, and then hurried on, Alice started to her feet, for it flashed across her mind that she had never before seen a rabbit with either a waistcoat-pocket, or a watch to take out of it, and burning with curiosity, she ran across the field after it, and fortunately was just in time to see it pop down a large rabbit-hole under the hedge.</Run></Span></Paragraph><Paragraph TextAlignment="Justify" FontFamily="Times New Roman" FontSize="18.666666666666664" Margin="0,0,0,0"><Span><Run> In another moment down went Alice after it, never once considering how in the world she was to get out again. The rabbit-hole went straight on like a tunnel for some way, and then dipped suddenly down, so suddenly that Alice had not a moment to think about stopping herself before she found herself falling down a very deep well.</Run></Span></Paragraph><Paragraph TextAlignment="Justify" FontFamily="Times New Roman" FontSize="18.666666666666664" Margin="0,0,0,0"><Span><Run> Either the well was very deep, or she fell very slowly, for she had plenty of time as she went down to look about her and to wonder what was going to happen next. First, she tried to look down and make out what she was coming to, but it was too dark to see anything; then she looked at the sides of the well, and noticed that they were filled with cupboards and book-shelves; here and there she saw maps and pictures hung upon pegs. She took down a jar from one of the shelves as she passed; it was labelled `ORANGE MARMALADE', but to her great disappointment it was empty: she did not like to drop the jar for fear of killing somebody, so managed to put it into one of the cupboards as she fell past it.</Run></Span></Paragraph><Paragraph TextAlignment="Justify" FontFamily="Times New Roman" FontSize="18.666666666666664" Margin="0,0,0,0"><Span><Run> `Well!' thought Alice to herself, `after such a fall as this, I shall think nothing of tumbling down stairs! How brave they'll all think me at home! Why, I wouldn't say anything about it, even if I fell off the top of the house!' (Which was very likely true.)</Run></Span></Paragraph><Paragraph TextAlignment="Justify" FontFamily="Times New Roman" FontSize="18.666666666666664" Margin="0,0,0,0"></Paragraph></Section>
@bakulev
Copy link
Author

bakulev commented Apr 7, 2020

This data are reply for question about RichTextDocument

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment