30 lines
950 B
C#
30 lines
950 B
C#
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; }
|
|
}
|
|
}
|