Fix App.jsx two-page workflow JSX render and update study app layout
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
export * from './table-properties';
|
||||
export * from './table-float-properties';
|
||||
export * from './table-layout';
|
||||
export * from './table-borders';
|
||||
export * from './table-look';
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import { IBorderOptions } from '../../border';
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export type ITableBordersOptions = {
|
||||
readonly top?: IBorderOptions;
|
||||
readonly bottom?: IBorderOptions;
|
||||
readonly left?: IBorderOptions;
|
||||
readonly right?: IBorderOptions;
|
||||
readonly insideHorizontal?: IBorderOptions;
|
||||
readonly insideVertical?: IBorderOptions;
|
||||
};
|
||||
export declare class TableBorders extends XmlComponent {
|
||||
static readonly NONE: ITableBordersOptions;
|
||||
constructor(options: ITableBordersOptions);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
import { WidthType } from '..';
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export type ITableCellMarginOptions = {
|
||||
readonly marginUnitType?: (typeof WidthType)[keyof typeof WidthType];
|
||||
readonly top?: number;
|
||||
readonly bottom?: number;
|
||||
readonly left?: number;
|
||||
readonly right?: number;
|
||||
};
|
||||
export declare const createTableCellMargin: (options: ITableCellMarginOptions) => XmlComponent | undefined;
|
||||
export declare const createCellMargin: (options: ITableCellMarginOptions) => XmlComponent | undefined;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
import { PositiveUniversalMeasure, UniversalMeasure } from '../../../util/values';
|
||||
export declare const TableAnchorType: {
|
||||
readonly MARGIN: "margin";
|
||||
readonly PAGE: "page";
|
||||
readonly TEXT: "text";
|
||||
};
|
||||
export declare const RelativeHorizontalPosition: {
|
||||
readonly CENTER: "center";
|
||||
readonly INSIDE: "inside";
|
||||
readonly LEFT: "left";
|
||||
readonly OUTSIDE: "outside";
|
||||
readonly RIGHT: "right";
|
||||
};
|
||||
export declare const RelativeVerticalPosition: {
|
||||
readonly CENTER: "center";
|
||||
readonly INSIDE: "inside";
|
||||
readonly BOTTOM: "bottom";
|
||||
readonly OUTSIDE: "outside";
|
||||
readonly INLINE: "inline";
|
||||
readonly TOP: "top";
|
||||
};
|
||||
export declare const OverlapType: {
|
||||
readonly NEVER: "never";
|
||||
readonly OVERLAP: "overlap";
|
||||
};
|
||||
export type ITableFloatOptions = {
|
||||
readonly horizontalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
|
||||
readonly absoluteHorizontalPosition?: number | UniversalMeasure;
|
||||
readonly relativeHorizontalPosition?: (typeof RelativeHorizontalPosition)[keyof typeof RelativeHorizontalPosition];
|
||||
readonly verticalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
|
||||
readonly absoluteVerticalPosition?: number | UniversalMeasure;
|
||||
readonly relativeVerticalPosition?: (typeof RelativeVerticalPosition)[keyof typeof RelativeVerticalPosition];
|
||||
readonly bottomFromText?: number | PositiveUniversalMeasure;
|
||||
readonly topFromText?: number | PositiveUniversalMeasure;
|
||||
readonly leftFromText?: number | PositiveUniversalMeasure;
|
||||
readonly rightFromText?: number | PositiveUniversalMeasure;
|
||||
readonly overlap?: (typeof OverlapType)[keyof typeof OverlapType];
|
||||
};
|
||||
export declare const createTableFloatProperties: ({ horizontalAnchor, verticalAnchor, absoluteHorizontalPosition, relativeHorizontalPosition, absoluteVerticalPosition, relativeVerticalPosition, bottomFromText, topFromText, leftFromText, rightFromText, overlap, }: ITableFloatOptions) => XmlComponent;
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export declare const TableLayoutType: {
|
||||
readonly AUTOFIT: "autofit";
|
||||
readonly FIXED: "fixed";
|
||||
};
|
||||
export declare const createTableLayout: (type: (typeof TableLayoutType)[keyof typeof TableLayoutType]) => XmlComponent;
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export type ITableLookOptions = {
|
||||
readonly firstRow?: boolean;
|
||||
readonly lastRow?: boolean;
|
||||
readonly firstColumn?: boolean;
|
||||
readonly lastColumn?: boolean;
|
||||
readonly noHBand?: boolean;
|
||||
readonly noVBand?: boolean;
|
||||
};
|
||||
export declare const createTableLook: ({ firstRow, lastRow, firstColumn, lastColumn, noHBand, noVBand }: ITableLookOptions) => XmlComponent;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
import { IChangedAttributesProperties } from '../../track-revision/track-revision';
|
||||
import { IgnoreIfEmptyXmlComponent } from '../../xml-components';
|
||||
import { AlignmentType } from '../../paragraph';
|
||||
import { IShadingAttributesProperties } from '../../shading';
|
||||
import { ITableWidthProperties } from '../table-width';
|
||||
import { ITableBordersOptions } from './table-borders';
|
||||
import { ITableCellMarginOptions } from './table-cell-margin';
|
||||
import { ITableFloatOptions } from './table-float-properties';
|
||||
import { TableLayoutType } from './table-layout';
|
||||
import { ITableCellSpacingProperties } from '../table-cell-spacing';
|
||||
import { ITableLookOptions } from './table-look';
|
||||
export type ITablePropertiesOptionsBase = {
|
||||
readonly width?: ITableWidthProperties;
|
||||
readonly indent?: ITableWidthProperties;
|
||||
readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
|
||||
readonly borders?: ITableBordersOptions;
|
||||
readonly float?: ITableFloatOptions;
|
||||
readonly shading?: IShadingAttributesProperties;
|
||||
readonly style?: string;
|
||||
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
|
||||
readonly cellMargin?: ITableCellMarginOptions;
|
||||
readonly visuallyRightToLeft?: boolean;
|
||||
readonly tableLook?: ITableLookOptions;
|
||||
readonly cellSpacing?: ITableCellSpacingProperties;
|
||||
};
|
||||
export type ITablePropertiesChangeOptions = ITablePropertiesOptions & IChangedAttributesProperties;
|
||||
export type ITablePropertiesOptions = {
|
||||
readonly revision?: ITablePropertiesChangeOptions;
|
||||
readonly includeIfEmpty?: boolean;
|
||||
} & ITablePropertiesOptionsBase;
|
||||
export declare class TableProperties extends IgnoreIfEmptyXmlComponent {
|
||||
constructor(options: ITablePropertiesOptions);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Reference in New Issue
Block a user