|
|
|
|
@ -1005,7 +1005,7 @@ export class Draw {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public getValue(options: IGetValueOption = {}): IEditorResult {
|
|
|
|
|
const { pageNo } = options
|
|
|
|
|
const { pageNo, extraPickAttrs } = options
|
|
|
|
|
let mainElementList = this.elementList
|
|
|
|
|
if (
|
|
|
|
|
Number.isInteger(pageNo) &&
|
|
|
|
|
@ -1017,9 +1017,15 @@ export class Draw {
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
const data: IEditorData = {
|
|
|
|
|
header: zipElementList(this.getHeaderElementList()),
|
|
|
|
|
main: zipElementList(mainElementList),
|
|
|
|
|
footer: zipElementList(this.getFooterElementList())
|
|
|
|
|
header: zipElementList(this.getHeaderElementList(), {
|
|
|
|
|
extraPickAttrs
|
|
|
|
|
}),
|
|
|
|
|
main: zipElementList(mainElementList, {
|
|
|
|
|
extraPickAttrs
|
|
|
|
|
}),
|
|
|
|
|
footer: zipElementList(this.getFooterElementList(), {
|
|
|
|
|
extraPickAttrs
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
return {
|
|
|
|
|
version,
|
|
|
|
|
|