Questions tagged [flowdocument]

Microsoft's WPF FlowDocument technology allows to render embedded, dynamically adjusted and re-flowing document content that supports columns, pagination and search.

A flow document is designed to "reflow content" depending on window size, device resolution, and other environment variables. Flow content can be complex, consisting of various elements including text, images, tables. In addition, flow documents have a number of built in features including search, viewing modes that optimize readability, and the ability to change the size and appearance of fonts.

571 questions
0
votes
1 answer

Scrolling a FlowDocument inside a TabControl

I have this XAML fragment:
Bent Rasmussen
  • 5,538
  • 9
  • 44
  • 63
0
votes
0 answers

Null Reference Exception when clearing content from flowdocument

I am clearing content from FlowDocument using Dispatcher.The code is in non UI assembly. The code is Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(delegate() { …
Ram
  • 11,404
  • 15
  • 62
  • 93
0
votes
1 answer

WPF FlowDocument GridView

Is it possible to use a GridView in a FlowDocument? I'd need to be able to change the color of the header, perhaps even change the color of alternate rows. I've never used FlowDocuments before, but before jumping in, I need to know if this is…
Carlo
  • 25,602
  • 32
  • 128
  • 176
0
votes
1 answer

Print FlowDocument block on different pages

I am printing a FlowDocument using the following code: PrintDialog dialog = new PrintDialog(); var value = dialog.ShowDialog(); if (value.HasValue && value.Value == true) { XpsDocumentWriter writer =…
Firoz
  • 7,224
  • 10
  • 41
  • 56
0
votes
1 answer

WPF: using RichTextBox / FlowDocument in ToolTip

I would like to use RichTextDocument / Flow document as content of tooltip to get more formatting features in tooltip. But some strange results happen: If use RichTextBox inside tooltip
0
votes
1 answer

padding margin an inline Flowdocument

I'm searching for an option to apply a margin or/and padding to an inline element as Span in Flowdocument. Any ideas?
suizo
  • 531
  • 8
  • 24
0
votes
1 answer

Point at a given Run flow document wpf

I've got a FlowDocumentPageViewer with dynamic content. The flow document is made of paragraphs, each run in the paragraph contains a word. I'm trying to navigate to a given run, so I got the method which will return me the run I want. But once I…
Boris Gougeon
  • 864
  • 2
  • 11
  • 23
0
votes
1 answer

PDFs in a FlowDocument

I have a FlowDocument which is created dynamically (containing several tables). I need to embed PDF documents in this document. Eg: I might have a table, then a couple of PDF documents, then another table. What's the best way to go about this. At…
Echilon
  • 10,064
  • 33
  • 131
  • 217
0
votes
1 answer

Can't get FlowDocument / RichTextBox text

Ia have RichTextBox with content defined as following:
0
votes
2 answers

How to Design a WPF Flow Document

Im making an wpf application and i need to generate reports and then to print them. I am using CodeReason.Reports library but it is very dificult to me to design the reports with out a designer. Any one knows if there exist any Flow Document…
Raúl Otaño
  • 4,640
  • 3
  • 31
  • 65
0
votes
1 answer

WPF RichTextBox/FlowDocument do something on specific text added

I'm attempting to extend a RichTextBox in order to add some functionality, and need the ability to call a function when certain characters are entered. For instance, every time a user enters a ';', I want to call that function. I know that I can add…
Chris Covert
  • 2,684
  • 3
  • 24
  • 31
0
votes
1 answer

WPF FlowDocument layout

I have a FlowDocument in which I need to insert many fragments of dynamic text at arbitrary positions. For example, I need to place text "Hello" at x = 10, y = 15 and text "World" at x = 10, y = 20. I'm currently doing this using Figure. I create a…
jere
  • 4,306
  • 2
  • 27
  • 38
0
votes
1 answer

FlowDocumentReader Document doesn't get notified when bound source changes, why?

So I have this XAML in the .xaml file
0
votes
1 answer

WPF FlowDocument to XPS rendering with text rotation effect

I am rendering XPS using WPF. This is completely dynamic (XAML free). In my code, I have following code to set up text rotation. Private Shared Sub ApplyRotation(style As BoxStyleData, run As TextElement) If style IsNot Nothing Then If…
Ales Ruzicka
  • 2,770
  • 1
  • 18
  • 24
0
votes
1 answer

WPF bug? Applying UnsetValue to the Foreground property in Hyperlinks

I'm currently working on a highlightable richtextbox control in WPF. The user can type some text into a search box and the richtextbox is highlighting the occurences of the searched word. Everything works fine until I have hyperlinks in the…
Zsolt
  • 3,263
  • 3
  • 33
  • 48
1 2 3
37
38