Function MockWorkspaceDocumentSection
- MockWorkspaceDocumentSection(overrides?): DeviceApi.DocumentSection
Parameters
Optional
overrides: {
colSpan?: ColSpan;
id?: string;
metadata?: {
backgroundColor?: string;
itemSlug?: string;
kioskMode?: boolean;
linkToDocumentView?: boolean;
mobileItemSlug?: string;
padding?: {
bottom?: number;
left?: number;
right?: number;
top?: number;
};
pagingControls?: PagingControlsType;
pdfPageDropShadow?: boolean;
pdfPagingMode?: DocumentSectionPdfPagingMode;
showZoomControls?: boolean;
startPage?: number;
title?: string;
titleStyle?: {
align?: "left" | "right" | "center";
backgroundColor?: string;
borderThickness?: "thin" | "medium" | "thick";
corner?: "rounded" | "straight";
fontColor?: string;
fontFamily?: string;
fontSize?: string;
fontVariant?: string;
style?: "solid" | "border" | "bottom-border";
};
topBarStyle?: "none" | "full" | "pageButtonsOnly";
};
offset?: number;
type?: "document";
}Optional
colSpan?: ColSpan
Optional
id?: string
Optional
metadata?: {
backgroundColor?: string;
itemSlug?: string;
kioskMode?: boolean;
linkToDocumentView?: boolean;
mobileItemSlug?: string;
padding?: {
bottom?: number;
left?: number;
right?: number;
top?: number;
};
pagingControls?: PagingControlsType;
pdfPageDropShadow?: boolean;
pdfPagingMode?: DocumentSectionPdfPagingMode;
showZoomControls?: boolean;
startPage?: number;
title?: string;
titleStyle?: {
align?: "left" | "right" | "center";
backgroundColor?: string;
borderThickness?: "thin" | "medium" | "thick";
corner?: "rounded" | "straight";
fontColor?: string;
fontFamily?: string;
fontSize?: string;
fontVariant?: string;
style?: "solid" | "border" | "bottom-border";
};
topBarStyle?: "none" | "full" | "pageButtonsOnly";
}
Optional
backgroundColor?: string
Optional
itemSlug?: string
Optional
kioskMode?: boolean
Optional
linkToDocumentView?: boolean
Optional
mobileItemSlug?: string
Optional
padding?: {
bottom?: number;
left?: number;
right?: number;
top?: number;
}
Optional
bottom?: number
Optional
left?: number
Optional
right?: number
Optional
top?: number
Optional
pagingControls?: PagingControlsType
Optional
pdfPageDropShadow?: boolean
Optional
pdfPagingMode?: DocumentSectionPdfPagingMode
Optional
showZoomControls?: boolean
Optional
startPage?: number
Optional
title?: string
Optional
titleStyle?: {
align?: "left" | "right" | "center";
backgroundColor?: string;
borderThickness?: "thin" | "medium" | "thick";
corner?: "rounded" | "straight";
fontColor?: string;
fontFamily?: string;
fontSize?: string;
fontVariant?: string;
style?: "solid" | "border" | "bottom-border";
}
Optional
align?: "left" | "right" | "center"
Optional
backgroundColor?: string
Optional
borderThickness?: "thin" | "medium" | "thick"
Optional
corner?: "rounded" | "straight"
Optional
fontColor?: string
Optional
fontFamily?: string
Optional
fontSize?: string
Optional
fontVariant?: string
Optional
style?: "solid" | "border" | "bottom-border"
Optional
topBarStyle?: "none" | "full" | "pageButtonsOnly"
Optional
offset?: number
Optional
type?: "document"
Returns DeviceApi.DocumentSection
PowerPoints will normally advance if you click anywhere on the slide. kioskMode disables that.