报告XP.ReportEngine基础类设计和接口开发。
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace XP.ReportEngine.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 排版后的页面 | Laid-out page
|
||||
/// </summary>
|
||||
public class LayoutPage
|
||||
{
|
||||
public int PageNumber { get; set; }
|
||||
public List<LayoutElement> Elements { get; set; } = new();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 排版后的元素(含计算后的绝对坐标)| Laid-out element with computed absolute coordinates
|
||||
/// </summary>
|
||||
public class LayoutElement
|
||||
{
|
||||
public TemplateElement Source { get; set; }
|
||||
public float X { get; set; }
|
||||
public float Y { get; set; }
|
||||
public float Width { get; set; }
|
||||
public float Height { get; set; }
|
||||
public StyleDefinition ResolvedStyle { get; set; }
|
||||
public string ResolvedContent { get; set; }
|
||||
public List<Dictionary<string, object>> ResolvedTableData { get; set; }
|
||||
public ImageData ResolvedImage { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user