mtable.d.ts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import { CHTMLWrapper, CHTMLConstructor } from '../Wrapper.js';
  2. import { CHTMLWrapperFactory } from '../WrapperFactory.js';
  3. import { CHTMLmtr } from './mtr.js';
  4. import { CHTMLmtd } from './mtd.js';
  5. import { MmlNode } from '../../../core/MmlTree/MmlNode.js';
  6. import { StyleList } from '../../../util/StyleList.js';
  7. declare const CHTMLmtable_base: import("../../common/Wrappers/mtable.js").MtableConstructor<CHTMLmtd<any, any, any>, CHTMLmtr<any, any, any>> & CHTMLConstructor<any, any, any>;
  8. export declare class CHTMLmtable<N, T, D> extends CHTMLmtable_base {
  9. static kind: string;
  10. static styles: StyleList;
  11. labels: N;
  12. itable: N;
  13. constructor(factory: CHTMLWrapperFactory<N, T, D>, node: MmlNode, parent?: CHTMLWrapper<N, T, D>);
  14. getAlignShift(): [string, number];
  15. toCHTML(parent: N): void;
  16. protected shiftColor(): void;
  17. protected padRows(): void;
  18. protected handleColumnSpacing(): void;
  19. protected handleColumnLines(): void;
  20. protected handleColumnWidths(): void;
  21. protected handleRowSpacing(): void;
  22. protected handleRowLines(): void;
  23. protected handleRowHeights(): void;
  24. protected handleEqualRows(): void;
  25. protected setRowHeight(row: CHTMLWrapper<N, T, D>, HD: number): void;
  26. protected setRowBaseline(row: CHTMLWrapper<N, T, D>, HD: number, D: number): void;
  27. protected setCellBaseline(cell: CHTMLWrapper<N, T, D>, ralign: string, HD: number, D: number): boolean;
  28. protected handleFrame(): void;
  29. protected handleWidth(): void;
  30. protected handleAlign(): void;
  31. protected handleJustify(): void;
  32. protected handleLabels(): void;
  33. protected addLabelPadding(side: string): [string, number];
  34. protected updateRowHeights(): void;
  35. protected addLabelSpacing(): void;
  36. }
  37. export {};