Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

xiugai

tonytonychopper123ed6e34ae04f8
diff --git a/examples/univer-sheet-ts/src/main.tsx b/examples/univer-sheet-ts/src/main.tsx
index db22a4e2ad..c175f4b0cc 100644
--- a/examples/univer-sheet-ts/src/main.tsx
+++ b/examples/univer-sheet-ts/src/main.tsx
@@ -44,17 +44,17 @@ const uiDefaultConfigDemo = {
},
};
-const univerSheetDemo = UniverSheet.newInstance(DEFAULT_WORKBOOK_DATA_DEMO);
+// const univerSheetDemo = UniverSheet.newInstance(DEFAULT_WORKBOOK_DATA_DEMO);
// const univerSheetDemo = UniverSheet.newInstance(DEFAULT_WORKBOOK_DATA_DEMO1);
// const univerSheetDemo = UniverSheet.newInstance(DEFAULT_WORKBOOK_DATA_DEMO2);
// const univerSheetDemo = UniverSheet.newInstance(DEFAULT_WORKBOOK_DATA_DEMO3);
-// const univerSheetDemo = UniverSheet.newInstance(DEFAULT_WORKBOOK_DATA_DEMO4);
+const univerSheetDemo = UniverSheet.newInstance(DEFAULT_WORKBOOK_DATA_DEMO4);
univerSheetDemo.installPlugin(new RenderEngine());
univerSheetDemo.installPlugin(new UniverComponentSheet());
univerSheetDemo.installPlugin(new SheetPlugin(uiDefaultConfigDemo));
univerSheetDemo.installPlugin(new BaseComponentPlugin());
univerSheetDemo.installPlugin(new NumfmtPlugin());
-FormulaPlugin.create(DEFAULT_FORMULA_DATA_DEMO).installTo(univerSheetDemo);
+// FormulaPlugin.create(DEFAULT_FORMULA_DATA_DEMO).installTo(univerSheetDemo);
// FormulaPlugin.create(DEFAULT_FORMULA_DATA_DEMO1).installTo(univerSheetDemo);
univerSheetDemo.installPlugin(new ClipboardPlugin());
diff --git a/packages/base-component/src/Components/ColorPicker.ts b/packages/base-component/src/Components/ColorPicker.ts
index a5cbff5947..980504a568 100644
--- a/packages/base-component/src/Components/ColorPicker.ts
+++ b/packages/base-component/src/Components/ColorPicker.ts
@@ -1,5 +1,4 @@
import { BaseComponent, JSXComponent } from '../BaseComponent';
-import { IMainProps } from '../IData';
export interface BaseColorPickerProps {
/**
@@ -29,12 +28,8 @@ export interface BaseColorPickerProps {
*/
className?: string;
- /**
- * slot
- */
- slot?: {
- header?: IMainProps;
- footer?: IMainProps;
+ lang: {
+ [index: string]: string;
};
}
diff --git a/packages/base-render/src/Component/Docs/Block/Paragraph/Layout.Ruler.ts b/packages/base-render/src/Component/Docs/Block/Paragraph/Layout.Ruler.ts
index d52dfcabcc..b13b140c3b 100644
--- a/packages/base-render/src/Component/Docs/Block/Paragraph/Layout.Ruler.ts
+++ b/packages/base-render/src/Component/Docs/Block/Paragraph/Layout.Ruler.ts
@@ -183,6 +183,9 @@ function _lineOperator(
lastPage = getLastPage(pages);
columnInfo = getLastNotFullColumnInfo(lastPage);
}
+ // Todo: demo4导入的时候columnInfo会不存在,先return了
+ if (!columnInfo) return;
+
const column = columnInfo!.column;
const line = getLastLineByColumn(column);
diff --git a/packages/base-sheets/src/Basics/Observer.ts b/packages/base-sheets/src/Basics/Observer.ts
index 3fe1d01f9f..3c87dfa778 100644
--- a/packages/base-sheets/src/Basics/Observer.ts
+++ b/packages/base-sheets/src/Basics/Observer.ts
@@ -8,6 +8,7 @@ import { LineBold } from '../View/UI/Common/Line/LineBold';
import { ModalGroup } from '../View/UI/ModalGroup/ModalGroup';
import { RichText } from '../View/UI/RichText/RichText';
import { CellRangeModal } from '../View/UI/Common/CellRange/CellRangeModal';
+import { ColorSelect } from '../View/UI/Common/ColorSelect/ColorSelect';
interface ISelectionControlFillConfig {}
@@ -51,6 +52,7 @@ export type SheetPluginObserve = {
onLineColorDidMountObservable: Observable<LineColor>;
onLineBoldDidMountObservable: Observable<LineBold>;
+ onColorSelectDidMountObservable: Observable<ColorSelect>;
onSheetContainerDidMountObservable: Observable<SheetContainer>;
onCellRangeModalDidMountObservable: Observable<CellRangeModal>;
@@ -133,6 +135,7 @@ export function install(plugin: Plugin) {
plugin.pushToObserve('onLineColorDidMountObservable');
plugin.pushToObserve('onLineBoldDidMountObservable');
+ plugin.pushToObserve('onColorSelectDidMountObservable');
plugin.pushToObserve('onSheetBarDidMountObservable');
plugin.pushToObserve('onCountBarDidMountObservable');
diff --git a/packages/base-sheets/src/Controller/SheetBarController.ts b/packages/base-sheets/src/Controller/SheetBarController.ts
index c2a4d74cff..71031893c4 100644
--- a/packages/base-sheets/src/Controller/SheetBarController.ts
+++ b/packages/base-sheets/src/Controller/SheetBarController.ts
@@ -247,8 +247,8 @@ class SheetBarUIController {
// });
CommandManager.getActionObservers().add((actionEvent) => {
const action = actionEvent.action as SheetActionBase<any>;
- const worksheet = action.getWorkSheet();
- const actionUnitId = worksheet.getContext().getWorkBook().getUnitId();
+ const workbook = action.getWorkBook();
+ const actionUnitId = workbook.getUnitId();
if (unitId !== actionUnitId) return;
const { data } = actionEvent;
diff --git a/packages/base-sheets/src/Controller/SheetContainerController.ts b/packages/base-sheets/src/Controller/SheetContainerController.ts
index 006ad02bc2..5fb300e999 100644
--- a/packages/base-sheets/src/Controller/SheetContainerController.ts
+++ b/packages/base-sheets/src/Controller/SheetContainerController.ts
@@ -100,14 +100,14 @@ export class SheetContainerController {
if (!plugin) return;
if (!actions || actions.length === 0) return;
const action = actions[0] as SheetActionBase<ISheetActionData, ISheetActionData, void>;
- const worksheet = action.getWorkSheet();
const currentUnitId = plugin.context.getWorkBook().getUnitId();
- const actionUnitId = worksheet.getContext().getWorkBook().getUnitId();
+ const actionUnitId = action.getWorkBook().getUnitId();
if (currentUnitId !== actionUnitId) return;
// Only the currently active worksheet needs to be refreshed
+ const worksheet = action.getWorkBook().getActiveSheet();
if (worksheet.getConfig().status === BooleanNumber.TRUE) {
try {
const canvasView = plugin.getCanvasView();
diff --git a/packages/base-sheets/src/Controller/ToolBarController.ts b/packages/base-sheets/src/Controller/ToolBarController.ts
index 28a3ecf6c1..b3506e374e 100644
--- a/packages/base-sheets/src/Controller/ToolBarController.ts
+++ b/packages/base-sheets/src/Controller/ToolBarController.ts
@@ -1,4 +1,3 @@
-import { BaseComponentRender } from '@univer/base-component';
import { Range, HorizontalAlign, VerticalAlign, WrapStrategy, DEFAULT_STYLES, BorderType } from '@univer/core';
import { ColorPicker } from '@univer/style-universheet';
import { SheetPlugin } from '../SheetPlugin';
@@ -23,6 +22,7 @@ import {
} from '../View/UI/ToolBar/Const';
import { DefaultToolbarConfig } from '../Basics';
import { LineBold } from '../View/UI/Common/Line/LineBold';
+import { ColorSelect } from '../View/UI/Common/ColorSelect/ColorSelect';
interface BorderInfo {
color: string;
@@ -47,7 +47,7 @@ export class ToolBarController {
private _lineBold: LineBold;
- Render: BaseComponentRender;
+ private _colorSelect: ColorSelect[] = [];
private _borderInfo: BorderInfo; //存储边框信息
@@ -272,28 +272,82 @@ export class ToolBarController {
},
},
{
- type: 2,
+ type: 5,
tooltipLocale: 'toolbar.textColor.main',
customLabel: {
- name: 'TextColorIcon',
+ name: pluginName + ColorSelect.name,
+ props: {
+ customLabel: {
+ name: 'TextColorIcon',
+ },
+ id: 'textColor',
+ },
},
+ hideSelectedIcon: true,
+ className: styles.selectColorPickerParent,
+ children: [
+ {
+ customLabel: {
+ name: pluginName + ColorPicker.name,
+ props: {
+ onClick: (color: string, e: MouseEvent) => {
+ const colorSelect = this._colorSelect.find((item) => item.getId() === 'textColor');
+ colorSelect?.setColor(color);
+ this._plugin.getObserver('onAfterChangeFontColorObservable')?.notifyObservers(color);
+ },
+ lang: {
+ collapseLocale: 'colorPicker.collapse',
+ customColorLocale: 'colorPicker.customColor',
+ confirmColorLocale: 'colorPicker.confirmColor',
+ cancelColorLocale: 'colorPicker.cancelColor',
+ changeLocale: 'colorPicker.change',
+ },
+ },
+ },
+ className: styles.selectColorPicker,
+ },
+ ],
name: 'textColor',
show: toolbarConfig.textColor,
- onClick: (color: string) => {
- this._plugin.getObserver('onAfterChangeFontColorObservable')?.notifyObservers(color);
- },
},
{
- type: 2,
+ type: 5,
tooltipLocale: 'toolbar.fillColor.main',
customLabel: {
- name: 'FillColorIcon',
+ name: pluginName + ColorSelect.name,
+ props: {
+ customLabel: {
+ name: 'FillColorIcon',
+ },
+ id: 'fillColor',
+ },
},
+ hideSelectedIcon: true,
+ className: styles.selectColorPickerParent,
+ children: [
+ {
+ customLabel: {
+ name: pluginName + ColorPicker.name,
+ props: {
+ onClick: (color: string, e: MouseEvent) => {
+ const colorSelect = this._colorSelect.find((item) => item.getId() === 'fillColor');
+ colorSelect?.setColor(color);
+ this._plugin.getObserver('onAfterChangeFontBackgroundObservable')?.notifyObservers(color);
+ },
+ lang: {
+ collapseLocale: 'colorPicker.collapse',
+ customColorLocale: 'colorPicker.customColor',
+ confirmColorLocale: 'colorPicker.confirmColor',
+ cancelColorLocale: 'colorPicker.cancelColor',
+ changeLocale: 'colorPicker.change',
+ },
+ },
+ },
+ className: styles.selectColorPicker,
+ },
+ ],
name: 'fillColor',
show: toolbarConfig.fillColor,
- onClick: (color: string) => {
- this._plugin.getObserver('onAfterChangeFontBackgroundObservable')?.notifyObservers(color);
- },
},
{
type: 3,
@@ -322,7 +376,16 @@ export class ToolBarController {
{
customLabel: {
name: pluginName + ColorPicker.name,
- props: { onClick: (color: string, e: MouseEvent) => this.handleLineColor(color, e) },
+ props: {
+ onClick: (color: string, e: MouseEvent) => this.handleLineColor(color, e),
+ lang: {
+ collapseLocale: 'colorPicker.collapse',
+ customColorLocale: 'colorPicker.customColor',
+ confirmColorLocale: 'colorPicker.confirmColor',
+ cancelColorLocale: 'colorPicker.cancelColor',
+ changeLocale: 'colorPicker.change',
+ },
+ },
},
className: styles.selectColorPicker,
onClick: this.handleLineColor,
@@ -486,6 +549,10 @@ export class ToolBarController {
//初始化视图
this._lineBold = component;
});
+ this._plugin.getObserver('onColorSelectDidMountObservable')?.add((component) => {
+ //初始化视图
+ this._colorSelect.push(component);
+ });
this._plugin.context
.getObserverManager()
@@ -536,37 +603,71 @@ export class ToolBarController {
// 注册自定义组件
this._plugin.registerComponent(pluginName + LineColor.name, LineColor);
this._plugin.registerComponent(pluginName + LineBold.name, LineBold);
+ this._plugin.registerComponent(pluginName + ColorSelect.name, ColorSelect);
this._plugin.registerComponent(pluginName + ColorPicker.name, ColorPicker);
}
- resetLocale(toolList: any[]) {
+ resetLabel(label: string[] | string) {
const locale = this._plugin.context.getLocale();
- for (let i = 0; i < toolList.length; i++) {
- const item = toolList[i];
- if (item.tooltipLocale) {
- item.tooltip = locale.get(item.tooltipLocale);
- }
- if (item.locale) {
- item.label = locale.get(item.locale);
- }
- if (item.suffixLocale) {
- item.suffix = locale.get(item.suffixLocale);
+ let str = '';
+
+ if (label instanceof Array) {
+ label.forEach((item) => {
+ if (item.includes('.')) {
+ str += locale.get(item);
+ } else {
+ str += item;
+ }
+ });
+ } else {
+ if (label.includes('.')) {
+ str = locale.get(label);
+ } else {
+ str += label;
}
- if (item.customLabel?.props?.locale) {
- item.customLabel.props.label = locale.get(item.customLabel.props.locale);
+ }
+
+ return str;
+ }
+
+ findLocale(obj: any) {
+ for (let k in obj) {
+ if (k === 'locale') {
+ obj.label = this.resetLabel(obj[k]);
+ } else if (k.endsWith('Locale')) {
+ const index = k.indexOf('Locale');
+ obj[k.slice(0, index)] = this.resetLabel(obj[k]);
+ } else if (!obj[k].$$typeof) {
+ if (Object.prototype.toString.call(obj[k]) === '[object Object]') {
+ this.findLocale(obj[k]);
+ } else if (Object.prototype.toString.call(obj[k]) === '[object Array]') {
+ this.resetToolListLabel(obj[k]);
+ }
}
+ }
+
+ return obj;
+ }
+
+ resetToolListLabel(toolList: IToolBarItemProps[]) {
+ for (let i = 0; i < toolList.length; i++) {
+ let item = toolList[i];
+
+ item = this.findLocale(item);
+
if (item.children) {
- item.children = this.resetLocale(item.children);
+ item.children = this.resetToolListLabel(item.children);
}
}
+
return toolList;
}
resetToolBarList() {
const locale = this._plugin.context.getLocale();
- const toolList = this.resetLocale(this._toolList);
+ const toolList = this.resetToolListLabel(this._toolList);
this._toolBarComponent.setToolBar(toolList, {
more: locale.get(this._moreText.more),
tip: locale.get(this._moreText.tip),
diff --git a/packages/base-sheets/src/SheetPlugin.tsx b/packages/base-sheets/src/SheetPlugin.tsx
index 72a99f40bf..457be86ea9 100644
--- a/packages/base-sheets/src/SheetPlugin.tsx
+++ b/packages/base-sheets/src/SheetPlugin.tsx
@@ -219,7 +219,7 @@ export class SheetPlugin extends Plugin<SheetPluginObserve, SheetContext> {
const currentUnitId = this.getContext().getWorkBook().getUnitId();
const action = actionObs.action as SheetActionBase<ISetNamedRangeActionData, ISetNamedRangeActionData>;
const actionData = action.getDoActionData();
- const actionUnitId = action.getWorkSheet().getContext().getWorkBook().getUnitId();
+ const actionUnitId = action.getWorkBook().getUnitId();
if (currentUnitId !== actionUnitId) return;
diff --git a/packages/base-sheets/src/View/UI/Common/ColorSelect/ColorSelect.tsx b/packages/base-sheets/src/View/UI/Common/ColorSelect/ColorSelect.tsx
new file mode 100644
index 0000000000..4b9c7081e0
--- /dev/null
+++ b/packages/base-sheets/src/View/UI/Common/ColorSelect/ColorSelect.tsx
@@ -0,0 +1,53 @@
+import { Component, ComponentChildren } from '@univer/base-component';
+import { PLUGIN_NAMES } from '@univer/core';
+import { SheetPlugin } from '../../../../SheetPlugin';
+import styles from './index.module.less';
+
+interface IProps {
+ customLabel?: {
+ name: string;
+ props: any;
+ };
+ label?: ComponentChildren;
+ id: string;
+}
+
+interface IState {
+ label: ComponentChildren;
+ color: string;
+}
+
+export class ColorSelect extends Component<IProps, IState> {
+ componentDidMount(): void {
+ this._context.getObserverManager().getObserver<ColorSelect>('onColorSelectDidMountObservable')?.notifyObservers(this);
+ const plugin = this._context.getPluginManager().getPluginByName<SheetPlugin>(PLUGIN_NAMES.SPREADSHEET);
+ let label = this.props.label;
+ if (this.props.customLabel) {
+ const Label = plugin?.getRegisterComponent(this.props.customLabel.name);
+ label = <Label {...this.props.customLabel.props}></Label>;
+ }
+ this.setState({
+ label,
+ color: '#000',
+ });
+ }
+
+ setColor(color: string) {
+ this.setState({
+ color,
+ });
+ }
+
+ getId() {
+ return this.props.id;
+ }
+
+ render() {
+ return (
+ <div className={styles.colorSelect}>
+ <div>{this.state.label}</div>
+ <div className={styles.colorSelectLine} style={{ background: this.state.color }}></div>
+ </div>
+ );
+ }
+}
diff --git a/packages/base-sheets/src/View/UI/Common/ColorSelect/index.module.css b/packages/base-sheets/src/View/UI/Common/ColorSelect/index.module.css
new file mode 100644
index 0000000000..d2777b3979
--- /dev/null
+++ b/packages/base-sheets/src/View/UI/Common/ColorSelect/index.module.css
@@ -0,0 +1,11 @@
+.color-select {
+ position: relative;
+}
+.color-select .color-select-line {
+ position: absolute;
+ width: 15px;
+ height: 5px;
+ bottom: 0px;
+ left: 50%;
+ transform: translate(-50%, 0);
+}
diff --git a/packages/base-sheets/src/View/UI/Common/ColorSelect/index.module.less b/packages/base-sheets/src/View/UI/Common/ColorSelect/index.module.less
new file mode 100644
index 0000000000..41556b46dd
--- /dev/null
+++ b/packages/base-sheets/src/View/UI/Common/ColorSelect/index.module.less
@@ -0,0 +1,12 @@
+.color-select {
+ position: relative;
+
+ .color-select-line {
+ position: absolute;
+ width: 15px;
+ height: 5px;
+ bottom: 0px;
+ left: 50%;
+ transform: translate(-50%, 0);
+ }
+}
\ No newline at end of file
diff --git a/packages/base-sheets/src/View/UI/Common/Item/Item.tsx b/packages/base-sheets/src/View/UI/Common/Item/Item.tsx
index 452f01885e..9cf4971765 100644
--- a/packages/base-sheets/src/View/UI/Common/Item/Item.tsx
+++ b/packages/base-sheets/src/View/UI/Common/Item/Item.tsx
@@ -8,15 +8,15 @@ export interface BaseItemProps extends BaseMenuItem {
}
export class Item extends Component<BaseItemProps> {
- Render: BaseComponentRender;
+ private _render: BaseComponentRender;
initialize() {
const component = this._context.getPluginManager().getPluginByName<BaseComponentSheet>('ComponentSheet')!;
- this.Render = component.getComponentRender();
+ this._render = component.getComponentRender();
}
render() {
- const CorrectIcon = this.Render.renderFunction('CorrectIcon');
+ const CorrectIcon = this._render.renderFunction('CorrectIcon');
const { selected, label, suffix, disabled } = this.props;
return (
<div className={joinClassNames(styles.selectItem, disabled ? styles.selectDisabledItem : '')}>
diff --git a/packages/base-sheets/src/View/UI/Common/Line/LineColor.tsx b/packages/base-sheets/src/View/UI/Common/Line/LineColor.tsx
index 36f3a3ea5b..5bad8cedc5 100644
--- a/packages/base-sheets/src/View/UI/Common/Line/LineColor.tsx
+++ b/packages/base-sheets/src/View/UI/Common/Line/LineColor.tsx
@@ -10,14 +10,14 @@ interface IProps {
}
export class LineColor extends Component<IProps, IState> {
- Render: BaseComponentRender;
+ private _render: BaseComponentRender;
initialize() {
const component = this._context.getPluginManager().getPluginByName<BaseComponentSheet>('ComponentSheet')!;
- this.Render = component.getComponentRender();
+ this._render = component.getComponentRender();
this.state = {
- color: this.props.color ?? '#000',
+ color: 'rgb(217,217,217)',
};
}
@@ -32,7 +32,7 @@ export class LineColor extends Component<IProps, IState> {
}
render() {
- const RightIcon = this.Render.renderFunction('RightIcon');
+ const RightIcon = this._render.renderFunction('RightIcon');
const { color } = this.state;
const { label } = this.props;
diff --git a/packages/base-sheets/src/View/UI/Common/Select/Select.tsx b/packages/base-sheets/src/View/UI/Common/Select/Select.tsx
index ab8c2eeca6..1c9e6ca695 100644
--- a/packages/base-sheets/src/View/UI/Common/Select/Select.tsx
+++ b/packages/base-sheets/src/View/UI/Common/Select/Select.tsx
@@ -1,5 +1,5 @@
import { BaseComponentRender, BaseComponentSheet, BaseMenuItem, Component, ComponentChildren } from '@univer/base-component';
-import { ColorPicker, Dropdown } from '@univer/style-universheet';
+import { Dropdown } from '@univer/style-universheet';
import { BaseItemProps, Item } from '../Item/Item';
import styles from './index.module.less';
@@ -54,7 +54,7 @@ interface IState {
}
export class Select extends Component<BaseSelectProps, IState> {
- Render: BaseComponentRender;
+ private _render: BaseComponentRender;
ColorRef: any;
@@ -64,7 +64,7 @@ export class Select extends Component<BaseSelectProps, IState> {
initialize() {
const component = this._context.getPluginManager().getPluginByName<BaseComponentSheet>('ComponentSheet')!;
- this.Render = component.getComponentRender();
+ this._render = component.getComponentRender();
const { children = [], hideSelectedIcon } = this.props;
const list = this.resetMenu(children, hideSelectedIcon);
@@ -83,8 +83,6 @@ export class Select extends Component<BaseSelectProps, IState> {
return this.getSingle();
case 1:
return this.getInput();
- case 2:
- return this.getColor();
case 3:
return this.getDouble();
case 4:
@@ -251,34 +249,6 @@ export class Select extends Component<BaseSelectProps, IState> {
}
}
- // 颜色下拉塞入colorPicker
- if (this.props.type === 2) {
- list[0] = {
- label: (
- <Item
- label={
- <ColorPicker
- style={{ display: 'block' }}
- ref={(ele) => (this.ColorRef = ele)}
- color={'#000'}
- onClick={(col: string) => {
- this.ColorRef.hideSelect();
- this.setState(
- {
- color: col,
- },
- () => {
- this.onClick();
- }
- );
- }}
- />
- }
- ></Item>
- ),
- };
- }
-
return list;
}
@@ -302,7 +272,7 @@ export class Select extends Component<BaseSelectProps, IState> {
getSingle = () => {
const { content, menu } = this.state;
const { className = '', tooltip } = this.props;
- const Button = this.Render.renderFunction('Button');
+ const Button = this._render.renderFunction('Button');
return (
<div className={`${styles.selectSingle} ${className}`}>
@@ -319,8 +289,8 @@ export class Select extends Component<BaseSelectProps, IState> {
getInput = () => {
const { content, menu } = this.state;
const { className = '', tooltip } = this.props;
- const Input = this.Render.renderFunction('Input');
- const Button = this.Render.renderFunction('Button');
+ const Input = this._render.renderFunction('Input');
+ const Button = this._render.renderFunction('Button');
return (
<div className={`${styles.selectInput} ${className}`}>
@@ -333,30 +303,11 @@ export class Select extends Component<BaseSelectProps, IState> {
);
};
- //颜色选择器
- getColor = () => {
- const { label, className = '', tooltip } = this.props;
- const { color, menu } = this.state;
- const Button = this.Render.renderFunction('Button');
- const NextIcon = this.Render.renderFunction('NextIcon');
-
- return (
- <div className={`${styles.selectColor} ${styles.selectDouble} ${className}`}>
- <Button type="text">
- <Dropdown tooltip={tooltip} onClick={this.onClick} menu={{ menu, onClick: this.onClick }} icon={<NextIcon />}>
- <div className={styles.selectLabel}>{label}</div>
- <div className={styles.selectLine} style={{ background: color }}></div>
- </Dropdown>
- </Button>
- </div>
- );
- };
-
getDouble = () => {
const { content, menu } = this.state;
const { className = '', tooltip } = this.props;
- const NextIcon = this.Render.renderFunction('NextIcon');
- const Button = this.Render.renderFunction('Button');
+ const NextIcon = this._render.renderFunction('NextIcon');
+ const Button = this._render.renderFunction('Button');
return (
<div className={`${styles.selectDouble} ${className}`}>
@@ -372,7 +323,7 @@ export class Select extends Component<BaseSelectProps, IState> {
getFix = () => {
const { label, className = '', tooltip } = this.props;
const { menu } = this.state;
- const Button = this.Render.renderFunction('Button');
+ const Button = this._render.renderFunction('Button');
return (
<div className={`${styles.selectDouble} ${className}`}>
@@ -388,8 +339,8 @@ export class Select extends Component<BaseSelectProps, IState> {
getDoubleFix = () => {
const { label, className = '', tooltip } = this.props;
const { menu } = this.state;
- const Button = this.Render.renderFunction('Button');
- const NextIcon = this.Render.renderFunction('NextIcon');
+ const Button = this._render.renderFunction('Button');
+ const NextIcon = this._render.renderFunction('NextIcon');
return (
<div className={`${styles.selectDouble} ${className}`}>
diff --git a/packages/base-sheets/src/View/UI/Common/TextButton/TextButton.tsx b/packages/base-sheets/src/View/UI/Common/TextButton/TextButton.tsx
index 8ca656fc03..3f02180906 100644
--- a/packages/base-sheets/src/View/UI/Common/TextButton/TextButton.tsx
+++ b/packages/base-sheets/src/View/UI/Common/TextButton/TextButton.tsx
@@ -12,11 +12,11 @@ interface IState {
}
export class TextButton extends Component<BaseTextButtonProps, IState> {
- Render: BaseComponentRender;
+ private _render: BaseComponentRender;
initialize() {
const component = this._context.getPluginManager().getPluginByName<BaseComponentSheet>('ComponentSheet')!;
- this.Render = component.getComponentRender();
+ this._render = component.getComponentRender();
this.state = {
active: this.props.active,
};
@@ -42,7 +42,7 @@ export class TextButton extends Component<BaseTextButtonProps, IState> {
render() {
const { label } = this.props;
const { active } = this.state;
- const Button = this.Render.renderFunction('Button');
+ const Button = this._render.renderFunction('Button');
return (
<div className={styles.textButton}>
diff --git a/packages/base-sheets/src/View/UI/FormulaBar/FormulaBar.tsx b/packages/base-sheets/src/View/UI/FormulaBar/FormulaBar.tsx
index 4edb969124..51bd7f0f50 100644
--- a/packages/base-sheets/src/View/UI/FormulaBar/FormulaBar.tsx
+++ b/packages/base-sheets/src/View/UI/FormulaBar/FormulaBar.tsx
@@ -11,15 +11,15 @@ type FormulaState = {
export interface BaseFormulaBarProps extends BaseComponentProps {}
export class FormulaBar extends Component<BaseFormulaBarProps, FormulaState> {
- Render: BaseComponentRender;
+ private _render: BaseComponentRender;
// formulaContent = createRef<HTMLDivElement>();
initialize(props?: BaseFormulaBarProps) {
const component = this._context.getPluginManager().getPluginByName<BaseComponentSheet>('ComponentSheet')!;
- this.Render = component.getComponentRender();
+ this._render = component.getComponentRender();
- const NextIcon = this.Render.renderFunction('NextIcon');
+ const NextIcon = this._render.renderFunction('NextIcon');
this.state = {
namedRanges: [
@@ -62,9 +62,9 @@ export class FormulaBar extends Component<BaseFormulaBarProps, FormulaState> {
render(props: BaseFormulaBarProps, state: FormulaState) {
const { namedRanges } = state;
- const CloseIcon = this.Render.renderFunction('CloseIcon');
- const CorrectIcon = this.Render.renderFunction('CorrectIcon');
- const FxIcon = this.Render.renderFunction('FxIcon');
+ const CloseIcon = this._render.renderFunction('CloseIcon');
+ const CorrectIcon = this._render.renderFunction('CorrectIcon');
+ const FxIcon = this._render.renderFunction('FxIcon');
return (
<div className={styles.formulaBox}>
diff --git a/packages/base-sheets/src/View/UI/InfoBar/InfoBar.tsx b/packages/base-sheets/src/View/UI/InfoBar/InfoBar.tsx
index 4a02009f3d..ddd318900e 100644
--- a/packages/base-sheets/src/View/UI/InfoBar/InfoBar.tsx
+++ b/packages/base-sheets/src/View/UI/InfoBar/InfoBar.tsx
@@ -10,11 +10,11 @@ interface IState {
interface IProps {}
export class InfoBar extends Component<IProps, IState> {
- Render: BaseComponentRender;
+ private _render: BaseComponentRender;
initialize() {
const component = this._context.getPluginManager().getPluginByName<BaseComponentSheet>('ComponentSheet')!;
- this.Render = component.getComponentRender();
+ this._render = component.getComponentRender();
this.state = {
infoList: null,
@@ -33,25 +33,25 @@ export class InfoBar extends Component<IProps, IState> {
render() {
if (!this.state.infoList) return;
- const Button = this.Render.renderFunction('Button');
- const Container = this.Render.renderFunction('Container');
- const Input = this.Render.renderFunction('Input');
- const Tooltip = this.Render.renderFunction('Tooltip');
- const DropDownIcon = this.Render.renderFunction('DropDownIcon');
- const LogoIcon = this.Render.renderFunction('LogoIcon');
+ const Button = this._render.renderFunction('Button');
+ const Container = this._render.renderFunction('Container');
+ const Input = this._render.renderFunction('Input');
+ const Tooltip = this._render.renderFunction('Tooltip');
+ const DropDownIcon = this._render.renderFunction('DropDownIcon');
+ const LogoIcon = this._render.renderFunction('LogoIcon');
const { back, sheet, update, save, rename } = this.state.infoList;
return (
<Container className={styles.infoDetail}>
- <div style={{ marginRight: '18px' }}>
+ {/* <div style={{ marginRight: '18px' }}>
<Tooltip title={back.label} placement={'bottom'}>
<Button className={styles.infoReturn} type="text">
<DropDownIcon rotate={90} />
</Button>
</Tooltip>
- </div>
- <LogoIcon style={{ width: '152px', height: '32px' }} />
+ </div> */}
+ {/* <LogoIcon style={{ width: '152px', height: '32px' }} /> */}
<div className={styles.sheetName}>
<Tooltip title={rename.label} placement={'bottom'}>
<Input bordered={false} value={sheet.label} onBlur={sheet.onBlur} />
diff --git a/packages/base-sheets/src/View/UI/RichText/RichText.tsx b/packages/base-sheets/src/View/UI/RichText/RichText.tsx
index bc01a62e0e..a2f513d569 100644
--- a/packages/base-sheets/src/View/UI/RichText/RichText.tsx
+++ b/packages/base-sheets/src/View/UI/RichText/RichText.tsx
@@ -163,7 +163,7 @@ export class RichText extends Component<BaseRichTextProps, IRichTextState> {
}
render(props: BaseRichTextProps, state: IRichTextState) {
- const { style, className, onClick, text } = props;
+ const { style, className = '', onClick, text } = props;
return (
<div className={`${styles.richTextEditorContainer} ${className}`} style={style} ref={this.container}>
<div
diff --git a/packages/base-sheets/src/View/UI/RightMenu/RightMenu.tsx b/packages/base-sheets/src/View/UI/RightMenu/RightMenu.tsx
index a0fa39dd18..13577e13f1 100644
--- a/packages/base-sheets/src/View/UI/RightMenu/RightMenu.tsx
+++ b/packages/base-sheets/src/View/UI/RightMenu/RightMenu.tsx
@@ -15,11 +15,11 @@ interface IState {
export class RightMenu extends Component<BaseRightMenuProps, IState> {
ulRef = createRef();
- Render: BaseComponentRender;
+ private _render: BaseComponentRender;
initialize() {
const component = this._context.getPluginManager().getPluginByName<BaseComponentSheet>('ComponentSheet')!;
- this.Render = component.getComponentRender();
+ this._render = component.getComponentRender();
this.state = {
visible: false,
@@ -147,7 +147,7 @@ export class RightMenu extends Component<BaseRightMenuProps, IState> {
const wrapStyles = { ...this.props.style };
const { visible } = this.state;
- const Menu = this.Render.renderFunction('Menu');
+ const Menu = this._render.renderFunction('Menu');
return (
visible && (
diff --git a/packages/base-sheets/src/View/UI/SheetBar/SheetBar.tsx b/packages/base-sheets/src/View/UI/SheetBar/SheetBar.tsx
index f3d3b1d6dc..267a44a45a 100644
--- a/packages/base-sheets/src/View/UI/SheetBar/SheetBar.tsx
+++ b/packages/base-sheets/src/View/UI/SheetBar/SheetBar.tsx
@@ -30,7 +30,7 @@ export class SheetBar extends Component<BaseSheetBarProps, SheetState> {
slideTabBar: SlideTabBar;
- Render: BaseComponentRender;
+ private _render: BaseComponentRender;
private _localeObserver: Nullable<Observer<Workbook>>;
@@ -38,7 +38,7 @@ export class SheetBar extends Component<BaseSheetBarProps, SheetState> {
initialize(props: BaseSheetBarProps) {
const component = this._context.getPluginManager().getPluginByName<BaseComponentSheet>('ComponentSheet')!;
- this.Render = component.getComponentRender();
+ this._render = component.getComponentRender();
this.state = {
sheetList: [],
@@ -55,11 +55,11 @@ export class SheetBar extends Component<BaseSheetBarProps, SheetState> {
jointJsx(list: BaseSheetBarProps[] | BaseUlProps[]) {
list.forEach((item: any) => {
if (item.icon && typeof item.icon === 'string' && /Icon$/.test(item.icon)) {
- const Icon = this.Render.renderFunction(item.icon);
+ const Icon = this._render.renderFunction(item.icon);
item.icon = <Icon />;
}
if (item.selectType && item.selectType === 'jsx') {
- const JSX: any = this.Render.renderFunction(item.label);
+ const JSX: any = this._render.renderFunction(item.label);
// ColorPicker
item.label = (
<JSX
@@ -261,11 +261,11 @@ export class SheetBar extends Component<BaseSheetBarProps, SheetState> {
if (!addSheet || !selectSheet || !contextMenu) return;
- const Button = this.Render.renderFunction('Button');
- const Ul = this.Render.renderFunction('Ul');
- const AddIcon = this.Render.renderFunction('AddIcon');
- const MenuIcon = this.Render.renderFunction('MenuIcon');
- const NextIcon = this.Render.renderFunction('NextIcon');
+ const Button = this._render.renderFunction('Button');
+ const Ul = this._render.renderFunction('Ul');
+ const AddIcon = this._render.renderFunction('AddIcon');
+ const MenuIcon = this._render.renderFunction('MenuIcon');
+ const NextIcon = this._render.renderFunction('NextIcon');
return (
<div className={styles.sheetBar} ref={this.slideTabRoot}>
diff --git a/packages/base-sheets/src/View/UI/SheetContainer/SheetContainer.tsx b/packages/base-sheets/src/View/UI/SheetContainer/SheetContainer.tsx
index 125837f2c2..a100a0ccf4 100644
--- a/packages/base-sheets/src/View/UI/SheetContainer/SheetContainer.tsx
+++ b/packages/base-sheets/src/View/UI/SheetContainer/SheetContainer.tsx
@@ -16,8 +16,8 @@ import { ModalGroup } from '../ModalGroup/ModalGroup';
import { SheetPlugin } from '../../../SheetPlugin';
import { FormulaBar } from '../FormulaBar';
import { SideGroup } from '../SideGroup/SideGroup';
-import { SheetBar } from '../SheetBar';
import { BaseSheetContainerConfig, IShowContainerConfig } from '../../../Controller';
+import { SheetBar } from '../SheetBar';
export interface BaseSheetContainerProps {
config: BaseSheetContainerConfig;
@@ -50,13 +50,13 @@ export class SheetContainer extends Component<BaseSheetContainerProps, IState> {
rightBorderY: number;
- Render: BaseComponentRender;
+ private _render: BaseComponentRender;
constructor(props: BaseSheetContainerProps) {
super(props, { coreContext: props.config.context });
const component = this._context.getPluginManager().getPluginByName<BaseComponentSheet>('ComponentSheet')!;
- this.Render = component.getComponentRender();
+ this._render = component.getComponentRender();
// init state
this.state = {
diff --git a/packages/base-sheets/src/View/UI/ToolBar/ToolBar.tsx b/packages/base-sheets/src/View/UI/ToolBar/ToolBar.tsx
index 45de578ed9..28a0e3298d 100644
--- a/packages/base-sheets/src/View/UI/ToolBar/ToolBar.tsx
+++ b/packages/base-sheets/src/View/UI/ToolBar/ToolBar.tsx
@@ -29,13 +29,13 @@ export class ToolBar extends Component<IProps, IState> {
SelectRef = createRef();
- Render: BaseComponentRender;
+ private _render: BaseComponentRender;
clientWidth = 0;
initialize() {
const component = this._context.getPluginManager().getPluginByName<BaseComponentSheet>('ComponentSheet')!;
- this.Render = component.getComponentRender();
+ this._render = component.getComponentRender();
this.state = {
// Button contains main button and drop down arrow, translation file contains main and right
showMore: false,
@@ -214,7 +214,7 @@ export class ToolBar extends Component<IProps, IState> {
// 渲染dom
getToolBarList(list: IToolBarItemProps[]) {
- const Tooltip = this.Render.renderFunction('Tooltip');
+ const Tooltip = this._render.renderFunction('Tooltip');
return list.map((item) => {
if (item.toolbarType) {
@@ -252,9 +252,9 @@ export class ToolBar extends Component<IProps, IState> {
render() {
const { defaultToolList, moreToolList, moreText, showMore } = this.state;
- const Button = this.Render.renderFunction('Button');
- const Container = this.Render.renderFunction('Container');
- const Tooltip = this.Render.renderFunction('Tooltip');
+ const Button = this._render.renderFunction('Button');
+ const Container = this._render.renderFunction('Container');
+ const Tooltip = this._render.renderFunction('Tooltip');
return (
<Container style={{ position: 'relative' }}>
diff --git a/packages/base-sheets/src/main.tsx b/packages/base-sheets/src/main.tsx
index d6f970974a..3e9619f8a4 100644
--- a/packages/base-sheets/src/main.tsx
+++ b/packages/base-sheets/src/main.tsx
@@ -2,8 +2,8 @@ import { UniverSheet } from '@univer/core';
import { RenderEngine } from '@univer/base-render';
import { UniverComponentSheet } from '@univer/style-universheet';
import { NumfmtPlugin } from '@univer/sheets-plugin-numfmt';
-import { DEFAULT_WORKBOOK_DATA, DEFAULT_WORKBOOK_DATA_DEMO, DEFAULT_WORKBOOK_DATA_DOWN } from '@univer/common-plugin-data';
-import { DEFAULT_FORMULA_DATA, DEFAULT_FORMULA_DATA_DEMO, FormulaPlugin } from '@univer/sheets-plugin-formula';
+import { DEFAULT_WORKBOOK_DATA, DEFAULT_WORKBOOK_DATA_DOWN } from '@univer/common-plugin-data';
+import { DEFAULT_FORMULA_DATA, FormulaPlugin } from '@univer/sheets-plugin-formula';
import { SheetPlugin } from './SheetPlugin';
const uiDefaultConfigUp = {
@@ -101,6 +101,8 @@ univerSheetUp.installPlugin(sheetPlugin);
univerSheetUp.installPlugin(new NumfmtPlugin());
FormulaPlugin.create(DEFAULT_FORMULA_DATA).installTo(univerSheetUp);
+univerSheetUp.refreshWorkbook(DEFAULT_WORKBOOK_DATA_DOWN);
+
(window as any).sheetPlugin = sheetPlugin;
const uiDefaultConfigDown = {
diff --git a/packages/common-plugin-data/src/Sheets/DEFAULT_WORKBOOK_DATA.ts b/packages/common-plugin-data/src/Sheets/DEFAULT_WORKBOOK_DATA.ts
index 5c2b0de6af..0d5d314b5d 100644
--- a/packages/common-plugin-data/src/Sheets/DEFAULT_WORKBOOK_DATA.ts
+++ b/packages/common-plugin-data/src/Sheets/DEFAULT_WORKBOOK_DATA.ts
@@ -1313,10980 +1313,3 @@ export const DEFAULT_WORKBOOK_DATA_DOWN: IWorkbookConfig = {
},
],
};
-
-const richTextDemo: IDocumentData = {
- documentId: 'd',
- body: {
- blockElements: {
- oneParagraph: {
- blockId: 'oneParagraph',
- st: 0,
- ed: 15,
- blockType: BlockType.PARAGRAPH,
- paragraph: {
- elements: {
- oneElement: {
- eId: 'oneElement',
- st: 0,
- ed: 15,
- et: ParagraphElementType.TEXT_RUN,
- tr: {
- ct: 'Instructions:',
- ts: {
- cl: {
- rgb: 'rgb(92,92,92)',
- },
- },
- },
- },
- twoElement: {
- eId: 'twoElement',
- st: 0,
- ed: 15,
- et: ParagraphElementType.TEXT_RUN,
- tr: {
- ct: '①Project division - Fill in the specific division of labor after the project is disassembled:',
- ts: {
- cl: {
- rgb: 'rgb(92,92,92)',
- },
- },
- },
- },
- threeElement: {
- eId: 'threeElement',
- st: 0,
- ed: 15,
- et: ParagraphElementType.TEXT_RUN,
- tr: {
- ct: "②Responsible Person - Enter the responsible person's name here:",
- ts: {
- cl: {
- rgb: 'rgb(92,92,92)',
- },
- },
- },
- },
- fourElement: {
- eId: 'fourElement',
- st: 0,
- ed: 15,
- et: ParagraphElementType.TEXT_RUN,
- tr: {
- ct: '③Date-The specific execution time of the project (detailed to the date of a certain month), and the gray color block marks the planned real-time time of the division of labor of the project (for example,',
- ts: {
- cl: {
- rgb: 'rgb(92,92,92)',
- },
- },
- },
- },
- fiveElement: {
- eId: 'fiveElement',
- st: 0,
- ed: 15,
- et: ParagraphElementType.TEXT_RUN,
- tr: {
- ct: 'the specific execution time of [regional scene model arrangement and construction] is the 2 days marked in gray. ',
- ts: {
- cl: {
- rgb: 'rgb(92,92,92)',
- },
- },
- },
- },
- },
- elementOrder: [
- {
- elementId: 'oneElement',
- paragraphElementType: ParagraphElementType.TEXT_RUN,
- },
- {
- elementId: 'breakElement',
- paragraphElementType: ParagraphElementType.PAGE_BREAK,
- },
- {
- elementId: 'twoElement',
- paragraphElementType: ParagraphElementType.TEXT_RUN,
- },
- {
- elementId: 'breakElement1',
- paragraphElementType: ParagraphElementType.PAGE_BREAK,
- },
- {
- elementId: 'threeElement',
- paragraphElementType: ParagraphElementType.TEXT_RUN,
- },
- {
- elementId: 'breakElement2',
- paragraphElementType: ParagraphElementType.PAGE_BREAK,
- },
- {
- elementId: 'fourElement',
- paragraphElementType: ParagraphElementType.TEXT_RUN,
- },
- {
- elementId: 'breakElement2',
- paragraphElementType: ParagraphElementType.PAGE_BREAK,
- },
- {
- elementId: 'fiveElement',
- paragraphElementType: ParagraphElementType.TEXT_RUN,
- },
- ],
- paragraphStyle: {
- spaceAbove: 10,
- lineSpacing: 1.2,
- },
- },
- },
- },
- blockElementOrder: ['oneParagraph'],
- },
- documentStyle: {
- pageSize: {
- width: Infinity,
- height: Infinity,
- },
- marginTop: 0,
- marginBottom: 0,
- marginRight: 2,
- marginLeft: 2,
- },
-};
-
-const richTextDemo1: IDocumentData = {
- documentId: 'd',
- body: {
- blockElements: {
- oneParagraph: {
- blockId: 'oneParagraph',
- st: 0,
- ed: 15,
- blockType: BlockType.PARAGRAPH,
- paragraph: {
- elements: {
- oneElement: {
- eId: 'oneElement',
- st: 0,
- ed: 15,
- et: ParagraphElementType.TEXT_RUN,
- tr: {
- ct: 'No.',
- ts: {
- cl: {
- rgb: '#000',
- },
- fs: 20,
- },
- },
- },
- twoElement: {
- eId: 'twoElement',
- st: 0,
- ed: 15,
- et: ParagraphElementType.TEXT_RUN,
- tr: {
- ct: '2824163',
- ts: {
- cl: {
- rgb: 'rgb(255,0,0)',
- },
- fs: 20,
- },
- },
- },
- },
- elementOrder: [
- {
- elementId: 'oneElement',
- paragraphElementType: ParagraphElementType.TEXT_RUN,
- },
- {
- elementId: 'twoElement',
- paragraphElementType: ParagraphElementType.TEXT_RUN,
- },
- ],
- },
- },
- },
- blockElementOrder: ['oneParagraph'],
- },
- documentStyle: {
- pageSize: {
- width: Infinity,
- height: Infinity,
- },
- marginTop: 0,
- marginBottom: 0,
- marginRight: 2,
- marginLeft: 2,
- },
-};
-
-export const DEFAULT_WORKBOOK_DATA_DEMO: IWorkbookConfig = {
- id: 'workbook-03',
- theme: 'default',
- locale: LocaleType.EN,
- creator: 'univer',
- name: 'universheet',
- skin: 'default',
- socketUrl: '',
- socketEnable: BooleanNumber.FALSE,
- extensions: [],
- sheetOrder: [],
- pluginMeta: {},
- styles: {
- '1': {
- fs: 30,
- vt: 2,
- bl: 1,
- pd: {
- l: 5,
- },
- },
- '2': {
- vt: 2,
- bl: 1,
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- pd: {
- l: 5,
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '3': {
- vt: 2,
- bl: 1,
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '4': {
- bl: 1,
- vt: 2,
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- ht: 2,
- },
- '5': {
- vt: 2,
- pd: {
- l: 5,
- },
- },
- '6': {
- vt: 2,
- ht: 2,
- fs: 12,
- cl: {
- rgb: 'rgb(1,136,251)',
- },
- },
- '7': {
- vt: 2,
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,251,224)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '8': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: 'rgb(1,136,251)',
- },
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,251,224)',
- },
- },
- '9': {
- vt: 2,
- pd: {
- l: 25,
- },
- },
- '10': {
- bg: {
- rgb: '#bf9000',
- },
- pd: {
- l: 5,
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '11': {
- vt: 2,
- ht: 2,
- fs: 24,
- bg: {
- rgb: 'rgb(183,83,119)',
- },
- cl: {
- rgb: '#fff',
- },
- },
- '12': {
- bg: {
- rgb: 'rgb(248,237,241)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '13': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(244,186,112)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '14': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(248,237,241)',
- },
- bd: {
- b: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(218,170,186)',
- },
- },
- },
- },
- '15': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(246,131,131)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '16': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(207,98,170)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '17': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(172,135,188)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '18': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(97,170,206)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '19': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(244,186,112,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '20': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(246,131,131,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '21': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(207,98,170,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '22': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(172,135,188,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '23': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(97,170,206,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '24': {
- bg: {
- rgb: '#3d85c6',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '25': {
- bg: {
- rgb: '#c27ba0',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '26': {
- bg: {
- rgb: 'rgb(224, 102, 102)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '27': {
- bg: {
- rgb: '#f90',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '28': {
- bg: {
- rgb: '#76a5af',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '29': {
- bg: {
- rgb: '#38761d',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '30': {
- vt: 2,
- ht: 2,
- fs: 30,
- bl: 1,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '31': {
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '32': {
- vt: 2,
- tb: 3,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '33': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '34': {
- vt: 2,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '35': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '36': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '37': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- fs: 14,
- cl: {
- rgb: '#fff',
- },
- // tr: {
- // a: 90,
- // v: 1,
- // },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '38': {
- vt: 2,
- tb: 3,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '39': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '40': {
- vt: 2,
- ht: 2,
- fs: 24,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '41': {
- ht: 3,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '42': {
- vt: 2,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '43': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '44': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '45': {
- vt: 2,
- tb: 3,
- pd: {
- l: 10,
- r: 10,
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '46': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '47': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '48': {
- vt: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '49': {
- vt: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '50': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '51': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '52': {
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '53': {
- ht: 2,
- vt: 2,
- tr: {
- a: 90,
- v: 1,
- },
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '54': {
- bd: {
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '55': {
- ht: 3,
- vt: 3,
- tb: 3,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '56': {
- vt: 2,
- ht: 2,
- fs: 30,
- bl: 1,
- bg: {
- rgb: '#9fc5e8',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- },
- timeZone: 'GMT+8',
- createdTime: '2021-11-28 12:10:10',
- modifiedTime: '2021-11-29 12:10:10',
- appVersion: '3.0.0-alpha',
- lastModifiedBy: 'univer',
- sheets: {
- 'sheet-0004': {
- type: SheetTypes.GRID,
- id: 'sheet-0004',
- name: 'sheet0004',
- cellData: {
- '0': {
- '0': {
- s: '40',
- },
- '1': {
- m: 'Travel Declaration Form',
- s: '40',
- },
- '8': {
- p: richTextDemo1,
- s: '41',
- },
- '10': {
- s: '52',
- },
- },
- '1': {
- '1': {
- m: 'Department:',
- s: '42',
- },
- '6': {
- m: 'Application Date:',
- s: '42',
- },
- },
- '2': {
- '1': {
- m: 'Business Trip Employee',
- s: '43',
- },
- '2': {
- s: '46',
- },
- '3': {
- m: 'Position',
- s: '46',
- },
- '4': {
- s: '46',
- },
- '6': {
- s: '46',
- m: 'Entourage',
- },
- '7': {
- s: '47',
- },
- '10': {
- m: 'Borrower write-off',
- s: '53',
- },
- },
- '3': {
- '1': {
- m: 'Business Trip Place',
- s: '44',
- },
- '2': {
- m: ' To To To',
- s: '48',
- },
- },
- '4': {
- '1': {
- m: 'Amount',
- s: '44',
- },
- '2': {
- m: '(Capital) 万 仟 佰 拾 元 角 分',
- s: '49',
- },
- '7': {
- m: '(Lower) ¥',
- s: '48',
- },
- },
- '5': {
- '1': {
- m: 'Departure Time',
- s: '44',
- },
- '2': {
- s: '49',
- },
- '3': {
- m: 'ETR',
- s: '50',
- },
- '5': {
- s: '50',
- },
- '8': {
- m: 'Days',
- s: '50',
- },
- '9': {
- s: '48',
- },
- },
- '6': {
- '1': {
- m: 'Reasons',
- s: '44',
- },
- '2': {
- s: '48',
- },
- },
- '7': {
- '1': {
- m: 'Applicant For Travel',
- s: '44',
- },
- '2': {
- s: '50',
- },
- '3': {
- m: 'Administrator',
- s: '50',
- },
- '4': {
- s: '50',
- },
- '6': {
- m: 'Financial Manager',
- s: '50',
- },
- '7': {
- s: '50',
- },
- '9': {
- m: 'Payee',
- s: '51',
- },
- },
- '8': {
- '1': {
- m: 'Department Head',
- s: '44',
- },
- '2': {
- s: '50',
- },
- '3': {
- m: 'Manager',
- s: '50',
- },
- '4': {
- s: '50',
- },
- '6': {
- m: 'Cashier',
- s: '50',
- },
- '7': {
- s: '50',
- },
- '9': {
- s: '51',
- },
- },
- '9': {
- '1': {
- m: 'Record: The loan is used exclusively for travel expenses, and the travel expenses will not be written off without a business trip application.',
- s: '45',
- },
- },
- },
- tabColor: 'blue',
- hidden: BooleanNumber.FALSE,
- freezeColumn: 1,
- rowCount: 10,
- columnCount: 11,
- freezeRow: 1,
- zoomRatio: 1,
- scrollTop: 200,
- scrollLeft: 100,
- defaultColumnWidth: 93,
- defaultRowHeight: 40,
- mergeData: [
- {
- startRow: 0,
- endRow: 1,
- startColumn: 10,
- endColumn: 10,
- },
- {
- startRow: 0,
- endRow: 9,
- startColumn: 0,
- endColumn: 0,
- },
- {
- startRow: 0,
- endRow: 0,
- startColumn: 1,
- endColumn: 7,
- },
- {
- startRow: 0,
- endRow: 0,
- startColumn: 8,
- endColumn: 9,
- },
- {
- startRow: 1,
- endRow: 1,
- startColumn: 1,
- endColumn: 4,
- },
- {
- startRow: 1,
- endRow: 1,
- startColumn: 6,
- endColumn: 9,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 4,
- endColumn: 5,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 7,
- endColumn: 9,
- },
- {
- startRow: 3,
- endRow: 3,
- startColumn: 2,
- endColumn: 9,
- },
- {
- startRow: 4,
- endRow: 4,
- startColumn: 2,
- endColumn: 6,
- },
- {
- startRow: 4,
- endRow: 4,
- startColumn: 7,
- endColumn: 9,
- },
- {
- startRow: 5,
- endRow: 5,
- startColumn: 3,
- endColumn: 4,
- },
- {
- startRow: 5,
- endRow: 5,
- startColumn: 5,
- endColumn: 7,
- },
- {
- startRow: 6,
- endRow: 6,
- startColumn: 2,
- endColumn: 9,
- },
- {
- startRow: 7,
- endRow: 7,
- startColumn: 4,
- endColumn: 5,
- },
- {
- startRow: 8,
- endRow: 8,
- startColumn: 7,
- endColumn: 8,
- },
- {
- startRow: 8,
- endRow: 8,
- startColumn: 4,
- endColumn: 5,
- },
- {
- startRow: 7,
- endRow: 7,
- startColumn: 7,
- endColumn: 8,
- },
- {
- startRow: 9,
- endRow: 9,
- startColumn: 1,
- endColumn: 9,
- },
- {
- startRow: 2,
- endRow: 9,
- startColumn: 10,
- endColumn: 10,
- },
- ],
- rowData: {
- '0': {
- h: 50,
- },
- '1': {
- h: 20,
- },
- '6': {
- h: 150,
- },
- '9': {
- h: 30,
- },
- },
- columnData: {
- '0': {
- w: 20,
- },
- '1': {
- w: 180,
- },
- '2': {
- w: 120,
- },
- '4': {
- w: 60,
- },
- '5': {
- w: 60,
- },
- '7': {
- w: 30,
- },
- '8': {
- w: 90,
- },
- '10': {
- w: 40,
- },
- },
- status: 1,
- showGridlines: 0,
- hideRow: [],
- hideColumn: [],
- rowTitle: {
- width: 46,
- hidden: BooleanNumber.FALSE,
- },
- columnTitle: {
- height: 20,
- hidden: BooleanNumber.FALSE,
- },
- selections: ['A2'],
- rightToLeft: BooleanNumber.FALSE,
- pluginMeta: {},
- },
- 'sheet-0003': {
- type: SheetTypes.GRID,
- id: 'sheet-0003',
- name: 'sheet0003',
- cellData: {
- '0': {
- '1': {
- m: 'Purchase Orders ',
- s: '56',
- },
- '4': {
- s: '31',
- },
- '5': {
- m: 'Number:',
- s: '32',
- },
- '6': {
- s: '31',
- },
- },
- '1': {
- '4': {
- s: '31',
- },
- },
- '2': {
- '4': {
- m: '[Company]:',
- s: '33',
- },
- '5': {
- s: '34',
- },
- },
- '3': {
- '4': {
- m: '[Adress]:',
- s: '33',
- },
- '5': {
- s: '34',
- },
- },
- '4': {
- '4': {
- m: '[TEL]:',
- s: '33',
- },
- '5': {
- s: '34',
- },
- },
- '5': {
- '4': {
- m: '[FAX]:',
- s: '33',
- },
- '5': {
- s: '34',
- },
- },
- '6': {
- '1': {
- s: '32',
- },
- },
- '7': {
- '1': {
- m: 'Subscriber:',
- s: '32',
- },
- '2': {
- s: '34',
- },
- '3': {
- m: 'Order Date:',
- s: '32',
- },
- '4': {
- s: '34',
- },
- '5': {
- m: 'Telephone:',
- s: '32',
- },
- '6': {
- s: '34',
- },
- },
- '8': {
- '1': {
- m: 'Payment:',
- s: '32',
- },
- '2': {
- s: '34',
- },
- '3': {
- m: 'Delivery:',
- s: '32',
- },
- '4': {
- s: '34',
- },
- '5': {
- s: '32',
- },
- '6': {
- s: '32',
- },
- },
- '9': {
- '1': {
- s: '32',
- },
- },
- '10': {
- '1': {
- m: 'SKU',
- s: '35',
- },
- '2': {
- m: 'Product name ',
- s: '35',
- },
- '4': {
- m: 'Quantity',
- s: '35',
- },
- '5': {
- m: 'Price',
- s: '35',
- },
- '6': {
- m: 'Amount',
- s: '35',
- },
- },
- '11': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- m: '10',
- v: '10',
- },
- },
- '12': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- m: '20',
- v: '20',
- },
- },
- '13': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- m: '30',
- v: '30',
- },
- },
- '14': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- },
- },
- '15': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- },
- },
- '16': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- },
- },
- '17': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- },
- },
- '18': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- },
- },
- '19': {
- '1': {
- m: 'Remark ',
- s: '37',
- },
- '2': {
- m: 'If there is any problem, please list the specific reasons in writing and fax to contact the company.',
- s: '38',
- },
- '5': {
- m: 'Subtotal',
- s: '39',
- },
- '6': {
- s: '36',
- },
- },
- '20': {
- '5': {
- m: 'Tax',
- s: '39',
- },
- '6': {
- s: '36',
- },
- },
- '21': {
- '5': {
- m: 'Freight',
- s: '39',
- },
- '6': {
- s: '36',
- },
- },
- '22': {
- '5': {
- m: 'Total ',
- s: '39',
- },
- '6': {
- s: '36',
- },
- },
- '23': {
- '1': {
- s: '32',
- },
- },
- '24': {
- '1': {
- m: 'Approval of Responsible Person:',
- s: '55',
- },
- '2': {
- s: '34',
- },
- '3': {
- m: 'Accountant:',
- s: '55',
- },
- '4': {
- s: '34',
- },
- '5': {
- m: 'Responsible Person:',
- s: '55',
- },
- '6': {
- s: '34',
- },
- },
- '25': {
- '1': {
- m: 'Company:',
- s: '55',
- },
- '2': {
- s: '34',
- },
- '3': {
- s: '32',
- },
- '4': {
- s: '32',
- },
- '5': {
- m: 'Date:',
- s: '55',
- },
- '6': {
- s: '34',
- },
- },
- '26': {
- '1': {
- s: '54',
- },
- },
- },
- tabColor: 'green',
- hidden: BooleanNumber.FALSE,
- freezeColumn: 1,
- rowCount: 27,
- columnCount: 8,
- freezeRow: 1,
- zoomRatio: 1,
- scrollTop: 200,
- scrollLeft: 100,
- defaultColumnWidth: 93,
- defaultRowHeight: 25,
- mergeData: [
- {
- startRow: 0,
- endRow: 5,
- startColumn: 1,
- endColumn: 3,
- },
- {
- startRow: 1,
- endRow: 1,
- startColumn: 4,
- endColumn: 6,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 5,
- endColumn: 6,
- },
- {
- startRow: 3,
- endRow: 3,
- startColumn: 5,
- endColumn: 6,
- },
- {
- startRow: 4,
- endRow: 4,
- startColumn: 5,
- endColumn: 6,
- },
- {
- startRow: 5,
- endRow: 5,
- startColumn: 5,
- endColumn: 6,
- },
- {
- startRow: 6,
- endRow: 6,
- startColumn: 1,
- endColumn: 6,
- },
- {
- startRow: 9,
- endRow: 9,
- startColumn: 1,
- endColumn: 6,
- },
- {
- startRow: 10,
- endRow: 10,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 11,
- endRow: 11,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 12,
- endRow: 12,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 13,
- endRow: 13,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 14,
- endRow: 14,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 15,
- endRow: 15,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 16,
- endRow: 16,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 17,
- endRow: 17,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 18,
- endRow: 18,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 19,
- endRow: 22,
- startColumn: 1,
- endColumn: 1,
- },
- {
- startRow: 19,
- endRow: 22,
- startColumn: 2,
- endColumn: 4,
- },
- {
- startRow: 23,
- endRow: 23,
- startColumn: 1,
- endColumn: 6,
- },
- {
- startRow: 0,
- endRow: 26,
- startColumn: 0,
- endColumn: 0,
- },
- {
- startRow: 0,
- endRow: 26,
- startColumn: 7,
- endColumn: 7,
- },
- {
- startRow: 26,
- endRow: 26,
- startColumn: 1,
- endColumn: 6,
- },
- ],
- rowData: {
- '9': {
- h: 10,
- },
- '23': {
- h: 30,
- },
- '24': {
- h: 70,
- },
- },
- columnData: {
- '0': {
- w: 30,
- },
- '1': {
- w: 80,
- },
- '2': {
- w: 120,
- },
- '3': {
- w: 80,
- },
- '7': {
- w: 30,
- },
- },
- status: 0,
- showGridlines: 0,
- hideRow: [],
- hideColumn: [],
- rowTitle: {
- width: 46,
- hidden: BooleanNumber.FALSE,
- },
- columnTitle: {
- height: 20,
- hidden: BooleanNumber.FALSE,
- },
- selections: ['A2'],
- rightToLeft: BooleanNumber.FALSE,
- pluginMeta: {},
- },
- 'sheet-0002': {
- type: SheetTypes.GRID,
- id: 'sheet-0002',
- name: 'sheet0003',
- cellData: {
- '0': {
- '0': {
- m: 'Annual Work Schedule',
- s: '11',
- },
- },
- '1': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '16': {
- s: '12',
- },
- },
- '2': {
- '0': {
- s: '12',
- },
- '1': {
- m: '1/2',
- s: '13',
- },
- '4': {
- m: '3/8',
- s: '15',
- },
- '7': {
- m: '1/4',
- s: '16',
- },
- '10': {
- m: '1/4',
- s: '17',
- },
- '13': {
- m: '1/4',
- s: '18',
- },
- '16': {
- s: '12',
- },
- },
- '3': {
- '1': {
- s: '12',
- },
- },
- '4': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: 'Go to the party',
- s: '14',
- },
- '3': {
- m: '√',
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- m: '√',
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- m: '√',
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- m: '√',
- s: '14',
- },
- },
- '5': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: 'Purchase Products',
- s: '14',
- },
- '3': {
- m: '√',
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- m: '√',
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- m: '√',
- s: '14',
- },
- },
- '6': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: '×××××',
- s: '14',
- },
- '3': {
- m: '√',
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- s: '14',
- },
- },
- '7': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: '×××××',
- s: '14',
- },
- '3': {
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- s: '14',
- },
- },
- '8': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: '×××××',
- s: '14',
- },
- '3': {
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- s: '14',
- },
- },
- '9': {
- '1': {
- s: '12',
- },
- },
- '10': {
- '1': {
- s: '12',
- },
- '2': {
- s: '19',
- m: 'January',
- },
- '3': {
- s: '12',
- },
- '4': {
- s: '12',
- },
- '5': {
- s: '20',
- m: 'February',
- },
- '6': {
- s: '12',
- },
- '7': {
- s: '12',
- },
- '8': {
- s: '21',
- m: 'March',
- },
- '9': {
- s: '12',
- },
- '10': {
- s: '12',
- },
- '11': {
- s: '22',
- m: 'April',
- },
- '12': {
- s: '12',
- },
- '13': {
- s: '12',
- },
- '14': {
- s: '23',
- m: 'May',
- },
- '15': {
- s: '12',
- },
- },
- '11': {
- '1': {
- s: '12',
- },
- },
- '12': {
- '0': {
- s: '12',
- },
- '1': {
- m: '1/3',
- s: '13',
- },
- '4': {
- m: '3/5',
- s: '15',
- },
- '7': {
- m: '1/2',
- s: '16',
- },
- '10': {
- m: '3/4',
- s: '17',
- },
- '13': {
- m: '5/6',
- s: '18',
- },
- '16': {
- s: '12',
- },
- },
- '13': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: 'Go to the party',
- s: '14',
- },
- '3': {
- m: '√',
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- m: '√',
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- m: '√',
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- m: '√',
- s: '14',
- },
- },
- '14': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: 'Purchase Products',
- s: '14',
- },
- '3': {
- m: '√',
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- m: '√',
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- m: '√',
- s: '14',
- },
- },
- '15': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: '×××××',
- s: '14',
- },
- '3': {
- m: '√',
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- s: '14',
- },
- },
- '16': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: '×××××',
- s: '14',
- },
- '3': {
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- s: '14',
- },
- },
- '17': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: '×××××',
- s: '14',
- },
- '3': {
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- s: '14',
- },
- },
- '18': {
- '0': {
- s: '12',
- },
- },
- '25': {
- '0': {
- m: '·',
- s: '123',
- },
- },
- },
- tabColor: 'yellow',
- hidden: BooleanNumber.FALSE,
- freezeColumn: 1,
- rowCount: 26,
- columnCount: 17,
- freezeRow: 1,
- zoomRatio: 1,
- scrollTop: 200,
- scrollLeft: 100,
- defaultColumnWidth: 93,
- defaultRowHeight: 32,
- mergeData: [
- {
- startRow: 0,
- endRow: 0,
- startColumn: 0,
- endColumn: 16,
- },
- {
- startRow: 1,
- endRow: 17,
- startColumn: 0,
- endColumn: 0,
- },
- {
- startRow: 1,
- endRow: 17,
- startColumn: 16,
- endColumn: 16,
- },
- {
- startRow: 1,
- endRow: 1,
- startColumn: 1,
- endColumn: 15,
- },
- {
- startRow: 3,
- endRow: 3,
- startColumn: 1,
- endColumn: 15,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 1,
- endColumn: 3,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 4,
- endColumn: 6,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 7,
- endColumn: 9,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 10,
- endColumn: 12,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 13,
- endColumn: 15,
- },
- {
- startRow: 9,
- endRow: 9,
- startColumn: 1,
- endColumn: 15,
- },
- {
- startRow: 11,
- endRow: 11,
- startColumn: 1,
- endColumn: 15,
- },
- {
- startRow: 12,
- endRow: 12,
- startColumn: 1,
- endColumn: 3,
- },
- {
- startRow: 12,
- endRow: 12,
- startColumn: 4,
- endColumn: 6,
- },
- {
- startRow: 12,
- endRow: 12,
- startColumn: 7,
- endColumn: 9,
- },
- {
- startRow: 12,
- endRow: 12,
- startColumn: 10,
- endColumn: 12,
- },
- {
- startRow: 12,
- endRow: 12,
- startColumn: 13,
- endColumn: 15,
- },
- {
- startRow: 18,
- endRow: 22,
- startColumn: 0,
- endColumn: 16,
- },
- ],
- rowData: {
- '0': {
- h: 70,
- },
- '3': {
- h: 20,
- },
- '9': {
- h: 20,
- },
- '10': {
- h: 40,
- },
- '11': {
- h: 20,
- },
- },
- columnData: {
- '0': {
- w: 50,
- },
- '1': {
- w: 20,
- },
- '2': {
- w: 150,
- },
- '3': {
- w: 30,
- },
- '4': {
- w: 20,
- },
- '5': {
- w: 150,
- },
- '6': {
- w: 30,
- },
- '7': {
- w: 20,
- },
- '8': {
- w: 150,
- },
- '9': {
- w: 30,
- },
- '10': {
- w: 20,
- },
- '11': {
- w: 150,
- },
- '12': {
- w: 30,
- },
- '13': {
- w: 20,
- },
- '14': {
- w: 150,
- },
- '15': {
- w: 30,
- },
- '16': {
- w: 50,
- },
- },
- status: 0,
- showGridlines: 0,
- hideRow: [],
- hideColumn: [],
- rowTitle: {
- width: 46,
- hidden: BooleanNumber.FALSE,
- },
- columnTitle: {
- height: 20,
- hidden: BooleanNumber.FALSE,
- },
- selections: ['A2'],
- rightToLeft: BooleanNumber.FALSE,
- pluginMeta: {},
- },
- 'sheet-0001': {
- type: SheetTypes.GRID,
- id: 'sheet-0001',
- cellData: {
- '0': {
- '0': {
- s: '1',
- m: 'A Schedule of Items',
- },
- },
- '1': {
- '0': {
- s: '2',
- m: 'Division of Project',
- },
- '1': {
- s: '3',
- m: 'Responsible Person',
- },
- '2': {
- s: '4',
- m: 'Date',
- },
- },
- '2': {
- '0': {
- m: 'General Project Manager',
- s: '5',
- },
- '1': {
- m: '@XXX',
- s: '6',
- },
- '2': {
- m: 'March 1',
- s: '5',
- },
- '3': {
- m: 'March 2',
- s: '5',
- },
- '4': {
- m: 'March 3',
- s: '5',
- },
- '5': {
- m: 'March 4',
- s: '5',
- },
- '6': {
- m: 'March 5',
- s: '5',
- },
- '7': {
- m: 'March 6',
- s: '5',
- },
- '8': {
- m: 'March 7',
- s: '5',
- },
- '9': {
- m: 'March 8',
- s: '5',
- },
- '10': {
- m: 'March 9',
- s: '5',
- },
- '11': {
- m: 'March 10',
- s: '5',
- },
- '12': {
- m: 'March 11',
- s: '5',
- },
- '13': {
- m: 'March 12',
- s: '5',
- },
- '14': {
- m: 'March 13',
- s: '5',
- },
- },
- '3': {
- '0': {
- m: '1、Responsible Person of Model Section',
- s: '7',
- },
- '1': {
- m: '@George',
- s: '8',
- },
- },
- '4': {
- '0': {
- m: 'Advertisement Signboard',
- s: '9',
- },
- '1': {
- m: '@Paul',
- s: '6',
- },
- '4': {
- s: '10',
- },
- '5': {
- s: '10',
- },
- '6': {
- s: '10',
- },
- '7': {
- s: '10',
- },
- '8': {
- s: '10',
- },
- '9': {
- s: '10',
- },
- '10': {
- s: '10',
- },
- },
- '5': {
- '0': {
- m: 'Transport Ready',
- s: '9',
- },
- '1': {
- m: '@George',
- s: '6',
- },
- },
- '6': {
- '0': {
- m: '2、Head of Special Effects Section',
- s: '7',
- },
- '1': {
- m: '@Paul',
- s: '8',
- },
- },
- '7': {
- '0': {
- m: 'Render Output Parameter Test',
- s: '9',
- },
- '1': {
- m: '@Paul',
- s: '6',
- },
- '3': {
- s: '25',
- },
- '4': {
- s: '25',
- },
- '5': {
- s: '25',
- },
- '6': {
- s: '25',
- },
- '7': {
- s: '25',
- },
- '8': {
- s: '25',
- },
- '9': {
- s: '25',
- },
- },
- '8': {
- '0': {
- m: 'Camera Moving Mirror',
- s: '9',
- },
- '1': {
- m: '@Paul',
- s: '6',
- },
- },
- '9': {
- '0': {
- m: '3、Responsible Person of Rendering Section',
- s: '7',
- },
- '1': {
- m: '@Jennifer',
- s: '8',
- },
- },
- '10': {
- '0': {
- m: 'Scene Dynamic Element Design',
- s: '9',
- },
- '7': {
- s: '27',
- },
- '8': {
- s: '27',
- },
- '9': {
- s: '27',
- },
- '10': {
- s: '27',
- },
- '11': {
- s: '27',
- },
- },
- '11': {
- '0': {
- m: 'Sky Map Selection',
- s: '9',
- },
- },
- '12': {
- '0': {
- m: 'Reference Scenario Data Collection',
- s: '9',
- },
- },
- '13': {
- '0': {
- m: 'Scene Dynamic Element Design',
- s: '9',
- },
- '2': {
- s: '29',
- },
- '3': {
- s: '29',
- },
- '4': {
- s: '29',
- },
- '5': {
- s: '29',
- },
- '6': {
- s: '29',
- },
- '7': {
- s: '29',
- },
- },
- '14': {
- '0': {
- p: richTextDemo,
- },
- },
- },
- name: 'sheet0001',
- tabColor: 'red',
- hidden: BooleanNumber.FALSE,
- freezeColumn: 1,
- rowCount: 15,
- columnCount: 15,
- freezeRow: 1,
- zoomRatio: 1,
- scrollTop: 200,
- scrollLeft: 100,
- defaultColumnWidth: 93,
- defaultRowHeight: 32,
- mergeData: [
- {
- startRow: 0,
- endRow: 0,
- startColumn: 0,
- endColumn: 14,
- },
- {
- startRow: 1,
- endRow: 1,
- startColumn: 2,
- endColumn: 14,
- },
- {
- startRow: 14,
- endRow: 14,
- startColumn: 0,
- endColumn: 14,
- },
- ],
- rowData: {
- '0': {
- h: 70,
- },
- '2': {
- h: 20,
- },
- '3': {
- h: 20,
- },
- '4': {
- h: 20,
- },
- '5': {
- h: 20,
- },
- '6': {
- h: 20,
- },
- '7': {
- h: 20,
- },
- '8': {
- h: 20,
- },
- '9': {
- h: 20,
- },
- '10': {
- h: 20,
- },
- '11': {
- h: 20,
- },
- '12': {
- h: 20,
- },
- '13': {
- h: 20,
- },
- '14': {
- h: 200,
- },
- },
- columnData: {
- '0': {
- w: 250,
- },
- '1': {
- w: 130,
- },
- '2': {
- w: 60,
- },
- '3': {
- w: 60,
- },
- '4': {
- w: 60,
- },
- '5': {
- w: 60,
- },
- '6': {
- w: 60,
- },
- '7': {
- w: 60,
- },
- '8': {
- w: 60,
- },
- '9': {
- w: 60,
- },
- '10': {
- w: 60,
- },
- '11': {
- w: 60,
- },
- '12': {
- w: 60,
- },
- '13': {
- w: 60,
- },
- '14': {
- w: 60,
- },
- },
- status: 0,
- showGridlines: 1,
- hideRow: [],
- hideColumn: [],
- rowTitle: {
- width: 46,
- hidden: BooleanNumber.FALSE,
- },
- columnTitle: {
- height: 20,
- hidden: BooleanNumber.FALSE,
- },
- selections: ['A2'],
- rightToLeft: BooleanNumber.FALSE,
- pluginMeta: {},
- },
- },
- namedRanges: [
- {
- namedRangeId: 'named-rang',
- name: 'namedRange',
- range: {
- sheetId: 'sheet-0001',
- rangeData: {
- startRow: 0,
- startColumn: 0,
- endRow: 1,
- endColumn: 1,
- },
- },
- },
- ],
-};
-
-export const DEFAULT_WORKBOOK_DATA_DEMO1: IWorkbookConfig = {
- id: 'workbook-04',
- theme: 'default',
- locale: LocaleType.EN,
- creator: 'univer',
- name: 'universheet',
- skin: 'default',
- socketUrl: '',
- socketEnable: BooleanNumber.FALSE,
- extensions: [],
- sheetOrder: [],
- pluginMeta: {},
- styles: {
- '1': {
- fs: 30,
- vt: 2,
- bl: 1,
- pd: {
- l: 5,
- },
- },
- '2': {
- vt: 2,
- bl: 1,
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- pd: {
- l: 5,
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '3': {
- vt: 2,
- bl: 1,
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '4': {
- bl: 1,
- vt: 2,
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- ht: 2,
- },
- '5': {
- vt: 2,
- pd: {
- l: 5,
- },
- },
- '6': {
- vt: 2,
- ht: 2,
- fs: 12,
- cl: {
- rgb: 'rgb(1,136,251)',
- },
- },
- '7': {
- vt: 2,
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,251,224)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '8': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: 'rgb(1,136,251)',
- },
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,251,224)',
- },
- },
- '9': {
- vt: 2,
- pd: {
- l: 25,
- },
- },
- '10': {
- bg: {
- rgb: '#bf9000',
- },
- pd: {
- l: 5,
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '11': {
- vt: 2,
- ht: 2,
- fs: 24,
- bg: {
- rgb: 'rgb(183,83,119)',
- },
- cl: {
- rgb: '#fff',
- },
- },
- '12': {
- bg: {
- rgb: 'rgb(248,237,241)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '13': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(244,186,112)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '14': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(248,237,241)',
- },
- bd: {
- b: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(218,170,186)',
- },
- },
- },
- },
- '15': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(246,131,131)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '16': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(207,98,170)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '17': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(172,135,188)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '18': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(97,170,206)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '19': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(244,186,112,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '20': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(246,131,131,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '21': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(207,98,170,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '22': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(172,135,188,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '23': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(97,170,206,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '24': {
- bg: {
- rgb: '#3d85c6',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '25': {
- bg: {
- rgb: '#c27ba0',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '26': {
- bg: {
- rgb: 'rgb(224, 102, 102)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '27': {
- bg: {
- rgb: '#f90',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '28': {
- bg: {
- rgb: '#76a5af',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '29': {
- bg: {
- rgb: '#38761d',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '30': {
- vt: 2,
- ht: 2,
- fs: 30,
- bl: 1,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '31': {
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '32': {
- vt: 2,
- tb: 3,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '33': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '34': {
- vt: 2,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '35': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '36': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '37': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- fs: 14,
- cl: {
- rgb: '#fff',
- },
- // tr: {
- // a: 90,
- // v: 1,
- // },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '38': {
- vt: 2,
- tb: 3,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '39': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '40': {
- vt: 2,
- ht: 2,
- fs: 24,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '41': {
- ht: 3,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '42': {
- vt: 2,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '43': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '44': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '45': {
- vt: 2,
- tb: 3,
- pd: {
- l: 10,
- r: 10,
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '46': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '47': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '48': {
- vt: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '49': {
- vt: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '50': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '51': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '52': {
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '53': {
- ht: 2,
- vt: 2,
- tr: {
- a: 90,
- v: 1,
- },
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '54': {
- bd: {
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '55': {
- ht: 3,
- vt: 3,
- tb: 3,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '56': {
- vt: 2,
- ht: 2,
- fs: 30,
- bl: 1,
- bg: {
- rgb: '#9fc5e8',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- },
- timeZone: 'GMT+8',
- createdTime: '2021-11-28 12:10:10',
- modifiedTime: '2021-11-29 12:10:10',
- appVersion: '3.0.0-alpha',
- lastModifiedBy: 'univer',
- sheets: {
- 'sheet-0003': {
- type: SheetTypes.GRID,
- id: 'sheet-0003',
- name: 'sheet0003',
- cellData: {
- '0': {
- '1': {
- m: 'Purchase Orders ',
- s: '56',
- },
- '4': {
- s: '31',
- },
- '5': {
- m: 'Number:',
- s: '32',
- },
- '6': {
- s: '31',
- },
- },
- '1': {
- '4': {
- s: '31',
- },
- },
- '2': {
- '4': {
- m: '[Company]:',
- s: '33',
- },
- '5': {
- s: '34',
- },
- },
- '3': {
- '4': {
- m: '[Adress]:',
- s: '33',
- },
- '5': {
- s: '34',
- },
- },
- '4': {
- '4': {
- m: '[TEL]:',
- s: '33',
- },
- '5': {
- s: '34',
- },
- },
- '5': {
- '4': {
- m: '[FAX]:',
- s: '33',
- },
- '5': {
- s: '34',
- },
- },
- '6': {
- '1': {
- s: '32',
- },
- },
- '7': {
- '1': {
- m: 'Subscriber:',
- s: '32',
- },
- '2': {
- s: '34',
- },
- '3': {
- m: 'Order Date:',
- s: '32',
- },
- '4': {
- s: '34',
- },
- '5': {
- m: 'Telephone:',
- s: '32',
- },
- '6': {
- s: '34',
- },
- },
- '8': {
- '1': {
- m: 'Payment:',
- s: '32',
- },
- '2': {
- s: '34',
- },
- '3': {
- m: 'Delivery:',
- s: '32',
- },
- '4': {
- s: '34',
- },
- '5': {
- s: '32',
- },
- '6': {
- s: '32',
- },
- },
- '9': {
- '1': {
- s: '32',
- },
- },
- '10': {
- '1': {
- m: 'SKU',
- s: '35',
- },
- '2': {
- m: 'Product name ',
- s: '35',
- },
- '4': {
- m: 'Quantity',
- s: '35',
- },
- '5': {
- m: 'Price',
- s: '35',
- },
- '6': {
- m: 'Amount',
- s: '35',
- },
- },
- '11': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- m: '10',
- v: '10',
- },
- },
- '12': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- m: '20',
- v: '20',
- },
- },
- '13': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- m: '30',
- v: '30',
- },
- },
- '14': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- },
- },
- '15': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- },
- },
- '16': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- },
- },
- '17': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- },
- },
- '18': {
- '1': {
- s: '36',
- },
- '2': {
- s: '36',
- },
- '3': {
- s: '36',
- },
- '4': {
- s: '36',
- },
- '5': {
- s: '36',
- },
- '6': {
- s: '36',
- },
- },
- '19': {
- '1': {
- m: 'Remark ',
- s: '37',
- },
- '2': {
- m: 'If there is any problem, please list the specific reasons in writing and fax to contact the company.',
- s: '38',
- },
- '5': {
- m: 'Subtotal',
- s: '39',
- },
- '6': {
- s: '36',
- },
- },
- '20': {
- '5': {
- m: 'Tax',
- s: '39',
- },
- '6': {
- s: '36',
- },
- },
- '21': {
- '5': {
- m: 'Freight',
- s: '39',
- },
- '6': {
- s: '36',
- },
- },
- '22': {
- '5': {
- m: 'Total ',
- s: '39',
- },
- '6': {
- s: '36',
- },
- },
- '23': {
- '1': {
- s: '32',
- },
- },
- '24': {
- '1': {
- m: 'Approval of Responsible Person:',
- s: '55',
- },
- '2': {
- s: '34',
- },
- '3': {
- m: 'Accountant:',
- s: '55',
- },
- '4': {
- s: '34',
- },
- '5': {
- m: 'Responsible Person:',
- s: '55',
- },
- '6': {
- s: '34',
- },
- },
- '25': {
- '1': {
- m: 'Company:',
- s: '55',
- },
- '2': {
- s: '34',
- },
- '3': {
- s: '32',
- },
- '4': {
- s: '32',
- },
- '5': {
- m: 'Date:',
- s: '55',
- },
- '6': {
- s: '34',
- },
- },
- '26': {
- '1': {
- s: '54',
- },
- },
- },
- tabColor: 'green',
- hidden: BooleanNumber.FALSE,
- freezeColumn: 1,
- rowCount: 27,
- columnCount: 8,
- freezeRow: 1,
- zoomRatio: 1,
- scrollTop: 200,
- scrollLeft: 100,
- defaultColumnWidth: 93,
- defaultRowHeight: 25,
- mergeData: [
- {
- startRow: 0,
- endRow: 5,
- startColumn: 1,
- endColumn: 3,
- },
- {
- startRow: 1,
- endRow: 1,
- startColumn: 4,
- endColumn: 6,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 5,
- endColumn: 6,
- },
- {
- startRow: 3,
- endRow: 3,
- startColumn: 5,
- endColumn: 6,
- },
- {
- startRow: 4,
- endRow: 4,
- startColumn: 5,
- endColumn: 6,
- },
- {
- startRow: 5,
- endRow: 5,
- startColumn: 5,
- endColumn: 6,
- },
- {
- startRow: 6,
- endRow: 6,
- startColumn: 1,
- endColumn: 6,
- },
- {
- startRow: 9,
- endRow: 9,
- startColumn: 1,
- endColumn: 6,
- },
- {
- startRow: 10,
- endRow: 10,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 11,
- endRow: 11,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 12,
- endRow: 12,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 13,
- endRow: 13,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 14,
- endRow: 14,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 15,
- endRow: 15,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 16,
- endRow: 16,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 17,
- endRow: 17,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 18,
- endRow: 18,
- startColumn: 2,
- endColumn: 3,
- },
- {
- startRow: 19,
- endRow: 22,
- startColumn: 1,
- endColumn: 1,
- },
- {
- startRow: 19,
- endRow: 22,
- startColumn: 2,
- endColumn: 4,
- },
- {
- startRow: 23,
- endRow: 23,
- startColumn: 1,
- endColumn: 6,
- },
- {
- startRow: 0,
- endRow: 26,
- startColumn: 0,
- endColumn: 0,
- },
- {
- startRow: 0,
- endRow: 26,
- startColumn: 7,
- endColumn: 7,
- },
- {
- startRow: 26,
- endRow: 26,
- startColumn: 1,
- endColumn: 6,
- },
- ],
- rowData: {
- '9': {
- h: 10,
- },
- '23': {
- h: 30,
- },
- '24': {
- h: 70,
- },
- },
- columnData: {
- '0': {
- w: 30,
- },
- '1': {
- w: 80,
- },
- '2': {
- w: 120,
- },
- '3': {
- w: 80,
- },
- '7': {
- w: 30,
- },
- },
- status: 1,
- showGridlines: 0,
- hideRow: [],
- hideColumn: [],
- rowTitle: {
- width: 46,
- hidden: BooleanNumber.FALSE,
- },
- columnTitle: {
- height: 20,
- hidden: BooleanNumber.FALSE,
- },
- selections: ['A2'],
- rightToLeft: BooleanNumber.FALSE,
- pluginMeta: {},
- },
- },
- namedRanges: [
- {
- namedRangeId: 'named-rang',
- name: 'namedRange',
- range: {
- sheetId: 'sheet-0003',
- rangeData: {
- startRow: 0,
- startColumn: 0,
- endRow: 1,
- endColumn: 1,
- },
- },
- },
- ],
-};
-
-export const DEFAULT_WORKBOOK_DATA_DEMO2: IWorkbookConfig = {
- id: 'workbook-05',
- theme: 'default',
- locale: LocaleType.EN,
- creator: 'univer',
- name: 'universheet',
- skin: 'default',
- socketUrl: '',
- socketEnable: BooleanNumber.FALSE,
- extensions: [],
- sheetOrder: [],
- pluginMeta: {},
- styles: {
- '1': {
- fs: 30,
- vt: 2,
- bl: 1,
- pd: {
- l: 5,
- },
- },
- '2': {
- vt: 2,
- bl: 1,
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- pd: {
- l: 5,
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '3': {
- vt: 2,
- bl: 1,
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '4': {
- bl: 1,
- vt: 2,
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- ht: 2,
- },
- '5': {
- vt: 2,
- pd: {
- l: 5,
- },
- },
- '6': {
- vt: 2,
- ht: 2,
- fs: 12,
- cl: {
- rgb: 'rgb(1,136,251)',
- },
- },
- '7': {
- vt: 2,
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,251,224)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '8': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: 'rgb(1,136,251)',
- },
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,251,224)',
- },
- },
- '9': {
- vt: 2,
- pd: {
- l: 25,
- },
- },
- '10': {
- bg: {
- rgb: '#bf9000',
- },
- pd: {
- l: 5,
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '11': {
- vt: 2,
- ht: 2,
- fs: 24,
- bg: {
- rgb: 'rgb(183,83,119)',
- },
- cl: {
- rgb: '#fff',
- },
- },
- '12': {
- bg: {
- rgb: 'rgb(248,237,241)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '13': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(244,186,112)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '14': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(248,237,241)',
- },
- bd: {
- b: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(218,170,186)',
- },
- },
- },
- },
- '15': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(246,131,131)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '16': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(207,98,170)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '17': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(172,135,188)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '18': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(97,170,206)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '19': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(244,186,112,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '20': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(246,131,131,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '21': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(207,98,170,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '22': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(172,135,188,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '23': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(97,170,206,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '24': {
- bg: {
- rgb: '#3d85c6',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '25': {
- bg: {
- rgb: '#c27ba0',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '26': {
- bg: {
- rgb: 'rgb(224, 102, 102)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '27': {
- bg: {
- rgb: '#f90',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '28': {
- bg: {
- rgb: '#76a5af',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '29': {
- bg: {
- rgb: '#38761d',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '30': {
- vt: 2,
- ht: 2,
- fs: 30,
- bl: 1,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '31': {
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '32': {
- vt: 2,
- tb: 3,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '33': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '34': {
- vt: 2,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '35': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '36': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '37': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- fs: 14,
- cl: {
- rgb: '#fff',
- },
- // tr: {
- // a: 90,
- // v: 1,
- // },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '38': {
- vt: 2,
- tb: 3,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '39': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '40': {
- vt: 2,
- ht: 2,
- fs: 24,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '41': {
- ht: 3,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '42': {
- vt: 2,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '43': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '44': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '45': {
- vt: 2,
- tb: 3,
- pd: {
- l: 10,
- r: 10,
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '46': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '47': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '48': {
- vt: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '49': {
- vt: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '50': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '51': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '52': {
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '53': {
- ht: 2,
- vt: 2,
- tr: {
- a: 90,
- v: 1,
- },
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '54': {
- bd: {
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '55': {
- ht: 3,
- vt: 3,
- tb: 3,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- },
- timeZone: 'GMT+8',
- createdTime: '2021-11-28 12:10:10',
- modifiedTime: '2021-11-29 12:10:10',
- appVersion: '3.0.0-alpha',
- lastModifiedBy: 'univer',
- sheets: {
- 'sheet-0002': {
- type: SheetTypes.GRID,
- id: 'sheet-0002',
- name: 'sheet0003',
- cellData: {
- '0': {
- '0': {
- m: 'Annual Work Schedule',
- s: '11',
- },
- },
- '1': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '16': {
- s: '12',
- },
- },
- '2': {
- '0': {
- s: '12',
- },
- '1': {
- m: '1/2',
- s: '13',
- },
- '4': {
- m: '3/8',
- s: '15',
- },
- '7': {
- m: '1/4',
- s: '16',
- },
- '10': {
- m: '1/4',
- s: '17',
- },
- '13': {
- m: '1/4',
- s: '18',
- },
- '16': {
- s: '12',
- },
- },
- '3': {
- '1': {
- s: '12',
- },
- },
- '4': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: 'Go to the party',
- s: '14',
- },
- '3': {
- m: '√',
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- m: '√',
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- m: '√',
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- m: '√',
- s: '14',
- },
- },
- '5': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: 'Purchase Products',
- s: '14',
- },
- '3': {
- m: '√',
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- m: '√',
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- m: '√',
- s: '14',
- },
- },
- '6': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: '×××××',
- s: '14',
- },
- '3': {
- m: '√',
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- s: '14',
- },
- },
- '7': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: '×××××',
- s: '14',
- },
- '3': {
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- s: '14',
- },
- },
- '8': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: '×××××',
- s: '14',
- },
- '3': {
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- s: '14',
- },
- },
- '9': {
- '1': {
- s: '12',
- },
- },
- '10': {
- '1': {
- s: '12',
- },
- '2': {
- s: '19',
- m: 'January',
- },
- '3': {
- s: '12',
- },
- '4': {
- s: '12',
- },
- '5': {
- s: '20',
- m: 'February',
- },
- '6': {
- s: '12',
- },
- '7': {
- s: '12',
- },
- '8': {
- s: '21',
- m: 'March',
- },
- '9': {
- s: '12',
- },
- '10': {
- s: '12',
- },
- '11': {
- s: '22',
- m: 'April',
- },
- '12': {
- s: '12',
- },
- '13': {
- s: '12',
- },
- '14': {
- s: '23',
- m: 'May',
- },
- '15': {
- s: '12',
- },
- },
- '11': {
- '1': {
- s: '12',
- },
- },
- '12': {
- '0': {
- s: '12',
- },
- '1': {
- m: '1/3',
- s: '13',
- },
- '4': {
- m: '3/5',
- s: '15',
- },
- '7': {
- m: '1/2',
- s: '16',
- },
- '10': {
- m: '3/4',
- s: '17',
- },
- '13': {
- m: '5/6',
- s: '18',
- },
- '16': {
- s: '12',
- },
- },
- '13': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: 'Go to the party',
- s: '14',
- },
- '3': {
- m: '√',
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- m: '√',
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- m: '√',
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- m: '√',
- s: '14',
- },
- },
- '14': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: 'Purchase Products',
- s: '14',
- },
- '3': {
- m: '√',
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- m: '√',
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- m: '√',
- s: '14',
- },
- },
- '15': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: '×××××',
- s: '14',
- },
- '3': {
- m: '√',
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- s: '14',
- },
- },
- '16': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: '×××××',
- s: '14',
- },
- '3': {
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- s: '14',
- },
- },
- '17': {
- '0': {
- s: '12',
- },
- '1': {
- s: '12',
- },
- '2': {
- m: '×××××',
- s: '14',
- },
- '3': {
- s: '14',
- },
- '4': {
- s: '12',
- },
- '5': {
- m: '×××××',
- s: '14',
- },
- '6': {
- s: '14',
- },
- '7': {
- s: '12',
- },
- '8': {
- m: '×××××',
- s: '14',
- },
- '9': {
- s: '14',
- },
- '10': {
- s: '12',
- },
- '11': {
- m: '×××××',
- s: '14',
- },
- '12': {
- s: '14',
- },
- '13': {
- s: '12',
- },
- '14': {
- m: '×××××',
- s: '14',
- },
- '15': {
- s: '14',
- },
- },
- '18': {
- '0': {
- s: '12',
- },
- },
- '25': {
- '0': {
- m: '·',
- s: '123',
- },
- },
- },
- tabColor: 'yellow',
- hidden: BooleanNumber.FALSE,
- freezeColumn: 1,
- rowCount: 26,
- columnCount: 17,
- freezeRow: 1,
- zoomRatio: 1,
- scrollTop: 200,
- scrollLeft: 100,
- defaultColumnWidth: 93,
- defaultRowHeight: 32,
- mergeData: [
- {
- startRow: 0,
- endRow: 0,
- startColumn: 0,
- endColumn: 16,
- },
- {
- startRow: 1,
- endRow: 17,
- startColumn: 0,
- endColumn: 0,
- },
- {
- startRow: 1,
- endRow: 17,
- startColumn: 16,
- endColumn: 16,
- },
- {
- startRow: 1,
- endRow: 1,
- startColumn: 1,
- endColumn: 15,
- },
- {
- startRow: 3,
- endRow: 3,
- startColumn: 1,
- endColumn: 15,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 1,
- endColumn: 3,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 4,
- endColumn: 6,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 7,
- endColumn: 9,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 10,
- endColumn: 12,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 13,
- endColumn: 15,
- },
- {
- startRow: 9,
- endRow: 9,
- startColumn: 1,
- endColumn: 15,
- },
- {
- startRow: 11,
- endRow: 11,
- startColumn: 1,
- endColumn: 15,
- },
- {
- startRow: 12,
- endRow: 12,
- startColumn: 1,
- endColumn: 3,
- },
- {
- startRow: 12,
- endRow: 12,
- startColumn: 4,
- endColumn: 6,
- },
- {
- startRow: 12,
- endRow: 12,
- startColumn: 7,
- endColumn: 9,
- },
- {
- startRow: 12,
- endRow: 12,
- startColumn: 10,
- endColumn: 12,
- },
- {
- startRow: 12,
- endRow: 12,
- startColumn: 13,
- endColumn: 15,
- },
- {
- startRow: 18,
- endRow: 22,
- startColumn: 0,
- endColumn: 16,
- },
- ],
- rowData: {
- '0': {
- h: 70,
- },
- '3': {
- h: 20,
- },
- '9': {
- h: 20,
- },
- '10': {
- h: 40,
- },
- '11': {
- h: 20,
- },
- },
- columnData: {
- '0': {
- w: 50,
- },
- '1': {
- w: 20,
- },
- '2': {
- w: 150,
- },
- '3': {
- w: 30,
- },
- '4': {
- w: 20,
- },
- '5': {
- w: 150,
- },
- '6': {
- w: 30,
- },
- '7': {
- w: 20,
- },
- '8': {
- w: 150,
- },
- '9': {
- w: 30,
- },
- '10': {
- w: 20,
- },
- '11': {
- w: 150,
- },
- '12': {
- w: 30,
- },
- '13': {
- w: 20,
- },
- '14': {
- w: 150,
- },
- '15': {
- w: 30,
- },
- '16': {
- w: 50,
- },
- },
- status: 1,
- showGridlines: 0,
- hideRow: [],
- hideColumn: [],
- rowTitle: {
- width: 46,
- hidden: BooleanNumber.FALSE,
- },
- columnTitle: {
- height: 20,
- hidden: BooleanNumber.FALSE,
- },
- selections: ['A2'],
- rightToLeft: BooleanNumber.FALSE,
- pluginMeta: {},
- },
- },
- namedRanges: [
- {
- namedRangeId: 'named-rang',
- name: 'namedRange',
- range: {
- sheetId: 'sheet-0001',
- rangeData: {
- startRow: 0,
- startColumn: 0,
- endRow: 1,
- endColumn: 1,
- },
- },
- },
- ],
-};
-
-export const DEFAULT_WORKBOOK_DATA_DEMO3: IWorkbookConfig = {
- id: 'workbook-06',
- theme: 'default',
- locale: LocaleType.EN,
- creator: 'univer',
- name: 'universheet',
- skin: 'default',
- socketUrl: '',
- socketEnable: BooleanNumber.FALSE,
- extensions: [],
- sheetOrder: [],
- pluginMeta: {},
- styles: {
- '1': {
- fs: 30,
- vt: 2,
- bl: 1,
- pd: {
- l: 5,
- },
- },
- '2': {
- vt: 2,
- bl: 1,
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- pd: {
- l: 5,
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '3': {
- vt: 2,
- bl: 1,
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '4': {
- bl: 1,
- vt: 2,
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- ht: 2,
- },
- '5': {
- vt: 2,
- pd: {
- l: 5,
- },
- },
- '6': {
- vt: 2,
- ht: 2,
- fs: 12,
- cl: {
- rgb: 'rgb(1,136,251)',
- },
- },
- '7': {
- vt: 2,
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,251,224)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '8': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: 'rgb(1,136,251)',
- },
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,251,224)',
- },
- },
- '9': {
- vt: 2,
- pd: {
- l: 25,
- },
- },
- '10': {
- bg: {
- rgb: '#bf9000',
- },
- pd: {
- l: 5,
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '11': {
- vt: 2,
- ht: 2,
- fs: 24,
- bg: {
- rgb: 'rgb(183,83,119)',
- },
- cl: {
- rgb: '#fff',
- },
- },
- '12': {
- bg: {
- rgb: 'rgb(248,237,241)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '13': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(244,186,112)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '14': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(248,237,241)',
- },
- bd: {
- b: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(218,170,186)',
- },
- },
- },
- },
- '15': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(246,131,131)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '16': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(207,98,170)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '17': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(172,135,188)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '18': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(97,170,206)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '19': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(244,186,112,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '20': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(246,131,131,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '21': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(207,98,170,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '22': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(172,135,188,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '23': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(97,170,206,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '24': {
- bg: {
- rgb: '#3d85c6',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '25': {
- bg: {
- rgb: '#c27ba0',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '26': {
- bg: {
- rgb: 'rgb(224, 102, 102)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '27': {
- bg: {
- rgb: '#f90',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '28': {
- bg: {
- rgb: '#76a5af',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '29': {
- bg: {
- rgb: '#38761d',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '30': {
- vt: 2,
- ht: 2,
- fs: 30,
- bl: 1,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '31': {
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '32': {
- vt: 2,
- tb: 3,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '33': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '34': {
- vt: 2,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '35': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '36': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '37': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- fs: 14,
- cl: {
- rgb: '#fff',
- },
- // tr: {
- // a: 90,
- // v: 1,
- // },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '38': {
- vt: 2,
- tb: 3,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '39': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '40': {
- vt: 2,
- ht: 2,
- fs: 24,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '41': {
- ht: 3,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '42': {
- vt: 2,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '43': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '44': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '45': {
- vt: 2,
- tb: 3,
- pd: {
- l: 10,
- r: 10,
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '46': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '47': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '48': {
- vt: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '49': {
- vt: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '50': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '51': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '52': {
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '53': {
- ht: 2,
- vt: 2,
- tr: {
- a: 90,
- v: 1,
- },
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '54': {
- bd: {
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '55': {
- ht: 3,
- vt: 3,
- tb: 3,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- },
- timeZone: 'GMT+8',
- createdTime: '2021-11-28 12:10:10',
- modifiedTime: '2021-11-29 12:10:10',
- appVersion: '3.0.0-alpha',
- lastModifiedBy: 'univer',
- sheets: {
- 'sheet-0001': {
- type: SheetTypes.GRID,
- id: 'sheet-0001',
- cellData: {
- '0': {
- '0': {
- s: '1',
- m: 'A Schedule of Items',
- },
- },
- '1': {
- '0': {
- s: '2',
- m: 'Division of Project',
- },
- '1': {
- s: '3',
- m: 'Responsible Person',
- },
- '2': {
- s: '4',
- m: 'Date',
- },
- },
- '2': {
- '0': {
- m: 'General Project Manager',
- s: '5',
- },
- '1': {
- m: '@XXX',
- s: '6',
- },
- '2': {
- m: 'March 1',
- s: '5',
- },
- '3': {
- m: 'March 2',
- s: '5',
- },
- '4': {
- m: 'March 3',
- s: '5',
- },
- '5': {
- m: 'March 4',
- s: '5',
- },
- '6': {
- m: 'March 5',
- s: '5',
- },
- '7': {
- m: 'March 6',
- s: '5',
- },
- '8': {
- m: 'March 7',
- s: '5',
- },
- '9': {
- m: 'March 8',
- s: '5',
- },
- '10': {
- m: 'March 9',
- s: '5',
- },
- '11': {
- m: 'March 10',
- s: '5',
- },
- '12': {
- m: 'March 11',
- s: '5',
- },
- '13': {
- m: 'March 12',
- s: '5',
- },
- '14': {
- m: 'March 13',
- s: '5',
- },
- },
- '3': {
- '0': {
- m: '1、Responsible Person of Model Section',
- s: '7',
- },
- '1': {
- m: '@George',
- s: '8',
- },
- },
- '4': {
- '0': {
- m: 'Advertisement Signboard',
- s: '9',
- },
- '1': {
- m: '@Paul',
- s: '6',
- },
- '4': {
- s: '10',
- },
- '5': {
- s: '10',
- },
- '6': {
- s: '10',
- },
- '7': {
- s: '10',
- },
- '8': {
- s: '10',
- },
- '9': {
- s: '10',
- },
- '10': {
- s: '10',
- },
- },
- '5': {
- '0': {
- m: 'Transport Ready',
- s: '9',
- },
- '1': {
- m: '@George',
- s: '6',
- },
- },
- '6': {
- '0': {
- m: '2、Head of Special Effects Section',
- s: '7',
- },
- '1': {
- m: '@Paul',
- s: '8',
- },
- },
- '7': {
- '0': {
- m: 'Render Output Parameter Test',
- s: '9',
- },
- '1': {
- m: '@Paul',
- s: '6',
- },
- '3': {
- s: '25',
- },
- '4': {
- s: '25',
- },
- '5': {
- s: '25',
- },
- '6': {
- s: '25',
- },
- '7': {
- s: '25',
- },
- '8': {
- s: '25',
- },
- '9': {
- s: '25',
- },
- },
- '8': {
- '0': {
- m: 'Camera Moving Mirror',
- s: '9',
- },
- '1': {
- m: '@Paul',
- s: '6',
- },
- },
- '9': {
- '0': {
- m: '3、Responsible Person of Rendering Section',
- s: '7',
- },
- '1': {
- m: '@Jennifer',
- s: '8',
- },
- },
- '10': {
- '0': {
- m: 'Scene Dynamic Element Design',
- s: '9',
- },
- '7': {
- s: '27',
- },
- '8': {
- s: '27',
- },
- '9': {
- s: '27',
- },
- '10': {
- s: '27',
- },
- '11': {
- s: '27',
- },
- },
- '11': {
- '0': {
- m: 'Sky Map Selection',
- s: '9',
- },
- },
- '12': {
- '0': {
- m: 'Reference Scenario Data Collection',
- s: '9',
- },
- },
- '13': {
- '0': {
- m: 'Scene Dynamic Element Design',
- s: '9',
- },
- '2': {
- s: '29',
- },
- '3': {
- s: '29',
- },
- '4': {
- s: '29',
- },
- '5': {
- s: '29',
- },
- '6': {
- s: '29',
- },
- '7': {
- s: '29',
- },
- },
- '14': {
- '0': {
- p: richTextDemo,
- },
- },
- },
- name: 'sheet0001',
- tabColor: 'red',
- hidden: BooleanNumber.FALSE,
- freezeColumn: 1,
- rowCount: 15,
- columnCount: 15,
- freezeRow: 1,
- zoomRatio: 1,
- scrollTop: 200,
- scrollLeft: 100,
- defaultColumnWidth: 93,
- defaultRowHeight: 32,
- mergeData: [
- {
- startRow: 0,
- endRow: 0,
- startColumn: 0,
- endColumn: 14,
- },
- {
- startRow: 1,
- endRow: 1,
- startColumn: 2,
- endColumn: 14,
- },
- {
- startRow: 14,
- endRow: 14,
- startColumn: 0,
- endColumn: 14,
- },
- ],
- rowData: {
- '0': {
- h: 70,
- },
- '2': {
- h: 20,
- },
- '3': {
- h: 20,
- },
- '4': {
- h: 20,
- },
- '5': {
- h: 20,
- },
- '6': {
- h: 20,
- },
- '7': {
- h: 20,
- },
- '8': {
- h: 20,
- },
- '9': {
- h: 20,
- },
- '10': {
- h: 20,
- },
- '11': {
- h: 20,
- },
- '12': {
- h: 20,
- },
- '13': {
- h: 20,
- },
- '14': {
- h: 200,
- },
- },
- columnData: {
- '0': {
- w: 250,
- },
- '1': {
- w: 130,
- },
- '2': {
- w: 60,
- },
- '3': {
- w: 60,
- },
- '4': {
- w: 60,
- },
- '5': {
- w: 60,
- },
- '6': {
- w: 60,
- },
- '7': {
- w: 60,
- },
- '8': {
- w: 60,
- },
- '9': {
- w: 60,
- },
- '10': {
- w: 60,
- },
- '11': {
- w: 60,
- },
- '12': {
- w: 60,
- },
- '13': {
- w: 60,
- },
- '14': {
- w: 60,
- },
- },
- status: 1,
- showGridlines: 1,
- hideRow: [],
- hideColumn: [],
- rowTitle: {
- width: 46,
- hidden: BooleanNumber.FALSE,
- },
- columnTitle: {
- height: 20,
- hidden: BooleanNumber.FALSE,
- },
- selections: ['A2'],
- rightToLeft: BooleanNumber.FALSE,
- pluginMeta: {},
- },
- },
- namedRanges: [
- {
- namedRangeId: 'named-rang',
- name: 'namedRange',
- range: {
- sheetId: 'sheet-0001',
- rangeData: {
- startRow: 0,
- startColumn: 0,
- endRow: 1,
- endColumn: 1,
- },
- },
- },
- ],
-};
-
-export const DEFAULT_WORKBOOK_DATA_DEMO4: IWorkbookConfig = {
- id: 'workbook-08',
- theme: 'default',
- locale: LocaleType.EN,
- creator: 'univer',
- name: 'universheet',
- skin: 'default',
- socketUrl: '',
- socketEnable: BooleanNumber.FALSE,
- extensions: [],
- sheetOrder: [],
- pluginMeta: {},
- styles: {
- '1': {
- fs: 30,
- vt: 2,
- bl: 1,
- pd: {
- l: 5,
- },
- },
- '2': {
- vt: 2,
- bl: 1,
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- pd: {
- l: 5,
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '3': {
- vt: 2,
- bl: 1,
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '4': {
- bl: 1,
- vt: 2,
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,226,102)',
- },
- ht: 2,
- },
- '5': {
- vt: 2,
- pd: {
- l: 5,
- },
- },
- '6': {
- vt: 2,
- ht: 2,
- fs: 12,
- cl: {
- rgb: 'rgb(1,136,251)',
- },
- },
- '7': {
- vt: 2,
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,251,224)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(217,217,217)',
- },
- },
- },
- },
- '8': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: 'rgb(1,136,251)',
- },
- pd: {
- l: 5,
- },
- bg: {
- rgb: 'rgb(255,251,224)',
- },
- },
- '9': {
- vt: 2,
- pd: {
- l: 25,
- },
- },
- '10': {
- bg: {
- rgb: '#bf9000',
- },
- pd: {
- l: 5,
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '11': {
- vt: 2,
- ht: 2,
- fs: 24,
- bg: {
- rgb: 'rgb(183,83,119)',
- },
- cl: {
- rgb: '#fff',
- },
- },
- '12': {
- bg: {
- rgb: 'rgb(248,237,241)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '13': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(244,186,112)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '14': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(248,237,241)',
- },
- bd: {
- b: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(218,170,186)',
- },
- },
- },
- },
- '15': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(246,131,131)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '16': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(207,98,170)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '17': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(172,135,188)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '18': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: 'rgb(97,170,206)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '19': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(244,186,112,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '20': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(246,131,131,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '21': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(207,98,170,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '22': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(172,135,188,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '23': {
- vt: 2,
- ht: 2,
- cl: {
- rgb: '#fff',
- },
- bg: {
- rgb: 'rgb(97,170,206,0.5)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '24': {
- bg: {
- rgb: '#3d85c6',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '25': {
- bg: {
- rgb: '#c27ba0',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '26': {
- bg: {
- rgb: 'rgb(224, 102, 102)',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '27': {
- bg: {
- rgb: '#f90',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '28': {
- bg: {
- rgb: '#76a5af',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '29': {
- bg: {
- rgb: '#38761d',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '30': {
- vt: 2,
- ht: 2,
- fs: 30,
- bl: 1,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: null,
- l: null,
- r: null,
- b: null,
- },
- },
- '31': {
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '32': {
- vt: 2,
- tb: 3,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '33': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '34': {
- vt: 2,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '35': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '36': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '37': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- fs: 14,
- cl: {
- rgb: '#fff',
- },
- // tr: {
- // a: 90,
- // v: 1,
- // },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '38': {
- vt: 2,
- tb: 3,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '39': {
- vt: 2,
- ht: 2,
- bg: {
- rgb: '#6fa8dc',
- },
- cl: {
- rgb: '#fff',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#000',
- },
- },
- },
- },
- '40': {
- vt: 2,
- ht: 2,
- fs: 24,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '41': {
- ht: 3,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '42': {
- vt: 2,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '43': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '44': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '45': {
- vt: 2,
- tb: 3,
- pd: {
- l: 10,
- r: 10,
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '46': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '47': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '48': {
- vt: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '49': {
- vt: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '50': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '51': {
- vt: 2,
- ht: 2,
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- r: {
- s: BorderStyleTypes.THICK,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- },
- },
- },
- '52': {
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '53': {
- ht: 2,
- vt: 2,
- tr: {
- a: 90,
- v: 1,
- },
- cl: {
- rgb: 'rgb(125,133,22)',
- },
- bd: {
- t: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '54': {
- bd: {
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- '55': {
- ht: 3,
- vt: 3,
- tb: 3,
- bd: {
- t: null,
- l: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- r: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- b: {
- s: BorderStyleTypes.THIN,
- cl: {
- rgb: '#fff',
- },
- },
- },
- },
- },
- timeZone: 'GMT+8',
- createdTime: '2021-11-28 12:10:10',
- modifiedTime: '2021-11-29 12:10:10',
- appVersion: '3.0.0-alpha',
- lastModifiedBy: 'univer',
- sheets: {
- 'sheet-0004': {
- type: SheetTypes.GRID,
- id: 'sheet-0004',
- name: 'sheet0004',
- cellData: {
- '0': {
- '0': {
- s: '40',
- },
- '1': {
- m: 'Travel Declaration Form',
- s: '40',
- },
- '8': {
- p: richTextDemo1,
- s: '41',
- },
- '10': {
- s: '52',
- },
- },
- '1': {
- '1': {
- m: 'Department:',
- s: '42',
- },
- '6': {
- m: 'Application Date:',
- s: '42',
- },
- },
- '2': {
- '1': {
- m: 'Business Trip Employee',
- s: '43',
- },
- '2': {
- s: '46',
- },
- '3': {
- m: 'Position',
- s: '46',
- },
- '4': {
- s: '46',
- },
- '6': {
- s: '46',
- m: 'Entourage',
- },
- '7': {
- s: '47',
- },
- '10': {
- m: 'Borrower write-off',
- s: '53',
- },
- },
- '3': {
- '1': {
- m: 'Business Trip Place',
- s: '44',
- },
- '2': {
- m: ' To To To',
- s: '48',
- },
- },
- '4': {
- '1': {
- m: 'Amount',
- s: '44',
- },
- '2': {
- m: '(Capital) 万 仟 佰 拾 元 角 分',
- s: '49',
- },
- '7': {
- m: '(Lower) ¥',
- s: '48',
- },
- },
- '5': {
- '1': {
- m: 'Departure Time',
- s: '44',
- },
- '2': {
- s: '49',
- },
- '3': {
- m: 'ETR',
- s: '50',
- },
- '5': {
- s: '50',
- },
- '8': {
- m: 'Days',
- s: '50',
- },
- '9': {
- s: '48',
- },
- },
- '6': {
- '1': {
- m: 'Reasons',
- s: '44',
- },
- '2': {
- s: '48',
- },
- },
- '7': {
- '1': {
- m: 'Applicant For Travel',
- s: '44',
- },
- '2': {
- s: '50',
- },
- '3': {
- m: 'Administrator',
- s: '50',
- },
- '4': {
- s: '50',
- },
- '6': {
- m: 'Financial Manager',
- s: '50',
- },
- '7': {
- s: '50',
- },
- '9': {
- m: 'Payee',
- s: '51',
- },
- },
- '8': {
- '1': {
- m: 'Department Head',
- s: '44',
- },
- '2': {
- s: '50',
- },
- '3': {
- m: 'Manager',
- s: '50',
- },
- '4': {
- s: '50',
- },
- '6': {
- m: 'Cashier',
- s: '50',
- },
- '7': {
- s: '50',
- },
- '9': {
- s: '51',
- },
- },
- '9': {
- '1': {
- m: 'Record: The loan is used exclusively for travel expenses, and the travel expenses will not be written off without a business trip application.',
- s: '45',
- },
- },
- },
- tabColor: 'blue',
- hidden: BooleanNumber.FALSE,
- freezeColumn: 1,
- rowCount: 10,
- columnCount: 11,
- freezeRow: 1,
- zoomRatio: 1,
- scrollTop: 200,
- scrollLeft: 100,
- defaultColumnWidth: 93,
- defaultRowHeight: 40,
- mergeData: [
- {
- startRow: 0,
- endRow: 1,
- startColumn: 10,
- endColumn: 10,
- },
- {
- startRow: 0,
- endRow: 9,
- startColumn: 0,
- endColumn: 0,
- },
- {
- startRow: 0,
- endRow: 0,
- startColumn: 1,
- endColumn: 7,
- },
- {
- startRow: 0,
- endRow: 0,
- startColumn: 8,
- endColumn: 9,
- },
- {
- startRow: 1,
- endRow: 1,
- startColumn: 1,
- endColumn: 4,
- },
- {
- startRow: 1,
- endRow: 1,
- startColumn: 6,
- endColumn: 9,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 4,
- endColumn: 5,
- },
- {
- startRow: 2,
- endRow: 2,
- startColumn: 7,
- endColumn: 9,
- },
- {
- startRow: 3,
- endRow: 3,
- startColumn: 2,
- endColumn: 9,
- },
- {
- startRow: 4,
- endRow: 4,
- startColumn: 2,
- endColumn: 6,
- },
- {
- startRow: 4,
- endRow: 4,
- startColumn: 7,
- endColumn: 9,
- },
- {
- startRow: 5,
- endRow: 5,
- startColumn: 3,
- endColumn: 4,
- },
- {
- startRow: 5,
- endRow: 5,
- startColumn: 5,
- endColumn: 7,
- },
- {
- startRow: 6,
- endRow: 6,
- startColumn: 2,
- endColumn: 9,
- },
- {
- startRow: 7,
- endRow: 7,
- startColumn: 4,
- endColumn: 5,
- },
- {
- startRow: 8,
- endRow: 8,
- startColumn: 7,
- endColumn: 8,
- },
- {
- startRow: 8,
- endRow: 8,
- startColumn: 4,
- endColumn: 5,
- },
- {
- startRow: 7,
- endRow: 7,
- startColumn: 7,
- endColumn: 8,
- },
- {
- startRow: 9,
- endRow: 9,
- startColumn: 1,
- endColumn: 9,
- },
- {
- startRow: 2,
- endRow: 9,
- startColumn: 10,
- endColumn: 10,
- },
- ],
- rowData: {
- '0': {
- h: 50,
- },
- '1': {
- h: 20,
- },
- '6': {
- h: 150,
- },
- '9': {
- h: 30,
- },
- },
- columnData: {
- '0': {
- w: 20,
- },
- '1': {
- w: 180,
- },
- '2': {
- w: 120,
- },
- '4': {
- w: 60,
- },
- '5': {
- w: 60,
- },
- '7': {
- w: 30,
- },
- '8': {
- w: 90,
- },
- '10': {
- w: 40,
- },
- },
- status: 1,
- showGridlines: 0,
- hideRow: [],
- hideColumn: [],
- rowTitle: {
- width: 46,
- hidden: BooleanNumber.FALSE,
- },
- columnTitle: {
- height: 20,
- hidden: BooleanNumber.FALSE,
- },
- selections: ['A2'],
- rightToLeft: BooleanNumber.FALSE,
- pluginMeta: {},
- },
- },
- namedRanges: [
- {
- namedRangeId: 'named-rang',
- name: 'namedRange',
- range: {
- sheetId: 'sheet-0001',
- rangeData: {
- startRow: 0,
- startColumn: 0,
- endRow: 1,
- endColumn: 1,
- },
- },
- },
- ],
-};
diff --git a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO.ts b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO.ts
new file mode 100644
index 0000000000..3a2e0564ec
--- /dev/null
+++ b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO.ts
@@ -0,0 +1,3761 @@
+import { BlockType, BooleanNumber, BorderStyleTypes, IDocumentData, IWorkbookConfig, LocaleType, ParagraphElementType, SheetTypes } from '@univer/core';
+
+const richTextDemo: IDocumentData = {
+ documentId: 'd',
+ body: {
+ blockElements: {
+ oneParagraph: {
+ blockId: 'oneParagraph',
+ st: 0,
+ ed: 15,
+ blockType: BlockType.PARAGRAPH,
+ paragraph: {
+ elements: {
+ oneElement: {
+ eId: 'oneElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: 'Instructions:',
+ ts: {
+ cl: {
+ rgb: 'rgb(92,92,92)',
+ },
+ },
+ },
+ },
+ twoElement: {
+ eId: 'twoElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: '①Project division - Fill in the specific division of labor after the project is disassembled:',
+ ts: {
+ cl: {
+ rgb: 'rgb(92,92,92)',
+ },
+ },
+ },
+ },
+ threeElement: {
+ eId: 'threeElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: "②Responsible Person - Enter the responsible person's name here:",
+ ts: {
+ cl: {
+ rgb: 'rgb(92,92,92)',
+ },
+ },
+ },
+ },
+ fourElement: {
+ eId: 'fourElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: '③Date-The specific execution time of the project (detailed to the date of a certain month), and the gray color block marks the planned real-time time of the division of labor of the project (for example,',
+ ts: {
+ cl: {
+ rgb: 'rgb(92,92,92)',
+ },
+ },
+ },
+ },
+ fiveElement: {
+ eId: 'fiveElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: 'the specific execution time of [regional scene model arrangement and construction] is the 2 days marked in gray. ',
+ ts: {
+ cl: {
+ rgb: 'rgb(92,92,92)',
+ },
+ },
+ },
+ },
+ },
+ elementOrder: [
+ {
+ elementId: 'oneElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ {
+ elementId: 'breakElement',
+ paragraphElementType: ParagraphElementType.PAGE_BREAK,
+ },
+ {
+ elementId: 'twoElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ {
+ elementId: 'breakElement1',
+ paragraphElementType: ParagraphElementType.PAGE_BREAK,
+ },
+ {
+ elementId: 'threeElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ {
+ elementId: 'breakElement2',
+ paragraphElementType: ParagraphElementType.PAGE_BREAK,
+ },
+ {
+ elementId: 'fourElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ {
+ elementId: 'breakElement2',
+ paragraphElementType: ParagraphElementType.PAGE_BREAK,
+ },
+ {
+ elementId: 'fiveElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ ],
+ paragraphStyle: {
+ spaceAbove: 10,
+ lineSpacing: 1.2,
+ },
+ },
+ },
+ },
+ blockElementOrder: ['oneParagraph'],
+ },
+ documentStyle: {
+ pageSize: {
+ width: Infinity,
+ height: Infinity,
+ },
+ marginTop: 0,
+ marginBottom: 0,
+ marginRight: 2,
+ marginLeft: 2,
+ },
+};
+
+const richTextDemo1: IDocumentData = {
+ documentId: 'd',
+ body: {
+ blockElements: {
+ oneParagraph: {
+ blockId: 'oneParagraph',
+ st: 0,
+ ed: 15,
+ blockType: BlockType.PARAGRAPH,
+ paragraph: {
+ elements: {
+ oneElement: {
+ eId: 'oneElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: 'No.',
+ ts: {
+ cl: {
+ rgb: '#000',
+ },
+ fs: 20,
+ },
+ },
+ },
+ twoElement: {
+ eId: 'twoElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: '2824163',
+ ts: {
+ cl: {
+ rgb: 'rgb(255,0,0)',
+ },
+ fs: 20,
+ },
+ },
+ },
+ },
+ elementOrder: [
+ {
+ elementId: 'oneElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ {
+ elementId: 'twoElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ ],
+ },
+ },
+ },
+ blockElementOrder: ['oneParagraph'],
+ },
+ documentStyle: {
+ pageSize: {
+ width: Infinity,
+ height: Infinity,
+ },
+ marginTop: 0,
+ marginBottom: 0,
+ marginRight: 2,
+ marginLeft: 2,
+ },
+};
+
+export const DEFAULT_WORKBOOK_DATA_DEMO: IWorkbookConfig = {
+ id: 'workbook-03',
+ theme: 'default',
+ locale: LocaleType.EN,
+ creator: 'univer',
+ name: 'universheet',
+ skin: 'default',
+ socketUrl: '',
+ socketEnable: BooleanNumber.FALSE,
+ extensions: [],
+ sheetOrder: [],
+ pluginMeta: {},
+ styles: {
+ '1': {
+ fs: 30,
+ vt: 2,
+ bl: 1,
+ pd: {
+ l: 5,
+ },
+ },
+ '2': {
+ vt: 2,
+ bl: 1,
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ pd: {
+ l: 5,
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '3': {
+ vt: 2,
+ bl: 1,
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '4': {
+ bl: 1,
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ ht: 2,
+ },
+ '5': {
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ },
+ '6': {
+ vt: 2,
+ ht: 2,
+ fs: 12,
+ cl: {
+ rgb: 'rgb(1,136,251)',
+ },
+ },
+ '7': {
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,251,224)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '8': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: 'rgb(1,136,251)',
+ },
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,251,224)',
+ },
+ },
+ '9': {
+ vt: 2,
+ pd: {
+ l: 25,
+ },
+ },
+ '10': {
+ bg: {
+ rgb: '#bf9000',
+ },
+ pd: {
+ l: 5,
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '11': {
+ vt: 2,
+ ht: 2,
+ fs: 24,
+ bg: {
+ rgb: 'rgb(183,83,119)',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ '12': {
+ bg: {
+ rgb: 'rgb(248,237,241)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '13': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(244,186,112)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '14': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(248,237,241)',
+ },
+ bd: {
+ b: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(218,170,186)',
+ },
+ },
+ },
+ },
+ '15': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(246,131,131)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '16': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(207,98,170)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '17': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(172,135,188)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '18': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(97,170,206)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '19': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(244,186,112,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '20': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(246,131,131,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '21': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(207,98,170,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '22': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(172,135,188,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '23': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(97,170,206,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '24': {
+ bg: {
+ rgb: '#3d85c6',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '25': {
+ bg: {
+ rgb: '#c27ba0',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '26': {
+ bg: {
+ rgb: 'rgb(224, 102, 102)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '27': {
+ bg: {
+ rgb: '#f90',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '28': {
+ bg: {
+ rgb: '#76a5af',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '29': {
+ bg: {
+ rgb: '#38761d',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '30': {
+ vt: 2,
+ ht: 2,
+ fs: 30,
+ bl: 1,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '31': {
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '32': {
+ vt: 2,
+ tb: 3,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '33': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '34': {
+ vt: 2,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '35': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '36': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '37': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ fs: 14,
+ cl: {
+ rgb: '#fff',
+ },
+ // tr: {
+ // a: 90,
+ // v: 1,
+ // },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '38': {
+ vt: 2,
+ tb: 3,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '39': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '40': {
+ vt: 2,
+ ht: 2,
+ fs: 24,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '41': {
+ ht: 3,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '42': {
+ vt: 2,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '43': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '44': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '45': {
+ vt: 2,
+ tb: 3,
+ pd: {
+ l: 10,
+ r: 10,
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '46': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '47': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '48': {
+ vt: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '49': {
+ vt: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '50': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '51': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '52': {
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '53': {
+ ht: 2,
+ vt: 2,
+ tr: {
+ a: 90,
+ v: 0,
+ },
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '54': {
+ bd: {
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '55': {
+ ht: 3,
+ vt: 3,
+ tb: 3,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '56': {
+ vt: 2,
+ ht: 2,
+ fs: 30,
+ bl: 1,
+ bg: {
+ rgb: '#9fc5e8',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ },
+ timeZone: 'GMT+8',
+ createdTime: '2021-11-28 12:10:10',
+ modifiedTime: '2021-11-29 12:10:10',
+ appVersion: '3.0.0-alpha',
+ lastModifiedBy: 'univer',
+ sheets: {
+ 'sheet-0004': {
+ type: SheetTypes.GRID,
+ id: 'sheet-0004',
+ name: 'sheet0004',
+ cellData: {
+ '0': {
+ '0': {
+ s: '40',
+ },
+ '1': {
+ m: 'Travel Declaration Form',
+ s: '40',
+ },
+ '8': {
+ p: richTextDemo1,
+ s: '41',
+ },
+ '10': {
+ s: '52',
+ },
+ },
+ '1': {
+ '1': {
+ m: 'Department:',
+ s: '42',
+ },
+ '6': {
+ m: 'Application Date:',
+ s: '42',
+ },
+ },
+ '2': {
+ '1': {
+ m: 'Business Trip Employee',
+ s: '43',
+ },
+ '2': {
+ s: '46',
+ },
+ '3': {
+ m: 'Position',
+ s: '46',
+ },
+ '4': {
+ s: '46',
+ },
+ '6': {
+ s: '46',
+ m: 'Entourage',
+ },
+ '7': {
+ s: '47',
+ },
+ '10': {
+ m: 'Borrower write-off',
+ s: '53',
+ },
+ },
+ '3': {
+ '1': {
+ m: 'Business Trip Place',
+ s: '44',
+ },
+ '2': {
+ m: ' To To To',
+ s: '48',
+ },
+ },
+ '4': {
+ '1': {
+ m: 'Amount',
+ s: '44',
+ },
+ '2': {
+ m: '(Capital) 万 仟 佰 拾 元 角 分',
+ s: '49',
+ },
+ '7': {
+ m: '(Lower) ¥',
+ s: '48',
+ },
+ },
+ '5': {
+ '1': {
+ m: 'Departure Time',
+ s: '44',
+ },
+ '2': {
+ s: '49',
+ },
+ '3': {
+ m: 'ETR',
+ s: '50',
+ },
+ '5': {
+ s: '50',
+ },
+ '8': {
+ m: 'Days',
+ s: '50',
+ },
+ '9': {
+ s: '48',
+ },
+ },
+ '6': {
+ '1': {
+ m: 'Reasons',
+ s: '44',
+ },
+ '2': {
+ s: '48',
+ },
+ },
+ '7': {
+ '1': {
+ m: 'Applicant For Travel',
+ s: '44',
+ },
+ '2': {
+ s: '50',
+ },
+ '3': {
+ m: 'Administrator',
+ s: '50',
+ },
+ '4': {
+ s: '50',
+ },
+ '6': {
+ m: 'Financial Manager',
+ s: '50',
+ },
+ '7': {
+ s: '50',
+ },
+ '9': {
+ m: 'Payee',
+ s: '51',
+ },
+ },
+ '8': {
+ '1': {
+ m: 'Department Head',
+ s: '44',
+ },
+ '2': {
+ s: '50',
+ },
+ '3': {
+ m: 'Manager',
+ s: '50',
+ },
+ '4': {
+ s: '50',
+ },
+ '6': {
+ m: 'Cashier',
+ s: '50',
+ },
+ '7': {
+ s: '50',
+ },
+ '9': {
+ s: '51',
+ },
+ },
+ '9': {
+ '1': {
+ m: 'Record: The loan is used exclusively for travel expenses, and the travel expenses will not be written off without a business trip application.',
+ s: '45',
+ },
+ },
+ },
+ tabColor: 'blue',
+ hidden: BooleanNumber.FALSE,
+ freezeColumn: 1,
+ rowCount: 10,
+ columnCount: 11,
+ freezeRow: 1,
+ zoomRatio: 1,
+ scrollTop: 200,
+ scrollLeft: 100,
+ defaultColumnWidth: 93,
+ defaultRowHeight: 40,
+ mergeData: [
+ {
+ startRow: 0,
+ endRow: 1,
+ startColumn: 10,
+ endColumn: 10,
+ },
+ {
+ startRow: 0,
+ endRow: 9,
+ startColumn: 0,
+ endColumn: 0,
+ },
+ {
+ startRow: 0,
+ endRow: 0,
+ startColumn: 1,
+ endColumn: 7,
+ },
+ {
+ startRow: 0,
+ endRow: 0,
+ startColumn: 8,
+ endColumn: 9,
+ },
+ {
+ startRow: 1,
+ endRow: 1,
+ startColumn: 1,
+ endColumn: 4,
+ },
+ {
+ startRow: 1,
+ endRow: 1,
+ startColumn: 6,
+ endColumn: 9,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 4,
+ endColumn: 5,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 7,
+ endColumn: 9,
+ },
+ {
+ startRow: 3,
+ endRow: 3,
+ startColumn: 2,
+ endColumn: 9,
+ },
+ {
+ startRow: 4,
+ endRow: 4,
+ startColumn: 2,
+ endColumn: 6,
+ },
+ {
+ startRow: 4,
+ endRow: 4,
+ startColumn: 7,
+ endColumn: 9,
+ },
+ {
+ startRow: 5,
+ endRow: 5,
+ startColumn: 3,
+ endColumn: 4,
+ },
+ {
+ startRow: 5,
+ endRow: 5,
+ startColumn: 5,
+ endColumn: 7,
+ },
+ {
+ startRow: 6,
+ endRow: 6,
+ startColumn: 2,
+ endColumn: 9,
+ },
+ {
+ startRow: 7,
+ endRow: 7,
+ startColumn: 4,
+ endColumn: 5,
+ },
+ {
+ startRow: 8,
+ endRow: 8,
+ startColumn: 7,
+ endColumn: 8,
+ },
+ {
+ startRow: 8,
+ endRow: 8,
+ startColumn: 4,
+ endColumn: 5,
+ },
+ {
+ startRow: 7,
+ endRow: 7,
+ startColumn: 7,
+ endColumn: 8,
+ },
+ {
+ startRow: 9,
+ endRow: 9,
+ startColumn: 1,
+ endColumn: 9,
+ },
+ {
+ startRow: 2,
+ endRow: 9,
+ startColumn: 10,
+ endColumn: 10,
+ },
+ ],
+ rowData: {
+ '0': {
+ h: 50,
+ },
+ '1': {
+ h: 20,
+ },
+ '6': {
+ h: 150,
+ },
+ '9': {
+ h: 30,
+ },
+ },
+ columnData: {
+ '0': {
+ w: 20,
+ },
+ '1': {
+ w: 180,
+ },
+ '2': {
+ w: 120,
+ },
+ '4': {
+ w: 60,
+ },
+ '5': {
+ w: 60,
+ },
+ '7': {
+ w: 30,
+ },
+ '8': {
+ w: 90,
+ },
+ '10': {
+ w: 40,
+ },
+ },
+ status: 1,
+ showGridlines: 0,
+ hideRow: [],
+ hideColumn: [],
+ rowTitle: {
+ width: 46,
+ hidden: BooleanNumber.FALSE,
+ },
+ columnTitle: {
+ height: 20,
+ hidden: BooleanNumber.FALSE,
+ },
+ selections: ['A2'],
+ rightToLeft: BooleanNumber.FALSE,
+ pluginMeta: {},
+ },
+ 'sheet-0003': {
+ type: SheetTypes.GRID,
+ id: 'sheet-0003',
+ name: 'sheet0003',
+ cellData: {
+ '0': {
+ '1': {
+ m: 'Purchase Orders ',
+ s: '56',
+ },
+ '4': {
+ s: '31',
+ },
+ '5': {
+ m: 'Number:',
+ s: '32',
+ },
+ '6': {
+ s: '31',
+ },
+ },
+ '1': {
+ '4': {
+ s: '31',
+ },
+ },
+ '2': {
+ '4': {
+ m: '[Company]:',
+ s: '33',
+ },
+ '5': {
+ s: '34',
+ },
+ },
+ '3': {
+ '4': {
+ m: '[Adress]:',
+ s: '33',
+ },
+ '5': {
+ s: '34',
+ },
+ },
+ '4': {
+ '4': {
+ m: '[TEL]:',
+ s: '33',
+ },
+ '5': {
+ s: '34',
+ },
+ },
+ '5': {
+ '4': {
+ m: '[FAX]:',
+ s: '33',
+ },
+ '5': {
+ s: '34',
+ },
+ },
+ '6': {
+ '1': {
+ s: '32',
+ },
+ },
+ '7': {
+ '1': {
+ m: 'Subscriber:',
+ s: '32',
+ },
+ '2': {
+ s: '34',
+ },
+ '3': {
+ m: 'Order Date:',
+ s: '32',
+ },
+ '4': {
+ s: '34',
+ },
+ '5': {
+ m: 'Telephone:',
+ s: '32',
+ },
+ '6': {
+ s: '34',
+ },
+ },
+ '8': {
+ '1': {
+ m: 'Payment:',
+ s: '32',
+ },
+ '2': {
+ s: '34',
+ },
+ '3': {
+ m: 'Delivery:',
+ s: '32',
+ },
+ '4': {
+ s: '34',
+ },
+ '5': {
+ s: '32',
+ },
+ '6': {
+ s: '32',
+ },
+ },
+ '9': {
+ '1': {
+ s: '32',
+ },
+ },
+ '10': {
+ '1': {
+ m: 'SKU',
+ s: '35',
+ },
+ '2': {
+ m: 'Product name ',
+ s: '35',
+ },
+ '4': {
+ m: 'Quantity',
+ s: '35',
+ },
+ '5': {
+ m: 'Price',
+ s: '35',
+ },
+ '6': {
+ m: 'Amount',
+ s: '35',
+ },
+ },
+ '11': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ m: '1',
+ v: '1',
+ },
+ '5': {
+ s: '36',
+ m: '10',
+ v: '10',
+ },
+ '6': {
+ s: '36',
+ m: '10',
+ v: '10',
+ },
+ },
+ '12': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ m: '2',
+ v: '2',
+ },
+ '5': {
+ s: '36',
+ m: '10',
+ v: '10',
+ },
+ '6': {
+ s: '36',
+ m: '20',
+ v: '20',
+ },
+ },
+ '13': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ m: '2',
+ v: '2',
+ },
+ '5': {
+ s: '36',
+ m: '2',
+ v: '2',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '14': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ },
+ '5': {
+ s: '36',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '15': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ },
+ '5': {
+ s: '36',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '16': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ },
+ '5': {
+ s: '36',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '17': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ },
+ '5': {
+ s: '36',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '18': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ },
+ '5': {
+ s: '36',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '19': {
+ '1': {
+ m: 'Remark ',
+ s: '37',
+ },
+ '2': {
+ m: 'If there is any problem, please list the specific reasons in writing and fax to contact the company.',
+ s: '38',
+ },
+ '5': {
+ m: 'Subtotal',
+ s: '39',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '20': {
+ '5': {
+ m: 'Tax',
+ s: '39',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '21': {
+ '5': {
+ m: 'Freight',
+ s: '39',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '22': {
+ '5': {
+ m: 'Total ',
+ s: '39',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '23': {
+ '1': {
+ s: '32',
+ },
+ },
+ '24': {
+ '1': {
+ m: 'Approval of Responsible Person:',
+ s: '55',
+ },
+ '2': {
+ s: '34',
+ },
+ '3': {
+ m: 'Accountant:',
+ s: '55',
+ },
+ '4': {
+ s: '34',
+ },
+ '5': {
+ m: 'Responsible Person:',
+ s: '55',
+ },
+ '6': {
+ s: '34',
+ },
+ },
+ '25': {
+ '1': {
+ m: 'Company:',
+ s: '55',
+ },
+ '2': {
+ s: '34',
+ },
+ '3': {
+ s: '32',
+ },
+ '4': {
+ s: '32',
+ },
+ '5': {
+ m: 'Date:',
+ s: '55',
+ },
+ '6': {
+ s: '34',
+ },
+ },
+ '26': {
+ '1': {
+ s: '54',
+ },
+ },
+ },
+ tabColor: 'green',
+ hidden: BooleanNumber.FALSE,
+ freezeColumn: 1,
+ rowCount: 27,
+ columnCount: 8,
+ freezeRow: 1,
+ zoomRatio: 1,
+ scrollTop: 200,
+ scrollLeft: 100,
+ defaultColumnWidth: 93,
+ defaultRowHeight: 25,
+ mergeData: [
+ {
+ startRow: 0,
+ endRow: 5,
+ startColumn: 1,
+ endColumn: 3,
+ },
+ {
+ startRow: 1,
+ endRow: 1,
+ startColumn: 4,
+ endColumn: 6,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 5,
+ endColumn: 6,
+ },
+ {
+ startRow: 3,
+ endRow: 3,
+ startColumn: 5,
+ endColumn: 6,
+ },
+ {
+ startRow: 4,
+ endRow: 4,
+ startColumn: 5,
+ endColumn: 6,
+ },
+ {
+ startRow: 5,
+ endRow: 5,
+ startColumn: 5,
+ endColumn: 6,
+ },
+ {
+ startRow: 6,
+ endRow: 6,
+ startColumn: 1,
+ endColumn: 6,
+ },
+ {
+ startRow: 9,
+ endRow: 9,
+ startColumn: 1,
+ endColumn: 6,
+ },
+ {
+ startRow: 10,
+ endRow: 10,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 11,
+ endRow: 11,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 12,
+ endRow: 12,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 13,
+ endRow: 13,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 14,
+ endRow: 14,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 15,
+ endRow: 15,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 16,
+ endRow: 16,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 17,
+ endRow: 17,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 18,
+ endRow: 18,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 19,
+ endRow: 22,
+ startColumn: 1,
+ endColumn: 1,
+ },
+ {
+ startRow: 19,
+ endRow: 22,
+ startColumn: 2,
+ endColumn: 4,
+ },
+ {
+ startRow: 23,
+ endRow: 23,
+ startColumn: 1,
+ endColumn: 6,
+ },
+ {
+ startRow: 0,
+ endRow: 26,
+ startColumn: 0,
+ endColumn: 0,
+ },
+ {
+ startRow: 0,
+ endRow: 26,
+ startColumn: 7,
+ endColumn: 7,
+ },
+ {
+ startRow: 26,
+ endRow: 26,
+ startColumn: 1,
+ endColumn: 6,
+ },
+ ],
+ rowData: {
+ '9': {
+ h: 10,
+ },
+ '23': {
+ h: 30,
+ },
+ '24': {
+ h: 70,
+ },
+ },
+ columnData: {
+ '0': {
+ w: 30,
+ },
+ '1': {
+ w: 80,
+ },
+ '2': {
+ w: 120,
+ },
+ '3': {
+ w: 80,
+ },
+ '7': {
+ w: 30,
+ },
+ },
+ status: 0,
+ showGridlines: 0,
+ hideRow: [],
+ hideColumn: [],
+ rowTitle: {
+ width: 46,
+ hidden: BooleanNumber.FALSE,
+ },
+ columnTitle: {
+ height: 20,
+ hidden: BooleanNumber.FALSE,
+ },
+ selections: ['A2'],
+ rightToLeft: BooleanNumber.FALSE,
+ pluginMeta: {},
+ },
+ 'sheet-0002': {
+ type: SheetTypes.GRID,
+ id: 'sheet-0002',
+ name: 'sheet0003',
+ cellData: {
+ '0': {
+ '0': {
+ m: 'Annual Work Schedule',
+ s: '11',
+ },
+ },
+ '1': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '16': {
+ s: '12',
+ },
+ },
+ '2': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ m: '1/2',
+ s: '13',
+ },
+ '4': {
+ m: '3/8',
+ s: '15',
+ },
+ '7': {
+ m: '1/4',
+ s: '16',
+ },
+ '10': {
+ m: '1/4',
+ s: '17',
+ },
+ '13': {
+ m: '1/4',
+ s: '18',
+ },
+ '16': {
+ s: '12',
+ },
+ },
+ '3': {
+ '1': {
+ s: '12',
+ },
+ },
+ '4': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: 'Go to the party',
+ s: '14',
+ },
+ '3': {
+ m: '√',
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ m: '√',
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ m: '√',
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ m: '√',
+ s: '14',
+ },
+ },
+ '5': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: 'Purchase Products',
+ s: '14',
+ },
+ '3': {
+ m: '√',
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ m: '√',
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ m: '√',
+ s: '14',
+ },
+ },
+ '6': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: '×××××',
+ s: '14',
+ },
+ '3': {
+ m: '√',
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ s: '14',
+ },
+ },
+ '7': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: '×××××',
+ s: '14',
+ },
+ '3': {
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ s: '14',
+ },
+ },
+ '8': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: '×××××',
+ s: '14',
+ },
+ '3': {
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ s: '14',
+ },
+ },
+ '9': {
+ '1': {
+ s: '12',
+ },
+ },
+ '10': {
+ '1': {
+ s: '12',
+ },
+ '2': {
+ s: '19',
+ m: 'January',
+ },
+ '3': {
+ s: '12',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ s: '20',
+ m: 'February',
+ },
+ '6': {
+ s: '12',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ s: '21',
+ m: 'March',
+ },
+ '9': {
+ s: '12',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ s: '22',
+ m: 'April',
+ },
+ '12': {
+ s: '12',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ s: '23',
+ m: 'May',
+ },
+ '15': {
+ s: '12',
+ },
+ },
+ '11': {
+ '1': {
+ s: '12',
+ },
+ },
+ '12': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ m: '1/3',
+ s: '13',
+ },
+ '4': {
+ m: '3/5',
+ s: '15',
+ },
+ '7': {
+ m: '1/2',
+ s: '16',
+ },
+ '10': {
+ m: '3/4',
+ s: '17',
+ },
+ '13': {
+ m: '5/6',
+ s: '18',
+ },
+ '16': {
+ s: '12',
+ },
+ },
+ '13': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: 'Go to the party',
+ s: '14',
+ },
+ '3': {
+ m: '√',
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ m: '√',
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ m: '√',
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ m: '√',
+ s: '14',
+ },
+ },
+ '14': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: 'Purchase Products',
+ s: '14',
+ },
+ '3': {
+ m: '√',
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ m: '√',
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ m: '√',
+ s: '14',
+ },
+ },
+ '15': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: '×××××',
+ s: '14',
+ },
+ '3': {
+ m: '√',
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ s: '14',
+ },
+ },
+ '16': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: '×××××',
+ s: '14',
+ },
+ '3': {
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ s: '14',
+ },
+ },
+ '17': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: '×××××',
+ s: '14',
+ },
+ '3': {
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ s: '14',
+ },
+ },
+ '18': {
+ '0': {
+ s: '12',
+ },
+ },
+ '25': {
+ '0': {
+ m: '·',
+ s: '123',
+ },
+ },
+ },
+ tabColor: 'yellow',
+ hidden: BooleanNumber.FALSE,
+ freezeColumn: 1,
+ rowCount: 26,
+ columnCount: 17,
+ freezeRow: 1,
+ zoomRatio: 1,
+ scrollTop: 200,
+ scrollLeft: 100,
+ defaultColumnWidth: 93,
+ defaultRowHeight: 32,
+ mergeData: [
+ {
+ startRow: 0,
+ endRow: 0,
+ startColumn: 0,
+ endColumn: 16,
+ },
+ {
+ startRow: 1,
+ endRow: 17,
+ startColumn: 0,
+ endColumn: 0,
+ },
+ {
+ startRow: 1,
+ endRow: 17,
+ startColumn: 16,
+ endColumn: 16,
+ },
+ {
+ startRow: 1,
+ endRow: 1,
+ startColumn: 1,
+ endColumn: 15,
+ },
+ {
+ startRow: 3,
+ endRow: 3,
+ startColumn: 1,
+ endColumn: 15,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 1,
+ endColumn: 3,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 4,
+ endColumn: 6,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 7,
+ endColumn: 9,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 10,
+ endColumn: 12,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 13,
+ endColumn: 15,
+ },
+ {
+ startRow: 9,
+ endRow: 9,
+ startColumn: 1,
+ endColumn: 15,
+ },
+ {
+ startRow: 11,
+ endRow: 11,
+ startColumn: 1,
+ endColumn: 15,
+ },
+ {
+ startRow: 12,
+ endRow: 12,
+ startColumn: 1,
+ endColumn: 3,
+ },
+ {
+ startRow: 12,
+ endRow: 12,
+ startColumn: 4,
+ endColumn: 6,
+ },
+ {
+ startRow: 12,
+ endRow: 12,
+ startColumn: 7,
+ endColumn: 9,
+ },
+ {
+ startRow: 12,
+ endRow: 12,
+ startColumn: 10,
+ endColumn: 12,
+ },
+ {
+ startRow: 12,
+ endRow: 12,
+ startColumn: 13,
+ endColumn: 15,
+ },
+ {
+ startRow: 18,
+ endRow: 22,
+ startColumn: 0,
+ endColumn: 16,
+ },
+ ],
+ rowData: {
+ '0': {
+ h: 70,
+ },
+ '3': {
+ h: 20,
+ },
+ '9': {
+ h: 20,
+ },
+ '10': {
+ h: 40,
+ },
+ '11': {
+ h: 20,
+ },
+ },
+ columnData: {
+ '0': {
+ w: 50,
+ },
+ '1': {
+ w: 20,
+ },
+ '2': {
+ w: 150,
+ },
+ '3': {
+ w: 30,
+ },
+ '4': {
+ w: 20,
+ },
+ '5': {
+ w: 150,
+ },
+ '6': {
+ w: 30,
+ },
+ '7': {
+ w: 20,
+ },
+ '8': {
+ w: 150,
+ },
+ '9': {
+ w: 30,
+ },
+ '10': {
+ w: 20,
+ },
+ '11': {
+ w: 150,
+ },
+ '12': {
+ w: 30,
+ },
+ '13': {
+ w: 20,
+ },
+ '14': {
+ w: 150,
+ },
+ '15': {
+ w: 30,
+ },
+ '16': {
+ w: 50,
+ },
+ },
+ status: 0,
+ showGridlines: 0,
+ hideRow: [],
+ hideColumn: [],
+ rowTitle: {
+ width: 46,
+ hidden: BooleanNumber.FALSE,
+ },
+ columnTitle: {
+ height: 20,
+ hidden: BooleanNumber.FALSE,
+ },
+ selections: ['A2'],
+ rightToLeft: BooleanNumber.FALSE,
+ pluginMeta: {},
+ },
+ 'sheet-0001': {
+ type: SheetTypes.GRID,
+ id: 'sheet-0001',
+ cellData: {
+ '0': {
+ '0': {
+ s: '1',
+ m: 'A Schedule of Items',
+ },
+ },
+ '1': {
+ '0': {
+ s: '2',
+ m: 'Division of Project',
+ },
+ '1': {
+ s: '3',
+ m: 'Responsible Person',
+ },
+ '2': {
+ s: '4',
+ m: 'Date',
+ },
+ },
+ '2': {
+ '0': {
+ m: 'General Project Manager',
+ s: '5',
+ },
+ '1': {
+ m: '@XXX',
+ s: '6',
+ },
+ '2': {
+ m: 'March 1',
+ s: '5',
+ },
+ '3': {
+ m: 'March 2',
+ s: '5',
+ },
+ '4': {
+ m: 'March 3',
+ s: '5',
+ },
+ '5': {
+ m: 'March 4',
+ s: '5',
+ },
+ '6': {
+ m: 'March 5',
+ s: '5',
+ },
+ '7': {
+ m: 'March 6',
+ s: '5',
+ },
+ '8': {
+ m: 'March 7',
+ s: '5',
+ },
+ '9': {
+ m: 'March 8',
+ s: '5',
+ },
+ '10': {
+ m: 'March 9',
+ s: '5',
+ },
+ '11': {
+ m: 'March 10',
+ s: '5',
+ },
+ '12': {
+ m: 'March 11',
+ s: '5',
+ },
+ '13': {
+ m: 'March 12',
+ s: '5',
+ },
+ '14': {
+ m: 'March 13',
+ s: '5',
+ },
+ },
+ '3': {
+ '0': {
+ m: '1、Responsible Person of Model Section',
+ s: '7',
+ },
+ '1': {
+ m: '@George',
+ s: '8',
+ },
+ },
+ '4': {
+ '0': {
+ m: 'Advertisement Signboard',
+ s: '9',
+ },
+ '1': {
+ m: '@Paul',
+ s: '6',
+ },
+ '4': {
+ s: '10',
+ },
+ '5': {
+ s: '10',
+ },
+ '6': {
+ s: '10',
+ },
+ '7': {
+ s: '10',
+ },
+ '8': {
+ s: '10',
+ },
+ '9': {
+ s: '10',
+ },
+ '10': {
+ s: '10',
+ },
+ },
+ '5': {
+ '0': {
+ m: 'Transport Ready',
+ s: '9',
+ },
+ '1': {
+ m: '@George',
+ s: '6',
+ },
+ },
+ '6': {
+ '0': {
+ m: '2、Head of Special Effects Section',
+ s: '7',
+ },
+ '1': {
+ m: '@Paul',
+ s: '8',
+ },
+ },
+ '7': {
+ '0': {
+ m: 'Render Output Parameter Test',
+ s: '9',
+ },
+ '1': {
+ m: '@Paul',
+ s: '6',
+ },
+ '3': {
+ s: '25',
+ },
+ '4': {
+ s: '25',
+ },
+ '5': {
+ s: '25',
+ },
+ '6': {
+ s: '25',
+ },
+ '7': {
+ s: '25',
+ },
+ '8': {
+ s: '25',
+ },
+ '9': {
+ s: '25',
+ },
+ },
+ '8': {
+ '0': {
+ m: 'Camera Moving Mirror',
+ s: '9',
+ },
+ '1': {
+ m: '@Paul',
+ s: '6',
+ },
+ },
+ '9': {
+ '0': {
+ m: '3、Responsible Person of Rendering Section',
+ s: '7',
+ },
+ '1': {
+ m: '@Jennifer',
+ s: '8',
+ },
+ },
+ '10': {
+ '0': {
+ m: 'Scene Dynamic Element Design',
+ s: '9',
+ },
+ '7': {
+ s: '27',
+ },
+ '8': {
+ s: '27',
+ },
+ '9': {
+ s: '27',
+ },
+ '10': {
+ s: '27',
+ },
+ '11': {
+ s: '27',
+ },
+ },
+ '11': {
+ '0': {
+ m: 'Sky Map Selection',
+ s: '9',
+ },
+ },
+ '12': {
+ '0': {
+ m: 'Reference Scenario Data Collection',
+ s: '9',
+ },
+ },
+ '13': {
+ '0': {
+ m: 'Scene Dynamic Element Design',
+ s: '9',
+ },
+ '2': {
+ s: '29',
+ },
+ '3': {
+ s: '29',
+ },
+ '4': {
+ s: '29',
+ },
+ '5': {
+ s: '29',
+ },
+ '6': {
+ s: '29',
+ },
+ '7': {
+ s: '29',
+ },
+ },
+ '14': {
+ '0': {
+ p: richTextDemo,
+ },
+ },
+ },
+ name: 'sheet0001',
+ tabColor: 'red',
+ hidden: BooleanNumber.FALSE,
+ freezeColumn: 1,
+ rowCount: 15,
+ columnCount: 15,
+ freezeRow: 1,
+ zoomRatio: 1,
+ scrollTop: 200,
+ scrollLeft: 100,
+ defaultColumnWidth: 93,
+ defaultRowHeight: 32,
+ mergeData: [
+ {
+ startRow: 0,
+ endRow: 0,
+ startColumn: 0,
+ endColumn: 14,
+ },
+ {
+ startRow: 1,
+ endRow: 1,
+ startColumn: 2,
+ endColumn: 14,
+ },
+ {
+ startRow: 14,
+ endRow: 14,
+ startColumn: 0,
+ endColumn: 14,
+ },
+ ],
+ rowData: {
+ '0': {
+ h: 70,
+ },
+ '2': {
+ h: 20,
+ },
+ '3': {
+ h: 20,
+ },
+ '4': {
+ h: 20,
+ },
+ '5': {
+ h: 20,
+ },
+ '6': {
+ h: 20,
+ },
+ '7': {
+ h: 20,
+ },
+ '8': {
+ h: 20,
+ },
+ '9': {
+ h: 20,
+ },
+ '10': {
+ h: 20,
+ },
+ '11': {
+ h: 20,
+ },
+ '12': {
+ h: 20,
+ },
+ '13': {
+ h: 20,
+ },
+ '14': {
+ h: 200,
+ },
+ },
+ columnData: {
+ '0': {
+ w: 250,
+ },
+ '1': {
+ w: 130,
+ },
+ '2': {
+ w: 60,
+ },
+ '3': {
+ w: 60,
+ },
+ '4': {
+ w: 60,
+ },
+ '5': {
+ w: 60,
+ },
+ '6': {
+ w: 60,
+ },
+ '7': {
+ w: 60,
+ },
+ '8': {
+ w: 60,
+ },
+ '9': {
+ w: 60,
+ },
+ '10': {
+ w: 60,
+ },
+ '11': {
+ w: 60,
+ },
+ '12': {
+ w: 60,
+ },
+ '13': {
+ w: 60,
+ },
+ '14': {
+ w: 60,
+ },
+ },
+ status: 0,
+ showGridlines: 1,
+ hideRow: [],
+ hideColumn: [],
+ rowTitle: {
+ width: 46,
+ hidden: BooleanNumber.FALSE,
+ },
+ columnTitle: {
+ height: 20,
+ hidden: BooleanNumber.FALSE,
+ },
+ selections: ['A2'],
+ rightToLeft: BooleanNumber.FALSE,
+ pluginMeta: {},
+ },
+ },
+ namedRanges: [
+ {
+ namedRangeId: 'named-rang',
+ name: 'namedRange',
+ range: {
+ sheetId: 'sheet-0001',
+ rangeData: {
+ startRow: 0,
+ startColumn: 0,
+ endRow: 1,
+ endColumn: 1,
+ },
+ },
+ },
+ ],
+};
diff --git a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO1.ts b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO1.ts
new file mode 100644
index 0000000000..568714b5c7
--- /dev/null
+++ b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO1.ts
@@ -0,0 +1,1858 @@
+import { BooleanNumber, BorderStyleTypes, IWorkbookConfig, LocaleType, SheetTypes } from '@univer/core';
+
+export const DEFAULT_WORKBOOK_DATA_DEMO1: IWorkbookConfig = {
+ id: 'workbook-04',
+ theme: 'default',
+ locale: LocaleType.EN,
+ creator: 'univer',
+ name: 'universheet',
+ skin: 'default',
+ socketUrl: '',
+ socketEnable: BooleanNumber.FALSE,
+ extensions: [],
+ sheetOrder: [],
+ pluginMeta: {},
+ styles: {
+ '1': {
+ fs: 30,
+ vt: 2,
+ bl: 1,
+ pd: {
+ l: 5,
+ },
+ },
+ '2': {
+ vt: 2,
+ bl: 1,
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ pd: {
+ l: 5,
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '3': {
+ vt: 2,
+ bl: 1,
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '4': {
+ bl: 1,
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ ht: 2,
+ },
+ '5': {
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ },
+ '6': {
+ vt: 2,
+ ht: 2,
+ fs: 12,
+ cl: {
+ rgb: 'rgb(1,136,251)',
+ },
+ },
+ '7': {
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,251,224)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '8': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: 'rgb(1,136,251)',
+ },
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,251,224)',
+ },
+ },
+ '9': {
+ vt: 2,
+ pd: {
+ l: 25,
+ },
+ },
+ '10': {
+ bg: {
+ rgb: '#bf9000',
+ },
+ pd: {
+ l: 5,
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '11': {
+ vt: 2,
+ ht: 2,
+ fs: 24,
+ bg: {
+ rgb: 'rgb(183,83,119)',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ '12': {
+ bg: {
+ rgb: 'rgb(248,237,241)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '13': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(244,186,112)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '14': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(248,237,241)',
+ },
+ bd: {
+ b: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(218,170,186)',
+ },
+ },
+ },
+ },
+ '15': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(246,131,131)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '16': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(207,98,170)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '17': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(172,135,188)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '18': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(97,170,206)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '19': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(244,186,112,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '20': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(246,131,131,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '21': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(207,98,170,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '22': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(172,135,188,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '23': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(97,170,206,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '24': {
+ bg: {
+ rgb: '#3d85c6',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '25': {
+ bg: {
+ rgb: '#c27ba0',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '26': {
+ bg: {
+ rgb: 'rgb(224, 102, 102)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '27': {
+ bg: {
+ rgb: '#f90',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '28': {
+ bg: {
+ rgb: '#76a5af',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '29': {
+ bg: {
+ rgb: '#38761d',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '30': {
+ vt: 2,
+ ht: 2,
+ fs: 30,
+ bl: 1,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '31': {
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '32': {
+ vt: 2,
+ tb: 3,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '33': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '34': {
+ vt: 2,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '35': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '36': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '37': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ fs: 14,
+ cl: {
+ rgb: '#fff',
+ },
+ // tr: {
+ // a: 90,
+ // v: 1,
+ // },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '38': {
+ vt: 2,
+ tb: 3,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '39': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '40': {
+ vt: 2,
+ ht: 2,
+ fs: 24,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '41': {
+ ht: 3,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '42': {
+ vt: 2,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '43': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '44': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '45': {
+ vt: 2,
+ tb: 3,
+ pd: {
+ l: 10,
+ r: 10,
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '46': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '47': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '48': {
+ vt: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '49': {
+ vt: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '50': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '51': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '52': {
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '53': {
+ ht: 2,
+ vt: 2,
+ tr: {
+ a: 90,
+ v: 1,
+ },
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '54': {
+ bd: {
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '55': {
+ ht: 3,
+ vt: 3,
+ tb: 3,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '56': {
+ vt: 2,
+ ht: 2,
+ fs: 30,
+ bl: 1,
+ bg: {
+ rgb: '#9fc5e8',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ },
+ timeZone: 'GMT+8',
+ createdTime: '2021-11-28 12:10:10',
+ modifiedTime: '2021-11-29 12:10:10',
+ appVersion: '3.0.0-alpha',
+ lastModifiedBy: 'univer',
+ sheets: {
+ 'sheet-0003': {
+ type: SheetTypes.GRID,
+ id: 'sheet-0003',
+ name: 'sheet0003',
+ cellData: {
+ '0': {
+ '1': {
+ m: 'Purchase Orders ',
+ s: '56',
+ },
+ '4': {
+ s: '31',
+ },
+ '5': {
+ m: 'Number:',
+ s: '32',
+ },
+ '6': {
+ s: '31',
+ },
+ },
+ '1': {
+ '4': {
+ s: '31',
+ },
+ },
+ '2': {
+ '4': {
+ m: '[Company]:',
+ s: '33',
+ },
+ '5': {
+ s: '34',
+ },
+ },
+ '3': {
+ '4': {
+ m: '[Adress]:',
+ s: '33',
+ },
+ '5': {
+ s: '34',
+ },
+ },
+ '4': {
+ '4': {
+ m: '[TEL]:',
+ s: '33',
+ },
+ '5': {
+ s: '34',
+ },
+ },
+ '5': {
+ '4': {
+ m: '[FAX]:',
+ s: '33',
+ },
+ '5': {
+ s: '34',
+ },
+ },
+ '6': {
+ '1': {
+ s: '32',
+ },
+ },
+ '7': {
+ '1': {
+ m: 'Subscriber:',
+ s: '32',
+ },
+ '2': {
+ s: '34',
+ },
+ '3': {
+ m: 'Order Date:',
+ s: '32',
+ },
+ '4': {
+ s: '34',
+ },
+ '5': {
+ m: 'Telephone:',
+ s: '32',
+ },
+ '6': {
+ s: '34',
+ },
+ },
+ '8': {
+ '1': {
+ m: 'Payment:',
+ s: '32',
+ },
+ '2': {
+ s: '34',
+ },
+ '3': {
+ m: 'Delivery:',
+ s: '32',
+ },
+ '4': {
+ s: '34',
+ },
+ '5': {
+ s: '32',
+ },
+ '6': {
+ s: '32',
+ },
+ },
+ '9': {
+ '1': {
+ s: '32',
+ },
+ },
+ '10': {
+ '1': {
+ m: 'SKU',
+ s: '35',
+ },
+ '2': {
+ m: 'Product name ',
+ s: '35',
+ },
+ '4': {
+ m: 'Quantity',
+ s: '35',
+ },
+ '5': {
+ m: 'Price',
+ s: '35',
+ },
+ '6': {
+ m: 'Amount',
+ s: '35',
+ },
+ },
+ '11': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ m: '1',
+ v: '1',
+ },
+ '5': {
+ s: '36',
+ m: '10',
+ v: '10',
+ },
+ '6': {
+ s: '36',
+ m: '10',
+ v: '10',
+ },
+ },
+ '12': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ m: '2',
+ v: '2',
+ },
+ '5': {
+ s: '36',
+ m: '10',
+ v: '10',
+ },
+ '6': {
+ s: '36',
+ m: '20',
+ v: '20',
+ },
+ },
+ '13': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ m: '2',
+ v: '2',
+ },
+ '5': {
+ s: '36',
+ m: '2',
+ v: '2',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '14': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ },
+ '5': {
+ s: '36',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '15': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ },
+ '5': {
+ s: '36',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '16': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ },
+ '5': {
+ s: '36',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '17': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ },
+ '5': {
+ s: '36',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '18': {
+ '1': {
+ s: '36',
+ },
+ '2': {
+ s: '36',
+ },
+ '3': {
+ s: '36',
+ },
+ '4': {
+ s: '36',
+ },
+ '5': {
+ s: '36',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '19': {
+ '1': {
+ m: 'Remark ',
+ s: '37',
+ },
+ '2': {
+ m: 'If there is any problem, please list the specific reasons in writing and fax to contact the company.',
+ s: '38',
+ },
+ '5': {
+ m: 'Subtotal',
+ s: '39',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '20': {
+ '5': {
+ m: 'Tax',
+ s: '39',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '21': {
+ '5': {
+ m: 'Freight',
+ s: '39',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '22': {
+ '5': {
+ m: 'Total ',
+ s: '39',
+ },
+ '6': {
+ s: '36',
+ },
+ },
+ '23': {
+ '1': {
+ s: '32',
+ },
+ },
+ '24': {
+ '1': {
+ m: 'Approval of Responsible Person:',
+ s: '55',
+ },
+ '2': {
+ s: '34',
+ },
+ '3': {
+ m: 'Accountant:',
+ s: '55',
+ },
+ '4': {
+ s: '34',
+ },
+ '5': {
+ m: 'Responsible Person:',
+ s: '55',
+ },
+ '6': {
+ s: '34',
+ },
+ },
+ '25': {
+ '1': {
+ m: 'Company:',
+ s: '55',
+ },
+ '2': {
+ s: '34',
+ },
+ '3': {
+ s: '32',
+ },
+ '4': {
+ s: '32',
+ },
+ '5': {
+ m: 'Date:',
+ s: '55',
+ },
+ '6': {
+ s: '34',
+ },
+ },
+ '26': {
+ '1': {
+ s: '54',
+ },
+ },
+ },
+ tabColor: 'green',
+ hidden: BooleanNumber.FALSE,
+ freezeColumn: 1,
+ rowCount: 27,
+ columnCount: 8,
+ freezeRow: 1,
+ zoomRatio: 1,
+ scrollTop: 200,
+ scrollLeft: 100,
+ defaultColumnWidth: 93,
+ defaultRowHeight: 25,
+ mergeData: [
+ {
+ startRow: 0,
+ endRow: 5,
+ startColumn: 1,
+ endColumn: 3,
+ },
+ {
+ startRow: 1,
+ endRow: 1,
+ startColumn: 4,
+ endColumn: 6,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 5,
+ endColumn: 6,
+ },
+ {
+ startRow: 3,
+ endRow: 3,
+ startColumn: 5,
+ endColumn: 6,
+ },
+ {
+ startRow: 4,
+ endRow: 4,
+ startColumn: 5,
+ endColumn: 6,
+ },
+ {
+ startRow: 5,
+ endRow: 5,
+ startColumn: 5,
+ endColumn: 6,
+ },
+ {
+ startRow: 6,
+ endRow: 6,
+ startColumn: 1,
+ endColumn: 6,
+ },
+ {
+ startRow: 9,
+ endRow: 9,
+ startColumn: 1,
+ endColumn: 6,
+ },
+ {
+ startRow: 10,
+ endRow: 10,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 11,
+ endRow: 11,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 12,
+ endRow: 12,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 13,
+ endRow: 13,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 14,
+ endRow: 14,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 15,
+ endRow: 15,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 16,
+ endRow: 16,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 17,
+ endRow: 17,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 18,
+ endRow: 18,
+ startColumn: 2,
+ endColumn: 3,
+ },
+ {
+ startRow: 19,
+ endRow: 22,
+ startColumn: 1,
+ endColumn: 1,
+ },
+ {
+ startRow: 19,
+ endRow: 22,
+ startColumn: 2,
+ endColumn: 4,
+ },
+ {
+ startRow: 23,
+ endRow: 23,
+ startColumn: 1,
+ endColumn: 6,
+ },
+ {
+ startRow: 0,
+ endRow: 26,
+ startColumn: 0,
+ endColumn: 0,
+ },
+ {
+ startRow: 0,
+ endRow: 26,
+ startColumn: 7,
+ endColumn: 7,
+ },
+ {
+ startRow: 26,
+ endRow: 26,
+ startColumn: 1,
+ endColumn: 6,
+ },
+ ],
+ rowData: {
+ '9': {
+ h: 10,
+ },
+ '23': {
+ h: 30,
+ },
+ '24': {
+ h: 70,
+ },
+ },
+ columnData: {
+ '0': {
+ w: 30,
+ },
+ '1': {
+ w: 80,
+ },
+ '2': {
+ w: 120,
+ },
+ '3': {
+ w: 80,
+ },
+ '7': {
+ w: 30,
+ },
+ },
+ status: 1,
+ showGridlines: 0,
+ hideRow: [],
+ hideColumn: [],
+ rowTitle: {
+ width: 46,
+ hidden: BooleanNumber.FALSE,
+ },
+ columnTitle: {
+ height: 20,
+ hidden: BooleanNumber.FALSE,
+ },
+ selections: ['A2'],
+ rightToLeft: BooleanNumber.FALSE,
+ pluginMeta: {},
+ },
+ },
+ namedRanges: [
+ {
+ namedRangeId: 'named-rang',
+ name: 'namedRange',
+ range: {
+ sheetId: 'sheet-0003',
+ rangeData: {
+ startRow: 0,
+ startColumn: 0,
+ endRow: 1,
+ endColumn: 1,
+ },
+ },
+ },
+ ],
+};
diff --git a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO2.ts b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO2.ts
new file mode 100644
index 0000000000..687fc7c980
--- /dev/null
+++ b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO2.ts
@@ -0,0 +1,2160 @@
+import { BooleanNumber, BorderStyleTypes, IWorkbookConfig, LocaleType, SheetTypes } from '@univer/core';
+
+export const DEFAULT_WORKBOOK_DATA_DEMO2: IWorkbookConfig = {
+ id: 'workbook-05',
+ theme: 'default',
+ locale: LocaleType.EN,
+ creator: 'univer',
+ name: 'universheet',
+ skin: 'default',
+ socketUrl: '',
+ socketEnable: BooleanNumber.FALSE,
+ extensions: [],
+ sheetOrder: [],
+ pluginMeta: {},
+ styles: {
+ '1': {
+ fs: 30,
+ vt: 2,
+ bl: 1,
+ pd: {
+ l: 5,
+ },
+ },
+ '2': {
+ vt: 2,
+ bl: 1,
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ pd: {
+ l: 5,
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '3': {
+ vt: 2,
+ bl: 1,
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '4': {
+ bl: 1,
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ ht: 2,
+ },
+ '5': {
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ },
+ '6': {
+ vt: 2,
+ ht: 2,
+ fs: 12,
+ cl: {
+ rgb: 'rgb(1,136,251)',
+ },
+ },
+ '7': {
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,251,224)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '8': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: 'rgb(1,136,251)',
+ },
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,251,224)',
+ },
+ },
+ '9': {
+ vt: 2,
+ pd: {
+ l: 25,
+ },
+ },
+ '10': {
+ bg: {
+ rgb: '#bf9000',
+ },
+ pd: {
+ l: 5,
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '11': {
+ vt: 2,
+ ht: 2,
+ fs: 24,
+ bg: {
+ rgb: 'rgb(183,83,119)',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ '12': {
+ bg: {
+ rgb: 'rgb(248,237,241)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '13': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(244,186,112)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '14': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(248,237,241)',
+ },
+ bd: {
+ b: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(218,170,186)',
+ },
+ },
+ },
+ },
+ '15': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(246,131,131)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '16': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(207,98,170)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '17': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(172,135,188)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '18': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(97,170,206)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '19': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(244,186,112,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '20': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(246,131,131,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '21': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(207,98,170,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '22': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(172,135,188,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '23': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(97,170,206,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '24': {
+ bg: {
+ rgb: '#3d85c6',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '25': {
+ bg: {
+ rgb: '#c27ba0',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '26': {
+ bg: {
+ rgb: 'rgb(224, 102, 102)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '27': {
+ bg: {
+ rgb: '#f90',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '28': {
+ bg: {
+ rgb: '#76a5af',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '29': {
+ bg: {
+ rgb: '#38761d',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '30': {
+ vt: 2,
+ ht: 2,
+ fs: 30,
+ bl: 1,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '31': {
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '32': {
+ vt: 2,
+ tb: 3,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '33': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '34': {
+ vt: 2,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '35': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '36': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '37': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ fs: 14,
+ cl: {
+ rgb: '#fff',
+ },
+ // tr: {
+ // a: 90,
+ // v: 1,
+ // },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '38': {
+ vt: 2,
+ tb: 3,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '39': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '40': {
+ vt: 2,
+ ht: 2,
+ fs: 24,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '41': {
+ ht: 3,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '42': {
+ vt: 2,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '43': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '44': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '45': {
+ vt: 2,
+ tb: 3,
+ pd: {
+ l: 10,
+ r: 10,
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '46': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '47': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '48': {
+ vt: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '49': {
+ vt: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '50': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '51': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '52': {
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '53': {
+ ht: 2,
+ vt: 2,
+ tr: {
+ a: 90,
+ v: 1,
+ },
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '54': {
+ bd: {
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '55': {
+ ht: 3,
+ vt: 3,
+ tb: 3,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ },
+ timeZone: 'GMT+8',
+ createdTime: '2021-11-28 12:10:10',
+ modifiedTime: '2021-11-29 12:10:10',
+ appVersion: '3.0.0-alpha',
+ lastModifiedBy: 'univer',
+ sheets: {
+ 'sheet-0002': {
+ type: SheetTypes.GRID,
+ id: 'sheet-0002',
+ name: 'sheet0003',
+ cellData: {
+ '0': {
+ '0': {
+ m: 'Annual Work Schedule',
+ s: '11',
+ },
+ },
+ '1': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '16': {
+ s: '12',
+ },
+ },
+ '2': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ m: '1/2',
+ s: '13',
+ },
+ '4': {
+ m: '3/8',
+ s: '15',
+ },
+ '7': {
+ m: '1/4',
+ s: '16',
+ },
+ '10': {
+ m: '1/4',
+ s: '17',
+ },
+ '13': {
+ m: '1/4',
+ s: '18',
+ },
+ '16': {
+ s: '12',
+ },
+ },
+ '3': {
+ '1': {
+ s: '12',
+ },
+ },
+ '4': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: 'Go to the party',
+ s: '14',
+ },
+ '3': {
+ m: '√',
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ m: '√',
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ m: '√',
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ m: '√',
+ s: '14',
+ },
+ },
+ '5': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: 'Purchase Products',
+ s: '14',
+ },
+ '3': {
+ m: '√',
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ m: '√',
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ m: '√',
+ s: '14',
+ },
+ },
+ '6': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: '×××××',
+ s: '14',
+ },
+ '3': {
+ m: '√',
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ s: '14',
+ },
+ },
+ '7': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: '×××××',
+ s: '14',
+ },
+ '3': {
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ s: '14',
+ },
+ },
+ '8': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: '×××××',
+ s: '14',
+ },
+ '3': {
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ s: '14',
+ },
+ },
+ '9': {
+ '1': {
+ s: '12',
+ },
+ },
+ '10': {
+ '1': {
+ s: '12',
+ },
+ '2': {
+ s: '19',
+ m: 'January',
+ },
+ '3': {
+ s: '12',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ s: '20',
+ m: 'February',
+ },
+ '6': {
+ s: '12',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ s: '21',
+ m: 'March',
+ },
+ '9': {
+ s: '12',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ s: '22',
+ m: 'April',
+ },
+ '12': {
+ s: '12',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ s: '23',
+ m: 'May',
+ },
+ '15': {
+ s: '12',
+ },
+ },
+ '11': {
+ '1': {
+ s: '12',
+ },
+ },
+ '12': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ m: '1/3',
+ s: '13',
+ },
+ '4': {
+ m: '3/5',
+ s: '15',
+ },
+ '7': {
+ m: '1/2',
+ s: '16',
+ },
+ '10': {
+ m: '3/4',
+ s: '17',
+ },
+ '13': {
+ m: '5/6',
+ s: '18',
+ },
+ '16': {
+ s: '12',
+ },
+ },
+ '13': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: 'Go to the party',
+ s: '14',
+ },
+ '3': {
+ m: '√',
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ m: '√',
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ m: '√',
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ m: '√',
+ s: '14',
+ },
+ },
+ '14': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: 'Purchase Products',
+ s: '14',
+ },
+ '3': {
+ m: '√',
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ m: '√',
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ m: '√',
+ s: '14',
+ },
+ },
+ '15': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: '×××××',
+ s: '14',
+ },
+ '3': {
+ m: '√',
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ s: '14',
+ },
+ },
+ '16': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: '×××××',
+ s: '14',
+ },
+ '3': {
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ s: '14',
+ },
+ },
+ '17': {
+ '0': {
+ s: '12',
+ },
+ '1': {
+ s: '12',
+ },
+ '2': {
+ m: '×××××',
+ s: '14',
+ },
+ '3': {
+ s: '14',
+ },
+ '4': {
+ s: '12',
+ },
+ '5': {
+ m: '×××××',
+ s: '14',
+ },
+ '6': {
+ s: '14',
+ },
+ '7': {
+ s: '12',
+ },
+ '8': {
+ m: '×××××',
+ s: '14',
+ },
+ '9': {
+ s: '14',
+ },
+ '10': {
+ s: '12',
+ },
+ '11': {
+ m: '×××××',
+ s: '14',
+ },
+ '12': {
+ s: '14',
+ },
+ '13': {
+ s: '12',
+ },
+ '14': {
+ m: '×××××',
+ s: '14',
+ },
+ '15': {
+ s: '14',
+ },
+ },
+ '18': {
+ '0': {
+ s: '12',
+ },
+ },
+ '25': {
+ '0': {
+ m: '·',
+ s: '123',
+ },
+ },
+ },
+ tabColor: 'yellow',
+ hidden: BooleanNumber.FALSE,
+ freezeColumn: 1,
+ rowCount: 26,
+ columnCount: 17,
+ freezeRow: 1,
+ zoomRatio: 1,
+ scrollTop: 200,
+ scrollLeft: 100,
+ defaultColumnWidth: 93,
+ defaultRowHeight: 32,
+ mergeData: [
+ {
+ startRow: 0,
+ endRow: 0,
+ startColumn: 0,
+ endColumn: 16,
+ },
+ {
+ startRow: 1,
+ endRow: 17,
+ startColumn: 0,
+ endColumn: 0,
+ },
+ {
+ startRow: 1,
+ endRow: 17,
+ startColumn: 16,
+ endColumn: 16,
+ },
+ {
+ startRow: 1,
+ endRow: 1,
+ startColumn: 1,
+ endColumn: 15,
+ },
+ {
+ startRow: 3,
+ endRow: 3,
+ startColumn: 1,
+ endColumn: 15,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 1,
+ endColumn: 3,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 4,
+ endColumn: 6,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 7,
+ endColumn: 9,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 10,
+ endColumn: 12,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 13,
+ endColumn: 15,
+ },
+ {
+ startRow: 9,
+ endRow: 9,
+ startColumn: 1,
+ endColumn: 15,
+ },
+ {
+ startRow: 11,
+ endRow: 11,
+ startColumn: 1,
+ endColumn: 15,
+ },
+ {
+ startRow: 12,
+ endRow: 12,
+ startColumn: 1,
+ endColumn: 3,
+ },
+ {
+ startRow: 12,
+ endRow: 12,
+ startColumn: 4,
+ endColumn: 6,
+ },
+ {
+ startRow: 12,
+ endRow: 12,
+ startColumn: 7,
+ endColumn: 9,
+ },
+ {
+ startRow: 12,
+ endRow: 12,
+ startColumn: 10,
+ endColumn: 12,
+ },
+ {
+ startRow: 12,
+ endRow: 12,
+ startColumn: 13,
+ endColumn: 15,
+ },
+ {
+ startRow: 18,
+ endRow: 22,
+ startColumn: 0,
+ endColumn: 16,
+ },
+ ],
+ rowData: {
+ '0': {
+ h: 70,
+ },
+ '3': {
+ h: 20,
+ },
+ '9': {
+ h: 20,
+ },
+ '10': {
+ h: 40,
+ },
+ '11': {
+ h: 20,
+ },
+ },
+ columnData: {
+ '0': {
+ w: 50,
+ },
+ '1': {
+ w: 20,
+ },
+ '2': {
+ w: 150,
+ },
+ '3': {
+ w: 30,
+ },
+ '4': {
+ w: 20,
+ },
+ '5': {
+ w: 150,
+ },
+ '6': {
+ w: 30,
+ },
+ '7': {
+ w: 20,
+ },
+ '8': {
+ w: 150,
+ },
+ '9': {
+ w: 30,
+ },
+ '10': {
+ w: 20,
+ },
+ '11': {
+ w: 150,
+ },
+ '12': {
+ w: 30,
+ },
+ '13': {
+ w: 20,
+ },
+ '14': {
+ w: 150,
+ },
+ '15': {
+ w: 30,
+ },
+ '16': {
+ w: 50,
+ },
+ },
+ status: 1,
+ showGridlines: 0,
+ hideRow: [],
+ hideColumn: [],
+ rowTitle: {
+ width: 46,
+ hidden: BooleanNumber.FALSE,
+ },
+ columnTitle: {
+ height: 20,
+ hidden: BooleanNumber.FALSE,
+ },
+ selections: ['A2'],
+ rightToLeft: BooleanNumber.FALSE,
+ pluginMeta: {},
+ },
+ },
+ namedRanges: [
+ {
+ namedRangeId: 'named-rang',
+ name: 'namedRange',
+ range: {
+ sheetId: 'sheet-0001',
+ rangeData: {
+ startRow: 0,
+ startColumn: 0,
+ endRow: 1,
+ endColumn: 1,
+ },
+ },
+ },
+ ],
+};
diff --git a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO3.ts b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO3.ts
new file mode 100644
index 0000000000..1536a1a84f
--- /dev/null
+++ b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO3.ts
@@ -0,0 +1,1771 @@
+import { BlockType, BooleanNumber, BorderStyleTypes, IDocumentData, IWorkbookConfig, LocaleType, ParagraphElementType, SheetTypes } from '@univer/core';
+
+const richTextDemo: IDocumentData = {
+ documentId: 'd',
+ body: {
+ blockElements: {
+ oneParagraph: {
+ blockId: 'oneParagraph',
+ st: 0,
+ ed: 15,
+ blockType: BlockType.PARAGRAPH,
+ paragraph: {
+ elements: {
+ oneElement: {
+ eId: 'oneElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: 'Instructions:',
+ ts: {
+ cl: {
+ rgb: 'rgb(92,92,92)',
+ },
+ },
+ },
+ },
+ twoElement: {
+ eId: 'twoElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: '①Project division - Fill in the specific division of labor after the project is disassembled:',
+ ts: {
+ cl: {
+ rgb: 'rgb(92,92,92)',
+ },
+ },
+ },
+ },
+ threeElement: {
+ eId: 'threeElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: "②Responsible Person - Enter the responsible person's name here:",
+ ts: {
+ cl: {
+ rgb: 'rgb(92,92,92)',
+ },
+ },
+ },
+ },
+ fourElement: {
+ eId: 'fourElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: '③Date-The specific execution time of the project (detailed to the date of a certain month), and the gray color block marks the planned real-time time of the division of labor of the project (for example,',
+ ts: {
+ cl: {
+ rgb: 'rgb(92,92,92)',
+ },
+ },
+ },
+ },
+ fiveElement: {
+ eId: 'fiveElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: 'the specific execution time of [regional scene model arrangement and construction] is the 2 days marked in gray. ',
+ ts: {
+ cl: {
+ rgb: 'rgb(92,92,92)',
+ },
+ },
+ },
+ },
+ },
+ elementOrder: [
+ {
+ elementId: 'oneElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ {
+ elementId: 'breakElement',
+ paragraphElementType: ParagraphElementType.PAGE_BREAK,
+ },
+ {
+ elementId: 'twoElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ {
+ elementId: 'breakElement1',
+ paragraphElementType: ParagraphElementType.PAGE_BREAK,
+ },
+ {
+ elementId: 'threeElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ {
+ elementId: 'breakElement2',
+ paragraphElementType: ParagraphElementType.PAGE_BREAK,
+ },
+ {
+ elementId: 'fourElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ {
+ elementId: 'breakElement2',
+ paragraphElementType: ParagraphElementType.PAGE_BREAK,
+ },
+ {
+ elementId: 'fiveElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ ],
+ paragraphStyle: {
+ spaceAbove: 10,
+ lineSpacing: 1.2,
+ },
+ },
+ },
+ },
+ blockElementOrder: ['oneParagraph'],
+ },
+ documentStyle: {
+ pageSize: {
+ width: Infinity,
+ height: Infinity,
+ },
+ marginTop: 0,
+ marginBottom: 0,
+ marginRight: 2,
+ marginLeft: 2,
+ },
+};
+
+export const DEFAULT_WORKBOOK_DATA_DEMO3: IWorkbookConfig = {
+ id: 'workbook-06',
+ theme: 'default',
+ locale: LocaleType.EN,
+ creator: 'univer',
+ name: 'universheet',
+ skin: 'default',
+ socketUrl: '',
+ socketEnable: BooleanNumber.FALSE,
+ extensions: [],
+ sheetOrder: [],
+ pluginMeta: {},
+ styles: {
+ '1': {
+ fs: 30,
+ vt: 2,
+ bl: 1,
+ pd: {
+ l: 5,
+ },
+ },
+ '2': {
+ vt: 2,
+ bl: 1,
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ pd: {
+ l: 5,
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '3': {
+ vt: 2,
+ bl: 1,
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '4': {
+ bl: 1,
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ ht: 2,
+ },
+ '5': {
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ },
+ '6': {
+ vt: 2,
+ ht: 2,
+ fs: 12,
+ cl: {
+ rgb: 'rgb(1,136,251)',
+ },
+ },
+ '7': {
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,251,224)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '8': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: 'rgb(1,136,251)',
+ },
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,251,224)',
+ },
+ },
+ '9': {
+ vt: 2,
+ pd: {
+ l: 25,
+ },
+ },
+ '10': {
+ bg: {
+ rgb: '#bf9000',
+ },
+ pd: {
+ l: 5,
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '11': {
+ vt: 2,
+ ht: 2,
+ fs: 24,
+ bg: {
+ rgb: 'rgb(183,83,119)',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ '12': {
+ bg: {
+ rgb: 'rgb(248,237,241)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '13': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(244,186,112)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '14': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(248,237,241)',
+ },
+ bd: {
+ b: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(218,170,186)',
+ },
+ },
+ },
+ },
+ '15': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(246,131,131)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '16': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(207,98,170)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '17': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(172,135,188)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '18': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(97,170,206)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '19': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(244,186,112,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '20': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(246,131,131,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '21': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(207,98,170,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '22': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(172,135,188,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '23': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(97,170,206,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '24': {
+ bg: {
+ rgb: '#3d85c6',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '25': {
+ bg: {
+ rgb: '#c27ba0',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '26': {
+ bg: {
+ rgb: 'rgb(224, 102, 102)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '27': {
+ bg: {
+ rgb: '#f90',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '28': {
+ bg: {
+ rgb: '#76a5af',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '29': {
+ bg: {
+ rgb: '#38761d',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '30': {
+ vt: 2,
+ ht: 2,
+ fs: 30,
+ bl: 1,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '31': {
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '32': {
+ vt: 2,
+ tb: 3,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '33': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '34': {
+ vt: 2,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '35': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '36': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '37': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ fs: 14,
+ cl: {
+ rgb: '#fff',
+ },
+ // tr: {
+ // a: 90,
+ // v: 1,
+ // },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '38': {
+ vt: 2,
+ tb: 3,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '39': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '40': {
+ vt: 2,
+ ht: 2,
+ fs: 24,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '41': {
+ ht: 3,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '42': {
+ vt: 2,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '43': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '44': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '45': {
+ vt: 2,
+ tb: 3,
+ pd: {
+ l: 10,
+ r: 10,
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '46': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '47': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '48': {
+ vt: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '49': {
+ vt: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '50': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '51': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '52': {
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '53': {
+ ht: 2,
+ vt: 2,
+ tr: {
+ a: 90,
+ v: 1,
+ },
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '54': {
+ bd: {
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '55': {
+ ht: 3,
+ vt: 3,
+ tb: 3,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ },
+ timeZone: 'GMT+8',
+ createdTime: '2021-11-28 12:10:10',
+ modifiedTime: '2021-11-29 12:10:10',
+ appVersion: '3.0.0-alpha',
+ lastModifiedBy: 'univer',
+ sheets: {
+ 'sheet-0001': {
+ type: SheetTypes.GRID,
+ id: 'sheet-0001',
+ cellData: {
+ '0': {
+ '0': {
+ s: '1',
+ m: 'A Schedule of Items',
+ },
+ },
+ '1': {
+ '0': {
+ s: '2',
+ m: 'Division of Project',
+ },
+ '1': {
+ s: '3',
+ m: 'Responsible Person',
+ },
+ '2': {
+ s: '4',
+ m: 'Date',
+ },
+ },
+ '2': {
+ '0': {
+ m: 'General Project Manager',
+ s: '5',
+ },
+ '1': {
+ m: '@XXX',
+ s: '6',
+ },
+ '2': {
+ m: 'March 1',
+ s: '5',
+ },
+ '3': {
+ m: 'March 2',
+ s: '5',
+ },
+ '4': {
+ m: 'March 3',
+ s: '5',
+ },
+ '5': {
+ m: 'March 4',
+ s: '5',
+ },
+ '6': {
+ m: 'March 5',
+ s: '5',
+ },
+ '7': {
+ m: 'March 6',
+ s: '5',
+ },
+ '8': {
+ m: 'March 7',
+ s: '5',
+ },
+ '9': {
+ m: 'March 8',
+ s: '5',
+ },
+ '10': {
+ m: 'March 9',
+ s: '5',
+ },
+ '11': {
+ m: 'March 10',
+ s: '5',
+ },
+ '12': {
+ m: 'March 11',
+ s: '5',
+ },
+ '13': {
+ m: 'March 12',
+ s: '5',
+ },
+ '14': {
+ m: 'March 13',
+ s: '5',
+ },
+ },
+ '3': {
+ '0': {
+ m: '1、Responsible Person of Model Section',
+ s: '7',
+ },
+ '1': {
+ m: '@George',
+ s: '8',
+ },
+ },
+ '4': {
+ '0': {
+ m: 'Advertisement Signboard',
+ s: '9',
+ },
+ '1': {
+ m: '@Paul',
+ s: '6',
+ },
+ '4': {
+ s: '10',
+ },
+ '5': {
+ s: '10',
+ },
+ '6': {
+ s: '10',
+ },
+ '7': {
+ s: '10',
+ },
+ '8': {
+ s: '10',
+ },
+ '9': {
+ s: '10',
+ },
+ '10': {
+ s: '10',
+ },
+ },
+ '5': {
+ '0': {
+ m: 'Transport Ready',
+ s: '9',
+ },
+ '1': {
+ m: '@George',
+ s: '6',
+ },
+ },
+ '6': {
+ '0': {
+ m: '2、Head of Special Effects Section',
+ s: '7',
+ },
+ '1': {
+ m: '@Paul',
+ s: '8',
+ },
+ },
+ '7': {
+ '0': {
+ m: 'Render Output Parameter Test',
+ s: '9',
+ },
+ '1': {
+ m: '@Paul',
+ s: '6',
+ },
+ '3': {
+ s: '25',
+ },
+ '4': {
+ s: '25',
+ },
+ '5': {
+ s: '25',
+ },
+ '6': {
+ s: '25',
+ },
+ '7': {
+ s: '25',
+ },
+ '8': {
+ s: '25',
+ },
+ '9': {
+ s: '25',
+ },
+ },
+ '8': {
+ '0': {
+ m: 'Camera Moving Mirror',
+ s: '9',
+ },
+ '1': {
+ m: '@Paul',
+ s: '6',
+ },
+ },
+ '9': {
+ '0': {
+ m: '3、Responsible Person of Rendering Section',
+ s: '7',
+ },
+ '1': {
+ m: '@Jennifer',
+ s: '8',
+ },
+ },
+ '10': {
+ '0': {
+ m: 'Scene Dynamic Element Design',
+ s: '9',
+ },
+ '7': {
+ s: '27',
+ },
+ '8': {
+ s: '27',
+ },
+ '9': {
+ s: '27',
+ },
+ '10': {
+ s: '27',
+ },
+ '11': {
+ s: '27',
+ },
+ },
+ '11': {
+ '0': {
+ m: 'Sky Map Selection',
+ s: '9',
+ },
+ },
+ '12': {
+ '0': {
+ m: 'Reference Scenario Data Collection',
+ s: '9',
+ },
+ },
+ '13': {
+ '0': {
+ m: 'Scene Dynamic Element Design',
+ s: '9',
+ },
+ '2': {
+ s: '29',
+ },
+ '3': {
+ s: '29',
+ },
+ '4': {
+ s: '29',
+ },
+ '5': {
+ s: '29',
+ },
+ '6': {
+ s: '29',
+ },
+ '7': {
+ s: '29',
+ },
+ },
+ '14': {
+ '0': {
+ p: richTextDemo,
+ },
+ },
+ },
+ name: 'sheet0001',
+ tabColor: 'red',
+ hidden: BooleanNumber.FALSE,
+ freezeColumn: 1,
+ rowCount: 15,
+ columnCount: 15,
+ freezeRow: 1,
+ zoomRatio: 1,
+ scrollTop: 200,
+ scrollLeft: 100,
+ defaultColumnWidth: 93,
+ defaultRowHeight: 32,
+ mergeData: [
+ {
+ startRow: 0,
+ endRow: 0,
+ startColumn: 0,
+ endColumn: 14,
+ },
+ {
+ startRow: 1,
+ endRow: 1,
+ startColumn: 2,
+ endColumn: 14,
+ },
+ {
+ startRow: 14,
+ endRow: 14,
+ startColumn: 0,
+ endColumn: 14,
+ },
+ ],
+ rowData: {
+ '0': {
+ h: 70,
+ },
+ '2': {
+ h: 20,
+ },
+ '3': {
+ h: 20,
+ },
+ '4': {
+ h: 20,
+ },
+ '5': {
+ h: 20,
+ },
+ '6': {
+ h: 20,
+ },
+ '7': {
+ h: 20,
+ },
+ '8': {
+ h: 20,
+ },
+ '9': {
+ h: 20,
+ },
+ '10': {
+ h: 20,
+ },
+ '11': {
+ h: 20,
+ },
+ '12': {
+ h: 20,
+ },
+ '13': {
+ h: 20,
+ },
+ '14': {
+ h: 200,
+ },
+ },
+ columnData: {
+ '0': {
+ w: 250,
+ },
+ '1': {
+ w: 130,
+ },
+ '2': {
+ w: 60,
+ },
+ '3': {
+ w: 60,
+ },
+ '4': {
+ w: 60,
+ },
+ '5': {
+ w: 60,
+ },
+ '6': {
+ w: 60,
+ },
+ '7': {
+ w: 60,
+ },
+ '8': {
+ w: 60,
+ },
+ '9': {
+ w: 60,
+ },
+ '10': {
+ w: 60,
+ },
+ '11': {
+ w: 60,
+ },
+ '12': {
+ w: 60,
+ },
+ '13': {
+ w: 60,
+ },
+ '14': {
+ w: 60,
+ },
+ },
+ status: 1,
+ showGridlines: 1,
+ hideRow: [],
+ hideColumn: [],
+ rowTitle: {
+ width: 46,
+ hidden: BooleanNumber.FALSE,
+ },
+ columnTitle: {
+ height: 20,
+ hidden: BooleanNumber.FALSE,
+ },
+ selections: ['A2'],
+ rightToLeft: BooleanNumber.FALSE,
+ pluginMeta: {},
+ },
+ },
+ namedRanges: [
+ {
+ namedRangeId: 'named-rang',
+ name: 'namedRange',
+ range: {
+ sheetId: 'sheet-0001',
+ rangeData: {
+ startRow: 0,
+ startColumn: 0,
+ endRow: 1,
+ endColumn: 1,
+ },
+ },
+ },
+ ],
+};
diff --git a/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO4.ts b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO4.ts
new file mode 100644
index 0000000000..77f4b14808
--- /dev/null
+++ b/packages/common-plugin-data/src/Sheets/Demo/DEFAULT_WORKBOOK_DATA_DEMO4.ts
@@ -0,0 +1,1662 @@
+import { BlockType, BooleanNumber, BorderStyleTypes, IDocumentData, IWorkbookConfig, LocaleType, ParagraphElementType, SheetTypes } from '@univer/core';
+
+const richTextDemo1: IDocumentData = {
+ documentId: 'd',
+ body: {
+ blockElements: {
+ oneParagraph: {
+ blockId: 'oneParagraph',
+ st: 0,
+ ed: 15,
+ blockType: BlockType.PARAGRAPH,
+ paragraph: {
+ elements: {
+ oneElement: {
+ eId: 'oneElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: 'No.',
+ ts: {
+ cl: {
+ rgb: '#000',
+ },
+ fs: 20,
+ },
+ },
+ },
+ twoElement: {
+ eId: 'twoElement',
+ st: 0,
+ ed: 15,
+ et: ParagraphElementType.TEXT_RUN,
+ tr: {
+ ct: '2824163',
+ ts: {
+ cl: {
+ rgb: 'rgb(255,0,0)',
+ },
+ fs: 20,
+ },
+ },
+ },
+ },
+ elementOrder: [
+ {
+ elementId: 'oneElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ {
+ elementId: 'twoElement',
+ paragraphElementType: ParagraphElementType.TEXT_RUN,
+ },
+ ],
+ },
+ },
+ },
+ blockElementOrder: ['oneParagraph'],
+ },
+ documentStyle: {
+ pageSize: {
+ width: Infinity,
+ height: Infinity,
+ },
+ marginTop: 0,
+ marginBottom: 0,
+ marginRight: 2,
+ marginLeft: 2,
+ },
+};
+
+export const DEFAULT_WORKBOOK_DATA_DEMO4: IWorkbookConfig = {
+ id: 'workbook-08',
+ theme: 'default',
+ locale: LocaleType.EN,
+ creator: 'univer',
+ name: 'universheet',
+ skin: 'default',
+ socketUrl: '',
+ socketEnable: BooleanNumber.FALSE,
+ extensions: [],
+ sheetOrder: [],
+ pluginMeta: {},
+ styles: {
+ '1': {
+ fs: 30,
+ vt: 2,
+ bl: 1,
+ pd: {
+ l: 5,
+ },
+ },
+ '2': {
+ vt: 2,
+ bl: 1,
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ pd: {
+ l: 5,
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '3': {
+ vt: 2,
+ bl: 1,
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '4': {
+ bl: 1,
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,226,102)',
+ },
+ ht: 2,
+ },
+ '5': {
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ },
+ '6': {
+ vt: 2,
+ ht: 2,
+ fs: 12,
+ cl: {
+ rgb: 'rgb(1,136,251)',
+ },
+ },
+ '7': {
+ vt: 2,
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,251,224)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(217,217,217)',
+ },
+ },
+ },
+ },
+ '8': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: 'rgb(1,136,251)',
+ },
+ pd: {
+ l: 5,
+ },
+ bg: {
+ rgb: 'rgb(255,251,224)',
+ },
+ },
+ '9': {
+ vt: 2,
+ pd: {
+ l: 25,
+ },
+ },
+ '10': {
+ bg: {
+ rgb: '#bf9000',
+ },
+ pd: {
+ l: 5,
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '11': {
+ vt: 2,
+ ht: 2,
+ fs: 24,
+ bg: {
+ rgb: 'rgb(183,83,119)',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ '12': {
+ bg: {
+ rgb: 'rgb(248,237,241)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '13': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(244,186,112)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '14': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(248,237,241)',
+ },
+ bd: {
+ b: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(218,170,186)',
+ },
+ },
+ },
+ },
+ '15': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(246,131,131)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '16': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(207,98,170)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '17': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(172,135,188)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '18': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: 'rgb(97,170,206)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '19': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(244,186,112,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '20': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(246,131,131,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '21': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(207,98,170,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '22': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(172,135,188,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '23': {
+ vt: 2,
+ ht: 2,
+ cl: {
+ rgb: '#fff',
+ },
+ bg: {
+ rgb: 'rgb(97,170,206,0.5)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '24': {
+ bg: {
+ rgb: '#3d85c6',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '25': {
+ bg: {
+ rgb: '#c27ba0',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '26': {
+ bg: {
+ rgb: 'rgb(224, 102, 102)',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '27': {
+ bg: {
+ rgb: '#f90',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '28': {
+ bg: {
+ rgb: '#76a5af',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '29': {
+ bg: {
+ rgb: '#38761d',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '30': {
+ vt: 2,
+ ht: 2,
+ fs: 30,
+ bl: 1,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: null,
+ l: null,
+ r: null,
+ b: null,
+ },
+ },
+ '31': {
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '32': {
+ vt: 2,
+ tb: 3,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '33': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '34': {
+ vt: 2,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '35': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '36': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '37': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ fs: 14,
+ cl: {
+ rgb: '#fff',
+ },
+ // tr: {
+ // a: 90,
+ // v: 1,
+ // },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '38': {
+ vt: 2,
+ tb: 3,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '39': {
+ vt: 2,
+ ht: 2,
+ bg: {
+ rgb: '#6fa8dc',
+ },
+ cl: {
+ rgb: '#fff',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#000',
+ },
+ },
+ },
+ },
+ '40': {
+ vt: 2,
+ ht: 2,
+ fs: 24,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '41': {
+ ht: 3,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '42': {
+ vt: 2,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '43': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '44': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '45': {
+ vt: 2,
+ tb: 3,
+ pd: {
+ l: 10,
+ r: 10,
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '46': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '47': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '48': {
+ vt: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '49': {
+ vt: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '50': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '51': {
+ vt: 2,
+ ht: 2,
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THICK,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ },
+ },
+ },
+ '52': {
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '53': {
+ ht: 2,
+ vt: 2,
+ tr: {
+ a: 90,
+ v: 1,
+ },
+ cl: {
+ rgb: 'rgb(125,133,22)',
+ },
+ bd: {
+ t: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '54': {
+ bd: {
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ '55': {
+ ht: 3,
+ vt: 3,
+ tb: 3,
+ bd: {
+ t: null,
+ l: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ r: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ b: {
+ s: BorderStyleTypes.THIN,
+ cl: {
+ rgb: '#fff',
+ },
+ },
+ },
+ },
+ },
+ timeZone: 'GMT+8',
+ createdTime: '2021-11-28 12:10:10',
+ modifiedTime: '2021-11-29 12:10:10',
+ appVersion: '3.0.0-alpha',
+ lastModifiedBy: 'univer',
+ sheets: {
+ 'sheet-0004': {
+ type: SheetTypes.GRID,
+ id: 'sheet-0004',
+ name: 'sheet0004',
+ cellData: {
+ '0': {
+ '0': {
+ s: '40',
+ },
+ '1': {
+ m: 'Travel Declaration Form',
+ s: '40',
+ },
+ '8': {
+ p: richTextDemo1,
+ s: '41',
+ },
+ '10': {
+ s: '52',
+ },
+ },
+ '1': {
+ '1': {
+ m: 'Department:',
+ s: '42',
+ },
+ '6': {
+ m: 'Application Date:',
+ s: '42',
+ },
+ },
+ '2': {
+ '1': {
+ m: 'Business Trip Employee',
+ s: '43',
+ },
+ '2': {
+ s: '46',
+ },
+ '3': {
+ m: 'Position',
+ s: '46',
+ },
+ '4': {
+ s: '46',
+ },
+ '6': {
+ s: '46',
+ m: 'Entourage',
+ },
+ '7': {
+ s: '47',
+ },
+ '10': {
+ m: 'Borrower write-off',
+ s: '53',
+ },
+ },
+ '3': {
+ '1': {
+ m: 'Business Trip Place',
+ s: '44',
+ },
+ '2': {
+ m: ' To To To',
+ s: '48',
+ },
+ },
+ '4': {
+ '1': {
+ m: 'Amount',
+ s: '44',
+ },
+ '2': {
+ m: '(Capital) 万 仟 佰 拾 元 角 分',
+ s: '49',
+ },
+ '7': {
+ m: '(Lower) ¥',
+ s: '48',
+ },
+ },
+ '5': {
+ '1': {
+ m: 'Departure Time',
+ s: '44',
+ },
+ '2': {
+ s: '49',
+ },
+ '3': {
+ m: 'ETR',
+ s: '50',
+ },
+ '5': {
+ s: '50',
+ },
+ '8': {
+ m: 'Days',
+ s: '50',
+ },
+ '9': {
+ s: '48',
+ },
+ },
+ '6': {
+ '1': {
+ m: 'Reasons',
+ s: '44',
+ },
+ '2': {
+ s: '48',
+ },
+ },
+ '7': {
+ '1': {
+ m: 'Applicant For Travel',
+ s: '44',
+ },
+ '2': {
+ s: '50',
+ },
+ '3': {
+ m: 'Administrator',
+ s: '50',
+ },
+ '4': {
+ s: '50',
+ },
+ '6': {
+ m: 'Financial Manager',
+ s: '50',
+ },
+ '7': {
+ s: '50',
+ },
+ '9': {
+ m: 'Payee',
+ s: '51',
+ },
+ },
+ '8': {
+ '1': {
+ m: 'Department Head',
+ s: '44',
+ },
+ '2': {
+ s: '50',
+ },
+ '3': {
+ m: 'Manager',
+ s: '50',
+ },
+ '4': {
+ s: '50',
+ },
+ '6': {
+ m: 'Cashier',
+ s: '50',
+ },
+ '7': {
+ s: '50',
+ },
+ '9': {
+ s: '51',
+ },
+ },
+ '9': {
+ '1': {
+ m: 'Record: The loan is used exclusively for travel expenses, and the travel expenses will not be written off without a business trip application.',
+ s: '45',
+ },
+ },
+ },
+ tabColor: 'blue',
+ hidden: BooleanNumber.FALSE,
+ freezeColumn: 1,
+ rowCount: 10,
+ columnCount: 11,
+ freezeRow: 1,
+ zoomRatio: 1,
+ scrollTop: 200,
+ scrollLeft: 100,
+ defaultColumnWidth: 93,
+ defaultRowHeight: 40,
+ mergeData: [
+ {
+ startRow: 0,
+ endRow: 1,
+ startColumn: 10,
+ endColumn: 10,
+ },
+ {
+ startRow: 0,
+ endRow: 9,
+ startColumn: 0,
+ endColumn: 0,
+ },
+ {
+ startRow: 0,
+ endRow: 0,
+ startColumn: 1,
+ endColumn: 7,
+ },
+ {
+ startRow: 0,
+ endRow: 0,
+ startColumn: 8,
+ endColumn: 9,
+ },
+ {
+ startRow: 1,
+ endRow: 1,
+ startColumn: 1,
+ endColumn: 4,
+ },
+ {
+ startRow: 1,
+ endRow: 1,
+ startColumn: 6,
+ endColumn: 9,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 4,
+ endColumn: 5,
+ },
+ {
+ startRow: 2,
+ endRow: 2,
+ startColumn: 7,
+ endColumn: 9,
+ },
+ {
+ startRow: 3,
+ endRow: 3,
+ startColumn: 2,
+ endColumn: 9,
+ },
+ {
+ startRow: 4,
+ endRow: 4,
+ startColumn: 2,
+ endColumn: 6,
+ },
+ {
+ startRow: 4,
+ endRow: 4,
+ startColumn: 7,
+ endColumn: 9,
+ },
+ {
+ startRow: 5,
+ endRow: 5,
+ startColumn: 3,
+ endColumn: 4,
+ },
+ {
+ startRow: 5,
+ endRow: 5,
+ startColumn: 5,
+ endColumn: 7,
+ },
+ {
+ startRow: 6,
+ endRow: 6,
+ startColumn: 2,
+ endColumn: 9,
+ },
+ {
+ startRow: 7,
+ endRow: 7,
+ startColumn: 4,
+ endColumn: 5,
+ },
+ {
+ startRow: 8,
+ endRow: 8,
+ startColumn: 7,
+ endColumn: 8,
+ },
+ {
+ startRow: 8,
+ endRow: 8,
+ startColumn: 4,
+ endColumn: 5,
+ },
+ {
+ startRow: 7,
+ endRow: 7,
+ startColumn: 7,
+ endColumn: 8,
+ },
+ {
+ startRow: 9,
+ endRow: 9,
+ startColumn: 1,
+ endColumn: 9,
+ },
+ {
+ startRow: 2,
+ endRow: 9,
+ startColumn: 10,
+ endColumn: 10,
+ },
+ ],
+ rowData: {
+ '0': {
+ h: 50,
+ },
+ '1': {
+ h: 20,
+ },
+ '6': {
+ h: 150,
+ },
+ '9': {
+ h: 30,
+ },
+ },
+ columnData: {
+ '0': {
+ w: 20,
+ },
+ '1': {
+ w: 180,
+ },
+ '2': {
+ w: 120,
+ },
+ '4': {
+ w: 60,
+ },
+ '5': {
+ w: 60,
+ },
+ '7': {
+ w: 30,
+ },
+ '8': {
+ w: 90,
+ },
+ '10': {
+ w: 40,
+ },
+ },
+ status: 1,
+ showGridlines: 0,
+ hideRow: [],
+ hideColumn: [],
+ rowTitle: {
+ width: 46,
+ hidden: BooleanNumber.FALSE,
+ },
+ columnTitle: {
+ height: 20,
+ hidden: BooleanNumber.FALSE,
+ },
+ selections: ['A2'],
+ rightToLeft: BooleanNumber.FALSE,
+ pluginMeta: {},
+ },
+ },
+ namedRanges: [
+ {
+ namedRangeId: 'named-rang',
+ name: 'namedRange',
+ range: {
+ sheetId: 'sheet-0001',
+ rangeData: {
+ startRow: 0,
+ startColumn: 0,
+ endRow: 1,
+ endColumn: 1,
+ },
+ },
+ },
+ ],
+};
diff --git a/packages/common-plugin-data/src/Sheets/Demo/index.ts b/packages/common-plugin-data/src/Sheets/Demo/index.ts
new file mode 100644
index 0000000000..813a69d6ce
--- /dev/null
+++ b/packages/common-plugin-data/src/Sheets/Demo/index.ts
@@ -0,0 +1,5 @@
+export * from './DEFAULT_WORKBOOK_DATA_DEMO';
+export * from './DEFAULT_WORKBOOK_DATA_DEMO1';
+export * from './DEFAULT_WORKBOOK_DATA_DEMO2';
+export * from './DEFAULT_WORKBOOK_DATA_DEMO3';
+export * from './DEFAULT_WORKBOOK_DATA_DEMO4';
diff --git a/packages/common-plugin-data/src/Sheets/index.ts b/packages/common-plugin-data/src/Sheets/index.ts
index 35bb8ba129..d3c4a39312 100644
--- a/packages/common-plugin-data/src/Sheets/index.ts
+++ b/packages/common-plugin-data/src/Sheets/index.ts
@@ -1,3 +1,9 @@
// @index('./*.ts', f => `export * from '${f.path}'`)
export * from './DEFAULT_WORKBOOK_DATA';
+export * from './Demo';
+export * from './Demo/DEFAULT_WORKBOOK_DATA_DEMO';
+export * from './Demo/DEFAULT_WORKBOOK_DATA_DEMO1';
+export * from './Demo/DEFAULT_WORKBOOK_DATA_DEMO2';
+export * from './Demo/DEFAULT_WORKBOOK_DATA_DEMO3';
+export * from './Demo/DEFAULT_WORKBOOK_DATA_DEMO4';
// @endindex
diff --git a/packages/core/src/Basics/SheetContext.ts b/packages/core/src/Basics/SheetContext.ts
index 71ac3f5128..a933e27723 100644
--- a/packages/core/src/Basics/SheetContext.ts
+++ b/packages/core/src/Basics/SheetContext.ts
@@ -34,4 +34,8 @@ export class SheetContext extends ContextBase {
): Observable<PropsFrom<WorkBookObserver[Key]>> {
return this.getObserverManager().requiredObserver(value, 'core');
}
+
+ refreshWorkbook(univerSheetData: Partial<IWorkbookConfig> = {}) {
+ this._workbook = new Workbook(univerSheetData, this);
+ }
}
diff --git a/packages/core/src/Basics/UniverSheet.ts b/packages/core/src/Basics/UniverSheet.ts
index ac03ab5be2..669f248a19 100644
--- a/packages/core/src/Basics/UniverSheet.ts
+++ b/packages/core/src/Basics/UniverSheet.ts
@@ -131,4 +131,8 @@ export class UniverSheet {
return { workbookConfig, ...pluginConfig };
}
+
+ refreshWorkbook(univerSheetData: Partial<IWorkbookConfig> = {}) {
+ this._context.refreshWorkbook(univerSheetData);
+ }
}
diff --git a/packages/core/src/Shared/Migrate/Migrate.ts b/packages/core/src/Shared/Migrate/Migrate.ts
index a3cbac1293..a5b0d6ca81 100644
--- a/packages/core/src/Shared/Migrate/Migrate.ts
+++ b/packages/core/src/Shared/Migrate/Migrate.ts
@@ -22,11 +22,11 @@ export function migrate(config: any): Partial<IWorkbookConfig> {
const newSheet: Partial<IWorksheetConfig> = {};
// id
- if (sheet.hasOwnProperty('index')) {
- newSheet.id = sheet.index as string;
- } else {
- newSheet.id = nanoid(6);
- }
+ // if (sheet.hasOwnProperty('index')) {
+ // newSheet.id = sheet.index as string;
+ // } else {
+ newSheet.id = nanoid(6);
+ // }
// 缩放比例
if (sheet.hasOwnProperty('zoomRatio')) {
diff --git a/packages/core/src/Shared/Tools.ts b/packages/core/src/Shared/Tools.ts
index 200215d770..e0e2109780 100644
--- a/packages/core/src/Shared/Tools.ts
+++ b/packages/core/src/Shared/Tools.ts
@@ -664,4 +664,13 @@ export class Tools {
return resultJsonObject as unknown as T;
}
+
+ static commonExtend1<T>(originJson: object, extendJson: object): T {
+ for (let attr in originJson) {
+ if (extendJson[attr] == null) {
+ extendJson[attr] = originJson[attr];
+ }
+ }
+ return extendJson as unknown as T;
+ }
}
diff --git a/packages/core/src/Sheets/Apply/RemoveSheet.ts b/packages/core/src/Sheets/Apply/RemoveSheet.ts
index e3c1c11ef7..c819954d2e 100644
--- a/packages/core/src/Sheets/Apply/RemoveSheet.ts
+++ b/packages/core/src/Sheets/Apply/RemoveSheet.ts
@@ -17,8 +17,16 @@ export function RemoveSheet(
const removeSheet = sheets[sheetId];
const removeIndex = config.sheetOrder.findIndex((id) => id === sheetId);
delete sheets[sheetId];
+
+ if (removeIndex !== config.sheetOrder.length - 1) {
+ sheets[config.sheetOrder[removeIndex + 1]].status = 1;
+ } else {
+ sheets[config.sheetOrder[removeIndex - 1]].status = 1;
+ }
+
config.sheetOrder.splice(removeIndex, 1);
iSheets.delete(sheetId);
+
return {
index: removeIndex,
sheet: removeSheet as IWorksheetConfig,
diff --git a/packages/core/src/Sheets/Domain/Worksheet.ts b/packages/core/src/Sheets/Domain/Worksheet.ts
index 51dfd3f149..e337321626 100644
--- a/packages/core/src/Sheets/Domain/Worksheet.ts
+++ b/packages/core/src/Sheets/Domain/Worksheet.ts
@@ -63,8 +63,6 @@ export class Worksheet {
protected _context: SheetContext;
- protected _workbook: Workbook;
-
protected _config: IWorksheetConfig;
protected _initialized: boolean;
@@ -104,7 +102,8 @@ export class Worksheet {
if (Tools.hasLength(argument, 2)) {
this._context = argument[0];
// this._config = argument[1];
- this._config = Tools.commonExtend(DEFAULT_WORKSHEET, argument[1]);
+
+ this._config = Tools.commonExtend1(DEFAULT_WORKSHEET, argument[1]);
// this._config = Tools.deepMerge({}, DEFAULT_WORKSHEET, argument[1]);
const { columnData, rowData, cellData } = this._config;
@@ -114,7 +113,6 @@ export class Worksheet {
// this._borderStyles = new BorderStyles(this);
this._cellData = new ObjectMatrix<ICellData>(cellData);
// this._protection = new Protection();
- this._workbook = this._context.getWorkBook();
this._commandManager = this._context.getCommandManager();
// this._selection.setWorkSheet(this);
this._rowManager = new RowManager(this, rowData);
@@ -907,7 +905,8 @@ export class Worksheet {
* @returns Sheet — The current sheet.
*/
hideSheet(): Worksheet {
- const { _context, _workbook, _commandManager } = this;
+ const { _context, _commandManager } = this;
+ const _workbook = _context.getWorkBook();
if (!this._config.hidden) {
const observer = _context.getContextObserver('onHideSheetObservable');
const setHiddenAction: ISetWorkSheetHideActionData = {
diff --git a/packages/sheets-plugin-comment/src/UI/CommentButton.tsx b/packages/sheets-plugin-comment/src/UI/CommentButton.tsx
index aeb420e018..6723772db0 100644
--- a/packages/sheets-plugin-comment/src/UI/CommentButton.tsx
+++ b/packages/sheets-plugin-comment/src/UI/CommentButton.tsx
@@ -12,13 +12,13 @@ interface IState {
export class CommentButton extends Component<IProps, IState> {
private _localeObserver: Nullable<Observer<Workbook>>;
- Render: BaseComponentRender;
+ private _render: BaseComponentRender;
initialize(props: IProps) {
const component = new SheetPlugin().getPluginByName<BaseComponentSheet>('ComponentSheet')!;
- this.Render = component.getComponentRender();
- const NextIcon = this.Render.renderFunction('NextIcon');
- const CommentIcon = this.Render.renderFunction('CommentIcon');
+ this._render = component.getComponentRender();
+ const NextIcon = this._render.renderFunction('NextIcon');
+ const CommentIcon = this._render.renderFunction('CommentIcon');
// super(props);
const commentState: IToolBarItemProps = {
@@ -102,12 +102,12 @@ export class CommentButton extends Component<IProps, IState> {
}
/**
- * Render the component's HTML
+ * _render the component's HTML
*
* @returns {void}
*/
render(props: IProps, state: IState) {
- const Select = this.Render.renderFunction('Select');
+ const Select = this._render.renderFunction('Select');
const { comment } = state;
// Set Provider for entire Container
diff --git a/packages/sheets-plugin-formula/src/Basic/Const/DEFAULT_FORMULA_DATA.ts b/packages/sheets-plugin-formula/src/Basic/Const/DEFAULT_FORMULA_DATA.ts
index bf90df95f6..5664fbae1b 100644
--- a/packages/sheets-plugin-formula/src/Basic/Const/DEFAULT_FORMULA_DATA.ts
+++ b/packages/sheets-plugin-formula/src/Basic/Const/DEFAULT_FORMULA_DATA.ts
@@ -69,6 +69,30 @@ export const DEFAULT_FORMULA_DATA_DEMO: IFormulaConfig = {
formulaData: {
'workbook-03': {
'sheet-0003': {
+ '11': {
+ '6': {
+ formula: '=PRODUCT(E12:F12)',
+ row: 11,
+ column: 6,
+ sheetId: 'sheet-0003',
+ },
+ },
+ '12': {
+ '6': {
+ formula: '=PRODUCT(E13:F13)',
+ row: 12,
+ column: 6,
+ sheetId: 'sheet-0003',
+ },
+ },
+ '13': {
+ '6': {
+ formula: '=LAMBDA(x,x+2)(E14)',
+ row: 13,
+ column: 6,
+ sheetId: 'sheet-0003',
+ },
+ },
'19': {
'6': {
formula: '=SUM(G12:G19)',
@@ -86,6 +110,30 @@ export const DEFAULT_FORMULA_DATA_DEMO1: IFormulaConfig = {
formulaData: {
'workbook-04': {
'sheet-0003': {
+ '11': {
+ '6': {
+ formula: '=PRODUCT(E12:F12)',
+ row: 11,
+ column: 6,
+ sheetId: 'sheet-0003',
+ },
+ },
+ '12': {
+ '6': {
+ formula: '=PRODUCT(E13:F13)',
+ row: 12,
+ column: 6,
+ sheetId: 'sheet-0003',
+ },
+ },
+ '13': {
+ '6': {
+ formula: '=LAMBDA(x,x+2)(E14)',
+ row: 13,
+ column: 6,
+ sheetId: 'sheet-0003',
+ },
+ },
'19': {
'6': {
formula: '=SUM(G12:G19)',
diff --git a/packages/style-universheet/src/Components/ColorPicker/ColorPicker.tsx b/packages/style-universheet/src/Components/ColorPicker/ColorPicker.tsx
index a56be8d95c..e724dc3633 100644
--- a/packages/style-universheet/src/Components/ColorPicker/ColorPicker.tsx
+++ b/packages/style-universheet/src/Components/ColorPicker/ColorPicker.tsx
@@ -1,5 +1,4 @@
import { BaseColorPickerProps, ColorPickerComponent, Component, createRef, JSXComponent } from '@univer/base-component';
-import { Nullable, Observer, Workbook } from '@univer/core';
import { Button, Tooltip } from '../index';
import { ColorPickerPanel } from './ColorPickerPanel';
import styles from './index.module.less';
@@ -23,15 +22,10 @@ interface IState {
setting: boolean;
styles?: JSX.CSSProperties;
currentLocale: string;
- locale: {
- [index: string]: string;
- };
root: Element | null;
}
class ColorPicker extends Component<BaseColorPickerProps, IState> {
- private _localeObserver: Nullable<Observer<Workbook>>;
-
ulRef = createRef();
initialize(props: BaseColorPickerProps) {
@@ -43,33 +37,10 @@ class ColorPicker extends Component<BaseColorPickerProps, IState> {
setting: false,
styles: {},
currentLocale: '',
- locale: {},
root: null,
};
}
- componentWillMount() {
- // // this.setLocale();
- // this._localeObserver = this._context
- // .getObserverManager()
- // .getObserver<Workbook>('onAfterChangeUILocaleObservable', 'core')
- // ?.add(() => {
- // // this.setLocale();
- // });
- }
-
- componentWillUnmount() {
- // this._context.getObserverManager().getObserver<Workbook>('onAfterChangeUILocaleObservable', 'core')?.remove(this._localeObserver);
- }
-
- setLocale() {
- const locale = this.context.locale;
- const changeLocale = locale.get('toolbar');
- this.setState({
- locale: changeLocale,
- });
- }
-
/**
* Gets the selected color
* @param {string} presetColor new color
@@ -159,9 +130,16 @@ class ColorPicker extends Component<BaseColorPickerProps, IState> {
render() {
const obj = Object.assign(this.state.styles || {}, this.props.style);
+ this.props.lang = this.props.lang ?? {
+ collapse: '',
+ customColor: '',
+ confirmColor: '',
+ cancelColor: '',
+ change: '',
+ };
+
return (
<div className={`${styles.colorPickerOuter} ${this.props.className}`} ref={this.ulRef} style={{ ...obj }}>
- {this.props.slot && this.props.slot.header ? <div className={styles.colorPickerSlot}>{this.props.slot.header.content}</div> : null}
<div
className={styles.colorPicker}
onClick={(e: MouseEvent) => {
@@ -191,7 +169,7 @@ class ColorPicker extends Component<BaseColorPickerProps, IState> {
))}
</div>
<div>
- <Button onClick={this.onSwitch}>{this.state.setting ? this.state.locale.collapse : this.state.locale.customColor}</Button>
+ <Button onClick={this.onSwitch}>{this.state.setting ? this.props.lang.collapse : this.props.lang.customColor}</Button>
</div>
</div>
@@ -207,7 +185,7 @@ class ColorPicker extends Component<BaseColorPickerProps, IState> {
// this.hideSelect();
}}
>
- {this.state.locale.confirmColor}
+ {this.props.lang.confirmColor}
</Button>
<Button
danger
@@ -215,7 +193,7 @@ class ColorPicker extends Component<BaseColorPickerProps, IState> {
this.onCancel();
}}
>
- {this.state.locale.cancelColor}
+ {this.props.lang.cancelColor}
</Button>
<Button
onClick={(e: MouseEvent) => {
@@ -225,7 +203,7 @@ class ColorPicker extends Component<BaseColorPickerProps, IState> {
});
}}
>
- {this.state.locale.change}
+ {this.props.lang.change}
</Button>
</div>
</div>
diff --git a/packages/style-universheet/src/Components/Layout/Layout.tsx b/packages/style-universheet/src/Components/Layout/Layout.tsx
index df24802e3f..543d360093 100644
--- a/packages/style-universheet/src/Components/Layout/Layout.tsx
+++ b/packages/style-universheet/src/Components/Layout/Layout.tsx
@@ -50,7 +50,7 @@ class Layout extends Component<BaseLayoutProps, IState> {
}
render(props: BaseLayoutProps, state: IState) {
- const { children, style, className } = props;
+ const { children, style, className = '' } = props;
const { isAside } = state;
return (
<section
@@ -65,7 +65,7 @@ class Layout extends Component<BaseLayoutProps, IState> {
}
const Header = (props: BaseLayoutProps) => {
- const { children, style, className } = props;
+ const { children, style, className = '' } = props;
return (
<header style={style} className={`${styles.headerWrapper} ${className}`}>
@@ -74,7 +74,7 @@ const Header = (props: BaseLayoutProps) => {
);
};
const Footer = (props: BaseLayoutProps) => {
- const { children, style, className } = props;
+ const { children, style, className = '' } = props;
return (
<footer style={style} className={`${styles.footerWrapper} ${className}`}>
@@ -87,7 +87,7 @@ const Footer = (props: BaseLayoutProps) => {
* use forwardRef, get hold of a specific reference further down the tree
*/
const Content = forwardRef((props: BaseLayoutProps, ref: Ref<HTMLElement>) => {
- const { children, style, className } = props;
+ const { children, style, className = '' } = props;
return (
<main ref={ref} style={style} className={`${styles.contentWrapper} ${className}`}>
@@ -96,7 +96,7 @@ const Content = forwardRef((props: BaseLayoutProps, ref: Ref<HTMLElement>) => {
);
});
const Sider = (props: BaseLayoutProps) => {
- const { children, style, className } = props;
+ const { children, style, className = '' } = props;
return (
<aside style={style} className={`${styles.siderWrapper} ${className}`}>
diff --git a/packages/style-universheet/src/Components/Modal/Modal.tsx b/packages/style-universheet/src/Components/Modal/Modal.tsx
index de9688c1d3..14305d864a 100644
--- a/packages/style-universheet/src/Components/Modal/Modal.tsx
+++ b/packages/style-universheet/src/Components/Modal/Modal.tsx
@@ -48,7 +48,7 @@ class Modal extends Component<BaseModalProps, IState> {
};
render() {
- const { title, width = 500, top = 0, style, children, className, group = [], isDrag = false, mask = true, footer = true } = this.props;
+ const { title, width = 500, top = 0, style, children, className = '', group = [], isDrag = false, mask = true, footer = true } = this.props;
const { visible } = this.state;
return (
diff --git a/packages/style-universheet/src/Components/Radio/Radio.tsx b/packages/style-universheet/src/Components/Radio/Radio.tsx
index b44efd4fd9..c41ae69ad1 100644
--- a/packages/style-universheet/src/Components/Radio/Radio.tsx
+++ b/packages/style-universheet/src/Components/Radio/Radio.tsx
@@ -23,7 +23,7 @@ class RadioGroup extends Component<BaseRadioGroupProps, IState> {
}
render() {
- const { vertical, className } = this.props;
+ const { vertical, className = '' } = this.props;
return (
<div className={`${vertical ? styles.radioGroup : ''} ${className || ''}`}>
{this.props.children.map((item: VNode<BaseRadioIProps>) => {
diff --git a/packages/style-universheet/src/Components/SiderModal/SiderModal.tsx b/packages/style-universheet/src/Components/SiderModal/SiderModal.tsx
index 34c23b5186..38c2fdab36 100644
--- a/packages/style-universheet/src/Components/SiderModal/SiderModal.tsx
+++ b/packages/style-universheet/src/Components/SiderModal/SiderModal.tsx
@@ -15,7 +15,7 @@ class SiderModal extends Component<BaseSiderModalProps> {
}
render(props: BaseSiderModalProps) {
- const { className, style } = props;
+ const { className = '', style } = props;
return (
<div className={`${Style.siderModal} ${className}`} style={{ ...style }}>
<div className={Style.siderModalHeader}>
diff --git a/packages/style-universheet/src/Components/Tabs/Tabs.tsx b/packages/style-universheet/src/Components/Tabs/Tabs.tsx
index ceaaea0859..43c7a9a33f 100644
--- a/packages/style-universheet/src/Components/Tabs/Tabs.tsx
+++ b/packages/style-universheet/src/Components/Tabs/Tabs.tsx
@@ -85,7 +85,7 @@ export class Tab extends PureComponent<BaseTabProps> {
};
render(props: BaseTabProps, state: BaseTabState) {
- const { children, type = 'line', className } = props;
+ const { children, type = 'line', className = '' } = props;
const classes = joinClassNames(
styles.tabs,
{