Add QExcell XLSX page setup support
This commit is contained in:
@@ -3,6 +3,9 @@ export type AppId = "word" | "sheets" | "slides" | "mail";
|
||||
export type WordPageSizeId = "a4" | "letter";
|
||||
export type WordPageOrientation = "portrait" | "landscape";
|
||||
export type WordPageMarginPreset = "normal" | "narrow" | "wide";
|
||||
export type SheetPageSizeId = "a4" | "letter";
|
||||
export type SheetPageOrientation = "portrait" | "landscape";
|
||||
export type SheetPageMarginPreset = "normal" | "narrow" | "wide";
|
||||
|
||||
export interface WordPageSetup {
|
||||
size: WordPageSizeId;
|
||||
@@ -10,6 +13,12 @@ export interface WordPageSetup {
|
||||
marginPreset: WordPageMarginPreset;
|
||||
}
|
||||
|
||||
export interface SheetPageSetup {
|
||||
size: SheetPageSizeId;
|
||||
orientation: SheetPageOrientation;
|
||||
marginPreset: SheetPageMarginPreset;
|
||||
}
|
||||
|
||||
export interface WordDocument {
|
||||
id: string;
|
||||
title: string;
|
||||
@@ -40,6 +49,7 @@ export interface Sheet {
|
||||
showGridLines?: boolean;
|
||||
zoomScale?: number;
|
||||
printArea?: string;
|
||||
pageSetup?: SheetPageSetup;
|
||||
cells: Record<string, string>;
|
||||
mergedCells?: MergedCellRange[];
|
||||
hyperlinks?: Record<string, string>;
|
||||
|
||||
Reference in New Issue
Block a user