UNPKG

@mieweb/wikigdrive

Version:

Google Drive to MarkDown synchronization

234 lines 6.34 kB
interface TextSection { type: string; } interface ParagraphSection { type: string; } export declare class TableCell { list: Array<TextParagraph | TableTable | TextList>; } export declare class TableColumn { numberColumns: number; } export declare class TableRow { cells: TableCell[]; } export declare class TableTable implements TextSection { type: string; columns: TableColumn[]; rows: TableRow[]; } export declare class FontFaceDecl { } export declare class TextSpace { type: string; chars: number; } export declare class TextSpan implements ParagraphSection { type: string; annotations: OfficeAnnotation[]; list: Array<string | TextSpace | TextTab | TextLineBreak>; styleName: string; } export declare class TextLink implements ParagraphSection { type: string; href: string; styleName: string; list: Array<string | TextSpan>; } export declare class TextBookmark implements ParagraphSection { type: string; name: string; } export declare class DrawRect implements ParagraphSection { type: string; width: string; } export declare class DrawObject { href: string; } export declare class DrawImage { href: string; } export declare class SvgDesc { value: string; } export declare class DrawFrame implements ParagraphSection { type: string; object?: DrawObject; image?: DrawImage; description?: SvgDesc; } export declare class DrawEquation { name: string; formula: string; } export declare class DrawEnhancedGeometry { type: string; equations?: DrawEquation[]; path: string; path2?: string; subViewSize: string; } export declare class DrawCustomShape { type: string; x: string; y: string; width: string; height: string; styleName: string; list: Array<DrawEnhancedGeometry | TextParagraph>; } export declare class DrawG { type: string; list: DrawCustomShape[]; styleName: string; } export declare class TextTab implements ParagraphSection { type: string; } export declare class TextLineBreak implements ParagraphSection { type: string; } export declare class TextChangeStart { type: string; changeId: string; } export declare class TextChangeEnd { type: string; changeId: string; } export declare class TextParagraph implements TextSection { type: string; list: Array<string | TextLink | TextSpan | DrawRect | DrawFrame | TextTab | TextLineBreak | TextSpace | DrawG | TextChangeStart | TextChangeEnd | DrawCustomShape | TextBookmark>; annotations: OfficeAnnotation[]; styleName: string; } export declare class TextIndexBody { list: Array<TextParagraph>; } export declare class TableOfContent { type: string; indexBody: TextIndexBody; } export declare class OfficeAnnotation { } export declare class TextListItem { list: Array<TextParagraph | TextList>; } export declare class TextList implements TextSection { type: string; id?: string; continueNumbering?: string; continueList?: string; list: Array<TextListItem>; styleName: string; } export declare class OfficeText { list: Array<TextParagraph | TableTable | TextList | TableOfContent>; } export declare class OfficeBody { text: OfficeText; } export declare class TextProperty { fontName?: 'Courier New' | 'Arial'; fontWeight?: 'bold'; fontStyle?: 'italic'; underlineStyle?: 'solid'; fontSize?: string; fontColor?: string; } export declare class GraphicProperty { strokeColor: string; strokeWidth: string; strokeLinejoin: string; stroke: string; fill: string; fillColor: string; } export declare class ParagraphProperty { breakBefore?: 'auto'; breakAfter?: 'auto'; marginLeft?: string; } export declare class Style { name: string; listStyleName: string; parentStyleName: string; textProperties: TextProperty; paragraphProperties: ParagraphProperty; graphicProperties: GraphicProperty; } export declare class AutomaticStyle { styles: Style[]; } export declare class DocumentContent { body: OfficeBody; fontFaceDecl: FontFaceDecl[]; automaticStyles: AutomaticStyle; } export declare class ListLevelStyleBullet { level: number; } export declare class ListLevelStyleNumber { level: number; startValue: number; numFormat: string; } export declare class ListStyle { name: string; listLevelStyleBullet: ListLevelStyleBullet[]; listLevelStyleNumber: ListLevelStyleNumber[]; } export declare class OfficeStyles { listStyles: ListStyle[]; styles: Style[]; } export declare class DocumentStyles { styles: OfficeStyles; } export declare const LIBREOFFICE_CLASSES: { DocumentContent: typeof DocumentContent; OfficeBody: typeof OfficeBody; OfficeText: typeof OfficeText; OfficeAnnotation: typeof OfficeAnnotation; FontFaceDecl: typeof FontFaceDecl; AutomaticStyle: typeof AutomaticStyle; Style: typeof Style; GraphicProperty: typeof GraphicProperty; ParagraphProperty: typeof ParagraphProperty; TextProperty: typeof TextProperty; TextParagraph: typeof TextParagraph; TextLink: typeof TextLink; TextSpan: typeof TextSpan; TextSpace: typeof TextSpace; TableOfContent: typeof TableOfContent; TextIndexBody: typeof TextIndexBody; TextList: typeof TextList; TextListItem: typeof TextListItem; TextBookmark: typeof TextBookmark; TextTab: typeof TextTab; TextLineBreak: typeof TextLineBreak; DrawRect: typeof DrawRect; DrawFrame: typeof DrawFrame; DrawObject: typeof DrawObject; DrawImage: typeof DrawImage; DrawG: typeof DrawG; DrawCustomShape: typeof DrawCustomShape; DrawEnhancedGeometry: typeof DrawEnhancedGeometry; DrawEquation: typeof DrawEquation; SvgDesc: typeof SvgDesc; TableCell: typeof TableCell; TableColumn: typeof TableColumn; TableRow: typeof TableRow; TableTable: typeof TableTable; DocumentStyles: typeof DocumentStyles; OfficeStyles: typeof OfficeStyles; ListStyle: typeof ListStyle; ListLevelStyleNumber: typeof ListLevelStyleNumber; ListLevelStyleBullet: typeof ListLevelStyleBullet; TextChangeStart: typeof TextChangeStart; TextChangeEnd: typeof TextChangeEnd; }; export {}; //# sourceMappingURL=LibreOffice.d.ts.map