question: private void add ( String text , Text textNode ) { int startIndex = builder . length ( ) ; builder . append ( text ) ; int endIndex = builder . length ( ) ; textRuns . add ( new TextRun ( textNode , startIndex , endIndex ) ) ; }
target:  Here we add a textnode and its postion to a list. We also build the paragraph string.