UNPKG

devexpress-richedit

Version:

DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.

12 lines (11 loc) 461 B
import { RtfExportSR } from '../../../translation-table/rtf-export-sr'; import { RtfPictureExportStrategy } from './rtf-picture-export-strategy'; export class RtfInlinePictureExportStrategy extends RtfPictureExportStrategy { exportShapePicturePrefix(rtfBuilder) { rtfBuilder.openGroup(); rtfBuilder.writeCommand(RtfExportSR.ShapePicture); } exportShapePicturePostfix(rtfBuilder) { rtfBuilder.closeGroup(); } }