Fix App.jsx two-page workflow JSX render and update study app layout
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
import { XmlAttributeComponent } from '../../xml-components';
|
||||
import { IDistance } from '../drawing';
|
||||
export type IAnchorAttributes = {
|
||||
readonly allowOverlap?: "0" | "1";
|
||||
readonly behindDoc?: "0" | "1";
|
||||
readonly layoutInCell?: "0" | "1";
|
||||
readonly locked?: "0" | "1";
|
||||
readonly relativeHeight?: number;
|
||||
readonly simplePos?: "0" | "1";
|
||||
} & IDistance;
|
||||
export declare class AnchorAttributes extends XmlAttributeComponent<IAnchorAttributes> {
|
||||
protected readonly xmlKeys: {
|
||||
distT: string;
|
||||
distB: string;
|
||||
distL: string;
|
||||
distR: string;
|
||||
allowOverlap: string;
|
||||
behindDoc: string;
|
||||
layoutInCell: string;
|
||||
locked: string;
|
||||
relativeHeight: string;
|
||||
simplePos: string;
|
||||
};
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import { IExtendedMediaData, IMediaDataTransformation } from '../../media';
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
import { IDrawingOptions } from '../drawing';
|
||||
export declare class Anchor extends XmlComponent {
|
||||
constructor({ mediaData, transform, drawingOptions, }: {
|
||||
readonly mediaData: IExtendedMediaData;
|
||||
readonly transform: IMediaDataTransformation;
|
||||
readonly drawingOptions: IDrawingOptions;
|
||||
});
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
export * from './anchor';
|
||||
export * from './anchor-attributes';
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export declare const createHyperlinkClick: (linkId: string, hasXmlNs: boolean) => XmlComponent;
|
||||
export declare const createHyperlinkHover: (linkId: string, hasXmlNs: boolean) => XmlComponent;
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
import { IContext, IXmlableObject, XmlComponent } from '../../xml-components';
|
||||
export type DocPropertiesOptions = {
|
||||
readonly name: string;
|
||||
readonly description?: string;
|
||||
readonly title?: string;
|
||||
readonly id?: string;
|
||||
};
|
||||
export declare class DocProperties extends XmlComponent {
|
||||
private readonly docPropertiesUniqueNumericId;
|
||||
constructor({ name, description, title, id }?: DocPropertiesOptions);
|
||||
prepForXml(context: IContext): IXmlableObject | undefined;
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
import { IExtendedMediaData } from '../media';
|
||||
import { XmlComponent } from '../xml-components';
|
||||
import { DocPropertiesOptions } from './doc-properties/doc-properties';
|
||||
import { IFloating } from './floating';
|
||||
import { OutlineOptions } from './inline/graphic/graphic-data/pic/shape-properties/outline/outline';
|
||||
import { SolidFillOptions } from './inline/graphic/graphic-data/pic/shape-properties/outline/solid-fill';
|
||||
export type IDistance = {
|
||||
readonly distT?: number;
|
||||
readonly distB?: number;
|
||||
readonly distL?: number;
|
||||
readonly distR?: number;
|
||||
};
|
||||
export type IDrawingOptions = {
|
||||
readonly floating?: IFloating;
|
||||
readonly docProperties?: DocPropertiesOptions;
|
||||
readonly outline?: OutlineOptions;
|
||||
readonly solidFill?: SolidFillOptions;
|
||||
};
|
||||
export declare class Drawing extends XmlComponent {
|
||||
constructor(imageData: IExtendedMediaData, drawingOptions?: IDrawingOptions);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export type EffectExtentAttributes = {
|
||||
readonly top: number;
|
||||
readonly right: number;
|
||||
readonly bottom: number;
|
||||
readonly left: number;
|
||||
};
|
||||
export declare const createEffectExtent: ({ top, right, bottom, left }: EffectExtentAttributes) => XmlComponent;
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
type ExtentAttributes = {
|
||||
readonly x?: number;
|
||||
readonly y?: number;
|
||||
};
|
||||
export declare const createExtent: ({ x, y }: ExtentAttributes) => XmlComponent;
|
||||
export {};
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { HorizontalPositionAlign, VerticalPositionAlign } from '../../shared/alignment';
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export declare const createAlign: (value: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign] | (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign]) => XmlComponent;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
import { HorizontalPositionAlign, VerticalPositionAlign } from '../../shared/alignment';
|
||||
import { ITextWrapping } from '../text-wrap';
|
||||
export declare const HorizontalPositionRelativeFrom: {
|
||||
readonly CHARACTER: "character";
|
||||
readonly COLUMN: "column";
|
||||
readonly INSIDE_MARGIN: "insideMargin";
|
||||
readonly LEFT_MARGIN: "leftMargin";
|
||||
readonly MARGIN: "margin";
|
||||
readonly OUTSIDE_MARGIN: "outsideMargin";
|
||||
readonly PAGE: "page";
|
||||
readonly RIGHT_MARGIN: "rightMargin";
|
||||
};
|
||||
export declare const VerticalPositionRelativeFrom: {
|
||||
readonly BOTTOM_MARGIN: "bottomMargin";
|
||||
readonly INSIDE_MARGIN: "insideMargin";
|
||||
readonly LINE: "line";
|
||||
readonly MARGIN: "margin";
|
||||
readonly OUTSIDE_MARGIN: "outsideMargin";
|
||||
readonly PAGE: "page";
|
||||
readonly PARAGRAPH: "paragraph";
|
||||
readonly TOP_MARGIN: "topMargin";
|
||||
};
|
||||
export type IHorizontalPositionOptions = {
|
||||
readonly relative?: (typeof HorizontalPositionRelativeFrom)[keyof typeof HorizontalPositionRelativeFrom];
|
||||
readonly align?: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
|
||||
readonly offset?: number;
|
||||
};
|
||||
export type IVerticalPositionOptions = {
|
||||
readonly relative?: (typeof VerticalPositionRelativeFrom)[keyof typeof VerticalPositionRelativeFrom];
|
||||
readonly align?: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
|
||||
readonly offset?: number;
|
||||
};
|
||||
export type IMargins = {
|
||||
readonly left?: number;
|
||||
readonly bottom?: number;
|
||||
readonly top?: number;
|
||||
readonly right?: number;
|
||||
};
|
||||
export type IFloating = {
|
||||
readonly horizontalPosition: IHorizontalPositionOptions;
|
||||
readonly verticalPosition: IVerticalPositionOptions;
|
||||
readonly allowOverlap?: boolean;
|
||||
readonly lockAnchor?: boolean;
|
||||
readonly behindDocument?: boolean;
|
||||
readonly layoutInCell?: boolean;
|
||||
readonly margins?: IMargins;
|
||||
readonly wrap?: ITextWrapping;
|
||||
readonly zIndex?: number;
|
||||
};
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
import { IHorizontalPositionOptions } from './floating-position';
|
||||
export declare const createHorizontalPosition: ({ relative, align, offset }: IHorizontalPositionOptions) => XmlComponent;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export * from './floating-position';
|
||||
export * from './simple-pos';
|
||||
export * from './horizontal-position';
|
||||
export * from './vertical-position';
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export declare const createPositionOffset: (offsetValue: number) => XmlComponent;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export declare const createSimplePos: () => XmlComponent;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
import { IVerticalPositionOptions } from './floating-position';
|
||||
export declare const createVerticalPosition: ({ relative, align, offset }: IVerticalPositionOptions) => XmlComponent;
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Generated
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
import { XmlAttributeComponent } from '../../../xml-components';
|
||||
export declare class GraphicFrameLockAttributes extends XmlAttributeComponent<{
|
||||
readonly xmlns?: string;
|
||||
readonly noChangeAspect?: number;
|
||||
}> {
|
||||
protected readonly xmlKeys: {
|
||||
xmlns: string;
|
||||
noChangeAspect: string;
|
||||
};
|
||||
}
|
||||
Generated
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import { XmlComponent } from '../../../xml-components';
|
||||
export declare class GraphicFrameLocks extends XmlComponent {
|
||||
constructor();
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export declare const createGraphicFrameProperties: () => XmlComponent;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
export * from './drawing';
|
||||
export * from './text-wrap';
|
||||
export * from './floating';
|
||||
Generated
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
import { XmlAttributeComponent } from '../../../../xml-components';
|
||||
export declare class GraphicDataAttributes extends XmlAttributeComponent<{
|
||||
readonly uri?: string;
|
||||
}> {
|
||||
protected readonly xmlKeys: {
|
||||
uri: string;
|
||||
};
|
||||
}
|
||||
Generated
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
import { IExtendedMediaData, IMediaDataTransformation } from '../../../../media';
|
||||
import { XmlComponent } from '../../../../xml-components';
|
||||
import { OutlineOptions } from './pic/shape-properties/outline/outline';
|
||||
import { SolidFillOptions } from './pic/shape-properties/outline/solid-fill';
|
||||
export declare class GraphicData extends XmlComponent {
|
||||
constructor({ mediaData, transform, outline, solidFill, }: {
|
||||
readonly mediaData: IExtendedMediaData;
|
||||
readonly transform: IMediaDataTransformation;
|
||||
readonly outline?: OutlineOptions;
|
||||
readonly solidFill?: SolidFillOptions;
|
||||
});
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export * from './graphic-data';
|
||||
Generated
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
import { IMediaData } from '../../../../../../media';
|
||||
import { XmlComponent } from '../../../../../../xml-components';
|
||||
export declare const createExtentionList: (mediaData: IMediaData) => XmlComponent;
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
import { IMediaData } from '../../../../../../media';
|
||||
import { XmlComponent } from '../../../../../../xml-components';
|
||||
export declare class BlipFill extends XmlComponent {
|
||||
constructor(mediaData: IMediaData);
|
||||
}
|
||||
Generated
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
import { IMediaData } from '../../../../../../media';
|
||||
import { XmlComponent } from '../../../../../../xml-components';
|
||||
export declare const createBlip: (mediaData: IMediaData) => XmlComponent;
|
||||
Generated
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import { XmlComponent } from '../../../../../../xml-components';
|
||||
export declare class SourceRectangle extends XmlComponent {
|
||||
constructor();
|
||||
}
|
||||
Generated
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import { XmlComponent } from '../../../../../../xml-components';
|
||||
export declare class Stretch extends XmlComponent {
|
||||
constructor();
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export * from './pic';
|
||||
Generated
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import { XmlComponent } from '../../../../../../../xml-components';
|
||||
export declare class ChildNonVisualProperties extends XmlComponent {
|
||||
constructor();
|
||||
}
|
||||
Generated
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
import { XmlAttributeComponent } from '../../../../../../../../xml-components';
|
||||
export declare class PicLocksAttributes extends XmlAttributeComponent<{
|
||||
readonly noChangeAspect?: number;
|
||||
readonly noChangeArrowheads?: number;
|
||||
}> {
|
||||
protected readonly xmlKeys: {
|
||||
noChangeAspect: string;
|
||||
noChangeArrowheads: string;
|
||||
};
|
||||
}
|
||||
Generated
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import { XmlComponent } from '../../../../../../../../xml-components';
|
||||
export declare class PicLocks extends XmlComponent {
|
||||
constructor();
|
||||
}
|
||||
Generated
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import { XmlComponent } from '../../../../../../xml-components';
|
||||
export declare class NonVisualPicProperties extends XmlComponent {
|
||||
constructor();
|
||||
}
|
||||
Generated
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
import { XmlAttributeComponent } from '../../../../../../../xml-components';
|
||||
export declare class NonVisualPropertiesAttributes extends XmlAttributeComponent<{
|
||||
readonly id?: number;
|
||||
readonly name?: string;
|
||||
readonly descr?: string;
|
||||
}> {
|
||||
protected readonly xmlKeys: {
|
||||
id: string;
|
||||
name: string;
|
||||
descr: string;
|
||||
};
|
||||
}
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
import { IContext, IXmlableObject, XmlComponent } from '../../../../../../../xml-components';
|
||||
export declare class NonVisualProperties extends XmlComponent {
|
||||
constructor();
|
||||
prepForXml(context: IContext): IXmlableObject | undefined;
|
||||
}
|
||||
Generated
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
import { XmlAttributeComponent } from '../../../../../xml-components';
|
||||
export declare class PicAttributes extends XmlAttributeComponent<{
|
||||
readonly xmlns?: string;
|
||||
}> {
|
||||
protected readonly xmlKeys: {
|
||||
xmlns: string;
|
||||
};
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import { IMediaData, IMediaDataTransformation } from '../../../../../media';
|
||||
import { XmlComponent } from '../../../../../xml-components';
|
||||
import { OutlineOptions } from './shape-properties/outline/outline';
|
||||
export declare class Pic extends XmlComponent {
|
||||
constructor({ mediaData, transform, outline, }: {
|
||||
readonly mediaData: IMediaData;
|
||||
readonly transform: IMediaDataTransformation;
|
||||
readonly outline?: OutlineOptions;
|
||||
});
|
||||
}
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Generated
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
import { XmlAttributeComponent } from '../../../../../../../../xml-components';
|
||||
export declare class ExtentsAttributes extends XmlAttributeComponent<{
|
||||
readonly cx?: number;
|
||||
readonly cy?: number;
|
||||
}> {
|
||||
protected readonly xmlKeys: {
|
||||
cx: string;
|
||||
cy: string;
|
||||
};
|
||||
}
|
||||
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
import { XmlComponent } from '../../../../../../../../xml-components';
|
||||
export declare class Extents extends XmlComponent {
|
||||
private readonly attributes;
|
||||
constructor(x: number, y: number);
|
||||
}
|
||||
Generated
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
import { IMediaDataTransformation } from '../../../../../../../media';
|
||||
import { XmlAttributeComponent, XmlComponent } from '../../../../../../../xml-components';
|
||||
export declare class FormAttributes extends XmlAttributeComponent<{
|
||||
readonly flipVertical?: boolean;
|
||||
readonly flipHorizontal?: boolean;
|
||||
readonly rotation?: number;
|
||||
}> {
|
||||
protected readonly xmlKeys: {
|
||||
flipVertical: string;
|
||||
flipHorizontal: string;
|
||||
rotation: string;
|
||||
};
|
||||
}
|
||||
export declare class Form extends XmlComponent {
|
||||
private readonly extents;
|
||||
private readonly offset;
|
||||
constructor(options: IMediaDataTransformation);
|
||||
}
|
||||
node_modules/docx/dist/file/drawing/inline/graphic/graphic-data/pic/shape-properties/form/index.d.ts
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export * from './form';
|
||||
Generated
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
import { XmlAttributeComponent } from '../../../../../../../../xml-components';
|
||||
export declare class OffsetAttributes extends XmlAttributeComponent<{
|
||||
readonly x?: number;
|
||||
readonly y?: number;
|
||||
}> {
|
||||
protected readonly xmlKeys: {
|
||||
x: string;
|
||||
y: string;
|
||||
};
|
||||
}
|
||||
Generated
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import { XmlComponent } from '../../../../../../../../xml-components';
|
||||
export declare class Offset extends XmlComponent {
|
||||
constructor(x: number | undefined, y: number | undefined);
|
||||
}
|
||||
Generated
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
import { XmlComponent } from '../../../../../../../xml-components';
|
||||
export declare const createNoFill: () => XmlComponent;
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Generated
Vendored
+42
@@ -0,0 +1,42 @@
|
||||
import { XmlComponent } from '../../../../../../../xml-components';
|
||||
import { SchemeColor } from './scheme-color';
|
||||
export declare const LineCap: {
|
||||
readonly ROUND: "rnd";
|
||||
readonly SQUARE: "sq";
|
||||
readonly FLAT: "flat";
|
||||
};
|
||||
export declare const CompoundLine: {
|
||||
readonly SINGLE: "sng";
|
||||
readonly DOUBLE: "dbl";
|
||||
readonly THICK_THIN: "thickThin";
|
||||
readonly THIN_THICK: "thinThick";
|
||||
readonly TRI: "tri";
|
||||
};
|
||||
export declare const PenAlignment: {
|
||||
readonly CENTER: "ctr";
|
||||
readonly INSET: "in";
|
||||
};
|
||||
export type OutlineAttributes = {
|
||||
readonly width?: number;
|
||||
readonly cap?: keyof typeof LineCap;
|
||||
readonly compoundLine?: keyof typeof CompoundLine;
|
||||
readonly align?: keyof typeof PenAlignment;
|
||||
};
|
||||
type OutlineNoFill = {
|
||||
readonly type: "noFill";
|
||||
};
|
||||
type OutlineRgbSolidFill = {
|
||||
readonly type: "solidFill";
|
||||
readonly solidFillType: "rgb";
|
||||
readonly value: string;
|
||||
};
|
||||
type OutlineSchemeSolidFill = {
|
||||
readonly type: "solidFill";
|
||||
readonly solidFillType: "scheme";
|
||||
readonly value: (typeof SchemeColor)[keyof typeof SchemeColor];
|
||||
};
|
||||
type OutlineSolidFill = OutlineRgbSolidFill | OutlineSchemeSolidFill;
|
||||
type OutlineFillProperties = OutlineNoFill | OutlineSolidFill;
|
||||
export type OutlineOptions = OutlineAttributes & OutlineFillProperties;
|
||||
export declare const createOutline: (options: OutlineOptions) => XmlComponent;
|
||||
export {};
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Generated
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
import { XmlComponent } from '../../../../../../../xml-components';
|
||||
type SolidRgbColorOptions = {
|
||||
readonly value: string;
|
||||
};
|
||||
export declare const createSolidRgbColor: (options: SolidRgbColorOptions) => XmlComponent;
|
||||
export {};
|
||||
Generated
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
import { XmlComponent } from '../../../../../../../xml-components';
|
||||
type SchemeColorOptions = {
|
||||
readonly value: (typeof SchemeColor)[keyof typeof SchemeColor];
|
||||
};
|
||||
export declare const SchemeColor: {
|
||||
readonly BG1: "bg1";
|
||||
readonly TX1: "tx1";
|
||||
readonly BG2: "bg2";
|
||||
readonly TX2: "tx2";
|
||||
readonly ACCENT1: "accent1";
|
||||
readonly ACCENT2: "accent2";
|
||||
readonly ACCENT3: "accent3";
|
||||
readonly ACCENT4: "accent4";
|
||||
readonly ACCENT5: "accent5";
|
||||
readonly ACCENT6: "accent6";
|
||||
readonly HLINK: "hlink";
|
||||
readonly FOLHLINK: "folHlink";
|
||||
readonly DK1: "dk1";
|
||||
readonly LT1: "lt1";
|
||||
readonly DK2: "dk2";
|
||||
readonly LT2: "lt2";
|
||||
readonly PHCLR: "phClr";
|
||||
};
|
||||
export declare const createSchemeColor: (options: SchemeColorOptions) => XmlComponent;
|
||||
export {};
|
||||
Generated
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
import { XmlComponent } from '../../../../../../../xml-components';
|
||||
import { SchemeColor } from './scheme-color';
|
||||
export type RgbColorOptions = {
|
||||
readonly type: "rgb";
|
||||
readonly value: string;
|
||||
};
|
||||
export type SchemeColorOptions = {
|
||||
readonly type: "scheme";
|
||||
readonly value: (typeof SchemeColor)[keyof typeof SchemeColor];
|
||||
};
|
||||
export type SolidFillOptions = RgbColorOptions | SchemeColorOptions;
|
||||
export declare const createSolidFill: (options: SolidFillOptions) => XmlComponent;
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
Generated
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import { XmlComponent } from '../../../../../../../../xml-components';
|
||||
export declare class AdjustmentValues extends XmlComponent {
|
||||
constructor();
|
||||
}
|
||||
Generated
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
import { XmlAttributeComponent } from '../../../../../../../xml-components';
|
||||
export declare class PresetGeometryAttributes extends XmlAttributeComponent<{
|
||||
readonly prst?: string;
|
||||
}> {
|
||||
protected readonly xmlKeys: {
|
||||
prst: string;
|
||||
};
|
||||
}
|
||||
Generated
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import { XmlComponent } from '../../../../../../../xml-components';
|
||||
export declare class PresetGeometry extends XmlComponent {
|
||||
constructor();
|
||||
}
|
||||
Generated
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
import { XmlAttributeComponent } from '../../../../../../xml-components';
|
||||
export declare class ShapePropertiesAttributes extends XmlAttributeComponent<{
|
||||
readonly bwMode?: string;
|
||||
}> {
|
||||
protected readonly xmlKeys: {
|
||||
bwMode: string;
|
||||
};
|
||||
}
|
||||
Generated
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
import { IMediaDataTransformation } from '../../../../../../media';
|
||||
import { XmlComponent } from '../../../../../../xml-components';
|
||||
import { OutlineOptions } from './outline/outline';
|
||||
import { SolidFillOptions } from './outline/solid-fill';
|
||||
export declare class ShapeProperties extends XmlComponent {
|
||||
private readonly form;
|
||||
constructor({ element, outline, solidFill, transform, }: {
|
||||
readonly element: string;
|
||||
readonly outline?: OutlineOptions;
|
||||
readonly solidFill?: SolidFillOptions;
|
||||
readonly transform: IMediaDataTransformation;
|
||||
});
|
||||
}
|
||||
Generated
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
import { IMediaDataTransformation } from '../../../../../media';
|
||||
import { XmlComponent } from '../../../../../xml-components';
|
||||
export type GroupChild = XmlComponent;
|
||||
export type WpgGroupCoreOptions = {
|
||||
readonly children: readonly GroupChild[];
|
||||
};
|
||||
export type WpgGroupOptions = WpgGroupCoreOptions & {
|
||||
readonly transformation: IMediaDataTransformation;
|
||||
};
|
||||
export declare const createWpgGroup: (options: WpgGroupOptions) => XmlComponent;
|
||||
Generated
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
import { TextWrappingType } from '../../../../text-wrap';
|
||||
import { XmlComponent } from '../../../../../xml-components';
|
||||
export declare enum VerticalAnchor {
|
||||
CENTER = "ctr",
|
||||
TOP = "t",
|
||||
BOTTOM = "b"
|
||||
}
|
||||
export type IBodyPropertiesOptions = {
|
||||
readonly wrap?: (typeof TextWrappingType)[keyof typeof TextWrappingType];
|
||||
readonly verticalAnchor?: VerticalAnchor;
|
||||
readonly margins?: {
|
||||
readonly top?: number;
|
||||
readonly bottom?: number;
|
||||
readonly left?: number;
|
||||
readonly right?: number;
|
||||
};
|
||||
readonly noAutoFit?: boolean;
|
||||
};
|
||||
export declare const createBodyProperties: (options?: IBodyPropertiesOptions) => XmlComponent;
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
export * from './wps-shape';
|
||||
export * from './body-properties';
|
||||
node_modules/docx/dist/file/drawing/inline/graphic/graphic-data/wps/non-visual-shape-properties.d.ts
Generated
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
import { XmlComponent } from '../../../../../xml-components';
|
||||
export type INonVisualShapePropertiesOptions = {
|
||||
readonly txBox: string;
|
||||
};
|
||||
export declare const createNonVisualShapeProperties: (options?: INonVisualShapePropertiesOptions) => XmlComponent;
|
||||
Generated
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
import { Paragraph } from '../../../../../paragraph';
|
||||
import { XmlComponent } from '../../../../../xml-components';
|
||||
export declare const createTextBoxContent: (children: readonly Paragraph[]) => XmlComponent;
|
||||
Generated
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
import { IMediaDataTransformation } from '../../../../../media';
|
||||
import { Paragraph } from '../../../../../paragraph';
|
||||
import { XmlComponent } from '../../../../../xml-components';
|
||||
import { IBodyPropertiesOptions } from './body-properties';
|
||||
import { INonVisualShapePropertiesOptions } from './non-visual-shape-properties';
|
||||
import { OutlineOptions } from '../pic/shape-properties/outline/outline';
|
||||
import { SolidFillOptions } from '../pic/shape-properties/outline/solid-fill';
|
||||
export type WpsShapeCoreOptions = {
|
||||
readonly children: readonly Paragraph[];
|
||||
readonly nonVisualProperties?: INonVisualShapePropertiesOptions;
|
||||
readonly bodyProperties?: IBodyPropertiesOptions;
|
||||
};
|
||||
export type WpsShapeOptions = WpsShapeCoreOptions & {
|
||||
readonly transformation: IMediaDataTransformation;
|
||||
readonly outline?: OutlineOptions;
|
||||
readonly solidFill?: SolidFillOptions;
|
||||
};
|
||||
export declare const createWpsShape: (options: WpsShapeOptions) => XmlComponent;
|
||||
Generated
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
import { Paragraph } from '../../../../../paragraph';
|
||||
import { XmlComponent } from '../../../../../xml-components';
|
||||
export declare const createWpsTextBox: (children: readonly Paragraph[]) => XmlComponent;
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
import { IExtendedMediaData, IMediaDataTransformation } from '../../../media';
|
||||
import { XmlComponent } from '../../../xml-components';
|
||||
import { OutlineOptions } from './graphic-data/pic/shape-properties/outline/outline';
|
||||
import { SolidFillOptions } from './graphic-data/pic/shape-properties/outline/solid-fill';
|
||||
export declare class Graphic extends XmlComponent {
|
||||
private readonly data;
|
||||
constructor({ mediaData, transform, outline, solidFill, }: {
|
||||
readonly mediaData: IExtendedMediaData;
|
||||
readonly transform: IMediaDataTransformation;
|
||||
readonly outline?: OutlineOptions;
|
||||
readonly solidFill?: SolidFillOptions;
|
||||
});
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
export * from './graphic';
|
||||
+1
@@ -0,0 +1 @@
|
||||
export * from './inline';
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import { IExtendedMediaData, IMediaDataTransformation } from '../../media';
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
import { DocPropertiesOptions } from './../doc-properties/doc-properties';
|
||||
import { OutlineOptions } from './graphic/graphic-data/pic/shape-properties/outline/outline';
|
||||
import { SolidFillOptions } from './graphic/graphic-data/pic/shape-properties/outline/solid-fill';
|
||||
type InlineOptions = {
|
||||
readonly mediaData: IExtendedMediaData;
|
||||
readonly transform: IMediaDataTransformation;
|
||||
readonly docProperties?: DocPropertiesOptions;
|
||||
readonly outline?: OutlineOptions;
|
||||
readonly solidFill?: SolidFillOptions;
|
||||
};
|
||||
export declare const createInline: ({ mediaData, transform, docProperties, outline, solidFill }: InlineOptions) => XmlComponent;
|
||||
export {};
|
||||
+1
@@ -0,0 +1 @@
|
||||
export {};
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
export * from './text-wrapping';
|
||||
export * from './wrap-none';
|
||||
export * from './wrap-square';
|
||||
export * from './wrap-tight';
|
||||
export * from './wrap-top-and-bottom';
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
import { IDistance } from '../drawing';
|
||||
export declare const TextWrappingType: {
|
||||
readonly NONE: 0;
|
||||
readonly SQUARE: 1;
|
||||
readonly TIGHT: 2;
|
||||
readonly TOP_AND_BOTTOM: 3;
|
||||
};
|
||||
export declare const TextWrappingSide: {
|
||||
readonly BOTH_SIDES: "bothSides";
|
||||
readonly LEFT: "left";
|
||||
readonly RIGHT: "right";
|
||||
readonly LARGEST: "largest";
|
||||
};
|
||||
export type ITextWrapping = {
|
||||
readonly type: (typeof TextWrappingType)[keyof typeof TextWrappingType];
|
||||
readonly side?: (typeof TextWrappingSide)[keyof typeof TextWrappingSide];
|
||||
readonly margins?: IDistance;
|
||||
};
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
export declare const createWrapNone: () => XmlComponent;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
import { IMargins } from '../floating';
|
||||
import { ITextWrapping } from './text-wrapping';
|
||||
export declare const createWrapSquare: (textWrapping: ITextWrapping, margins?: IMargins) => XmlComponent;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
import { IMargins } from '../floating';
|
||||
export declare const createWrapTight: (margins?: IMargins) => XmlComponent;
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { XmlComponent } from '../../xml-components';
|
||||
import { IMargins } from '../floating';
|
||||
export declare const createWrapTopAndBottom: (margins?: IMargins) => XmlComponent;
|
||||
Reference in New Issue
Block a user