20 lines
679 B
C#
20 lines
679 B
C#
using System.Collections.Generic;
|
|
using XP.ReportEngine.Models;
|
|
|
|
namespace XP.ReportEngine.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// 排版引擎接口 | Layout engine interface
|
|
/// </summary>
|
|
public interface ILayoutEngine
|
|
{
|
|
/// <summary>
|
|
/// 计算页面布局 | Calculate page layout
|
|
/// </summary>
|
|
/// <param name="template">绑定后的模板 | Bound template</param>
|
|
/// <param name="options">生成选项 | Generation options</param>
|
|
/// <returns>排版后的页面列表 | List of laid-out pages</returns>
|
|
List<LayoutPage> CalculateLayout(ReportTemplate template, ReportGenerationOptions options);
|
|
}
|
|
}
|