Esempio n. 1
0
 public override void Visit(ExportPage page)
 {
     PdfPage = pdfDocument.AddPage();
     xGraphics = XGraphics.FromPdfPage(PdfPage);
     textFormatter  = new XTextFormatter(xGraphics);
     base.Visit(page);
 }
Esempio n. 2
0
 public virtual void Visit(ExportPage page)
 {
     foreach (var element in page.ExportedItems) {
         var ac = element as IAcceptor;
         ac.Accept(this);
     }
 }
		public static FixedPage CreateFixedPage(ExportPage exportPage) {
			var fixedPage = new FixedPage();
			fixedPage.Width = exportPage.Size.ToWpf().Width;
			fixedPage.Height = exportPage.Size.ToWpf().Height;
			fixedPage.Background = new SolidColorBrush(System.Drawing.Color.White.ToWpf());
			return fixedPage;
		}
Esempio n. 4
0
		public override void Visit(ExportPage page){
			fixedPage = FixedDocumentCreator.CreateFixedPage(page);
			FixedPage = fixedPage;
			foreach (var element in page.ExportedItems) {
				AsAcceptor(element).Accept(this);
				fixedPage.Children.Add(sectionCanvas);
			}
		}
Esempio n. 5
0
		public override void Visit(ExportPage page)
		{
			evaluator.AddPageInfo(page.PageInfo);
			base.Visit(page);
		}
Esempio n. 6
0
		ExportContainer CreateContainerForSection(ExportPage parent,Point location ){
			var detail = (ExportContainer)CurrentSection.CreateExportColumn();
			detail.Location = location;
			detail.Parent = parent;
			return detail;
		}
Esempio n. 7
0
 public override void Visit(ExportPage page)
 {
     base.Visit(page);
 }