diff --git a/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-draw.service.ts b/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-draw.service.ts index 6435330a3..a7665e733 100644 --- a/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-draw.service.ts +++ b/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-draw.service.ts @@ -72,11 +72,19 @@ export class AnnotationDrawService { async drawTables(tables: Table[], page: number, dossierTemplateId: string) { const sections: Core.Annotations.RectangleAnnotation[] = []; tables.forEach(table => { - sections.push(this._computeSection(page, getSectionRectangle(table.boundingBox), dossierTemplateId)); + const section = this._computeSection(page, getSectionRectangle(table.boundingBox), dossierTemplateId); + if (table.experimental) { + section.StrokeColor = this.convertColor('#800080'); + } + sections.push(section); table.cellsPerRow .flatMap(row => row) .forEach(row => { - sections.push(this._computeSection(page, getSectionRectangle(row.boundingBox), dossierTemplateId)); + const cellSection = this._computeSection(page, getSectionRectangle(row.boundingBox), dossierTemplateId); + if (table.experimental) { + cellSection.StrokeColor = this.convertColor('#800080'); + } + sections.push(cellSection); }); });