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

* add TableOfContents node
This commit is contained in:
Kilian Schuettler
2024-11-14 16:39:48 +01:00
parent 7f472ccc52
commit 366241e6c6
@@ -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();
}