|
|
@@ -137,7 +137,7 @@ export interface IPageCellObj {
|
|
|
}
|
|
|
export interface ICell {
|
|
|
font: string | IFontSubCollection;
|
|
|
- control: IControlSubCollection|string;
|
|
|
+ control: IControlSubCollection | string;
|
|
|
style: string;
|
|
|
Value: number | string | null;
|
|
|
area: IPosition;
|
|
|
@@ -153,8 +153,19 @@ export interface IStyleCollection {
|
|
|
Default_Normal: IPositionExtent;
|
|
|
Label_Topline: IPositionExtent;
|
|
|
Label_Underline: IPositionExtent;
|
|
|
- [key:string]:IPositionExtent;
|
|
|
+ [key: string]: IPositionExtent;
|
|
|
}
|
|
|
+
|
|
|
+export interface IPreviewPageItem {
|
|
|
+ page_seq: number;
|
|
|
+ cells: ICell[];
|
|
|
+ page_merge_border: IPosition;
|
|
|
+ page_merge_pos: {
|
|
|
+ 纸张宽高: number[]
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
export interface IPreviewPage {
|
|
|
打印页面_信息: {
|
|
|
报表名称: string;
|
|
|
@@ -163,18 +174,9 @@ export interface IPreviewPage {
|
|
|
};
|
|
|
control_collection: IControlCollection;
|
|
|
font_collection: IFontCollection;
|
|
|
- items: [
|
|
|
- {
|
|
|
- page_seq: number;
|
|
|
- cells: ICell[];
|
|
|
- page_merge_border: IPosition;
|
|
|
- page_merge_pos:{
|
|
|
- 纸张宽高:number[]
|
|
|
- }
|
|
|
- }
|
|
|
- ];
|
|
|
+ items: IPreviewPageItem[];
|
|
|
MergeBand: IMergeBand;
|
|
|
- style_collection:IStyleCollection;
|
|
|
+ style_collection: IStyleCollection;
|
|
|
pageBreaks?: any[];
|
|
|
}
|
|
|
|
|
|
@@ -211,7 +213,7 @@ export interface ITargetFields {
|
|
|
从数据指标_拓展集合: ITargetDataSet;
|
|
|
离散指标_集合: ITargetDataSet;
|
|
|
无映射离散指标_集合: ITargetDataSet;
|
|
|
- [key:string]:ITargetDataSet;
|
|
|
+ [key: string]: ITargetDataSet;
|
|
|
}
|
|
|
|
|
|
interface IOutputAsPreviewPage {
|
|
|
@@ -364,24 +366,24 @@ export interface ICustomizeCfg {
|
|
|
isNarrow: boolean;
|
|
|
margins: IPosition;
|
|
|
showVerticalLine: boolean;
|
|
|
- userID?:string
|
|
|
+ userID?: string
|
|
|
}
|
|
|
export interface IOrgBandDetail {
|
|
|
Alignment: string;
|
|
|
- DisplayType: string;
|
|
|
- Height: string;
|
|
|
- MergeBorder: string;
|
|
|
- Name: string;
|
|
|
+ DisplayType: string;
|
|
|
+ Height: string;
|
|
|
+ MergeBorder: string;
|
|
|
+ Name: string;
|
|
|
control: string;
|
|
|
- style: string;
|
|
|
- Width?:string;
|
|
|
- CalculationType:string;
|
|
|
- normalOnly?:boolean;
|
|
|
- exOnly?:boolean;
|
|
|
- band_s?:IOrgBandDetail[]
|
|
|
+ style: string;
|
|
|
+ Width?: string;
|
|
|
+ CalculationType: string;
|
|
|
+ normalOnly?: boolean;
|
|
|
+ exOnly?: boolean;
|
|
|
+ band_s?: IOrgBandDetail[]
|
|
|
}
|
|
|
|
|
|
-export interface IBandDetail{
|
|
|
+export interface IBandDetail {
|
|
|
Alignment: number;
|
|
|
Bottom: number;
|
|
|
CalculationType: number;
|
|
|
@@ -593,16 +595,16 @@ export interface IRstPage {
|
|
|
}
|
|
|
|
|
|
export interface IMergeBand {
|
|
|
- Bottom:number;
|
|
|
- Left:number;
|
|
|
- Right:number;
|
|
|
- Top:number;
|
|
|
+ Bottom: number;
|
|
|
+ Left: number;
|
|
|
+ Right: number;
|
|
|
+ Top: number;
|
|
|
style?: any;
|
|
|
}
|
|
|
//丢失的interface
|
|
|
-export interface IPretreatment{
|
|
|
+export interface IPretreatment {
|
|
|
[key: string]: any;
|
|
|
}
|
|
|
-export interface ISubFilters{
|
|
|
+export interface ISubFilters {
|
|
|
[key: string]: any;
|
|
|
}
|