flowdocumentreader

Hide controls in FlowDocumentReader

Is it possible to hide controls at the bottom like zoom slider, page navigation etc in FlowDocumentReader? It seems that only search can be hidden through the IsFindEnabled property. ...

WPF FlowDocumentReader and FlowDocument Screen Reader (NVDA) Acccessibility

I am using a FlowDocumentReader to display FlowDocuments in a .NET 3.5 WPF application (the FlowDocuments have help/info/notes that are displayed based on user choices in the ui). I assumed that the FlowDocumentReader contents would be read/recognized by a Screen Reader (I am testing with NVDA on Windows 7) - but when the reader gets fo...

flowDocumentReader Selection propperty

i have written a code to select a text in flow documet reader and bring it into view docView1.Focus(); docView1.Selection.Select(textRange.Start, textRange.End); docView1.BringIntoView(textRange.Start.GetCharacterRect(LogicalDirection.Forward)); but flowdocumentreader.selection is not supported in .net framework 3....

Bookmarking WPF's FlowDocumentReader

I'm trying to save and restore the position of the document within a FlowDocumentReader to create a bookmark feature. There doesn't appear to be any seeking or search feature build in that is publicly accessible, leaving me with the following options: Use FlowDocumentPageViewer instead, saving the page each time the window is resized a...

How can I add multiple FlowDocumentReaders to a StackPanel?

Thanks to Leom's answer I was able to add a FlowDocument to a StackPanel by wrapping it in a FlowDocumentReader. But now I have two problems: it seems only the first FlowDocumentReader is added and the rest ignored there is an unwanted margin that I can't get rid of How can I add multiple FlowDocumentReaders to a StackPanel without ...

Problem with empty line in FlowDocument with Figure in WPF

I put this content as Document in FlowDocumentReader. FlowDocument flDoc = new FlowDocument(); flDoc.ColumnGap = 10; flDoc.ColumnWidth = 130; flDoc.TextAlignment = TextAlignment.Justify; flDoc.IsOptimalParagraphEnabled = true; flDoc.IsHyphenationEnabled = true; flDoc.IsColumnWidthFlexible = true; Paragraph par = new Paragraph(); par....

FlowDocumentReader not Routing Find Command

I have a FlowDocumentReader in my application. The containing window has registered its interest in the ApplicationCommands.Find command. When I have focus on any part of the window the Find command works correctly when executing using the Ctrl+F key combination. When I have focus on the FlowDocumentReader the command never gets routed...

WPF: Table inside FlowDocument truncates right-most columns, why?

I have a Table with 4 columns inside a FlowDocument. I've set the width of the columns but when viewed in FlowDocumentReader, when in Page Mode or 2 Page Mode, the right most column is truncated. <FlowDocument > <Table BorderBrush="Black" BorderThickness="1"> <Table.Columns> <TableColumn Background="Red" Width="120" /> ...

Still Confused About How To Detect FlowDocument Change and Scroll

I read through the following article: http://stackoverflow.com/questions/1655208/detect-flowdocument-change-and-scroll I have a FlowDocumentReader, not a FlowDocumentScrollViewer, with its ViewingMode set to Scroll. I still cannot figure out how to automatically scroll my FlowDocumentReader to the bottom when content is added to my Flo...

How do I send a NavigationCommand to a control?

Hi, FlowDocumentReader doesn't have a GoToPage method, but it supports NavigationCommands.GoToPage RoutedUICommand. How do I send NavigationCommands.GoToPage with parameter (for example: 1) to my FlowDocumentReader from within my code (not using xaml)? Thanks, Yariv Edited: Thanks! But though I can send the command with your help,...