import { IQuestion } from 'survey-core' ; import { IRect , DocController } from '../doc_controller' ; import { TextBrick } from './pdf_text' ; export class TextBoldBrick extends TextBrick { public constructor ( question , controller , rect , text ) { super ( question , controller , rect , text ) ; } public async renderInteractive ( ) { this . controller . fontStyle = 'bold' ; await super . renderInteractive ( ) ; this . controller . fontStyle = 'normal' ; } }