RED-9139: move document to module in redaction-service

* add TableOfContents node
This commit is contained in:
Kilian Schuettler 2024-11-11 16:05:59 +01:00
parent 529325432c
commit 4755243253

View File

@ -43,6 +43,8 @@ public class TextBlockFactory {
.positions(searchTextWithTextPositionDto.getPositions())
.stringIdxToPositionIdx(searchTextWithTextPositionDto.getStringIdxToPositionIdx())
.textRange(new TextRange(offset, offset + searchText.length()))
.boldTextRanges(searchTextWithTextPositionDto.getBoldTextBoundaries())
.italicTextRanges(searchTextWithTextPositionDto.getItalicTextBoundaries())
.build();
}