RED-9139: move document to module in redaction-service
* add TableOfContents node
This commit is contained in:
parent
529325432c
commit
4755243253
@ -43,6 +43,8 @@ public class TextBlockFactory {
|
|||||||
.positions(searchTextWithTextPositionDto.getPositions())
|
.positions(searchTextWithTextPositionDto.getPositions())
|
||||||
.stringIdxToPositionIdx(searchTextWithTextPositionDto.getStringIdxToPositionIdx())
|
.stringIdxToPositionIdx(searchTextWithTextPositionDto.getStringIdxToPositionIdx())
|
||||||
.textRange(new TextRange(offset, offset + searchText.length()))
|
.textRange(new TextRange(offset, offset + searchText.length()))
|
||||||
|
.boldTextRanges(searchTextWithTextPositionDto.getBoldTextBoundaries())
|
||||||
|
.italicTextRanges(searchTextWithTextPositionDto.getItalicTextBoundaries())
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user