we want to encapsulate any existing line with new bookmark using java. There is one line in doc with text “Hello How Can I Help You” now we want to cover that line with bookmark named “Initial Help”.
How can we add page break after “BREAK” key word in content (with multiple paragraphs) of any bookmark in document.
for example if below text text is in the bookmark called “Break_BK” and we want to apply page break after “BREAK” keyword in text.
This is a very pleasant gentleman who presents today to discuss his atrial fibrillation. When the patient goes into atrial fibrillation, he is completely incapacitated with, consider he has normal energy level at 10, his energy level can go down to 4 to 6. He becomes dizzy, lightheaded, weak and dyspneic with any form of physical activity with class III limitations, exacerbated stress and relieved by rest. When that occurs, there is no chest pain, no chest pressure, no palpitations or diaphoresis, no nausea, syncope or near-syncope. BREAK When he is in normal sinus rhythm, he is generally quite active.
He still helps out in his tree farm with his son with harvesting, pruning his trees. When he does so, he is typically limited just by dyspnea with class II symptoms, exacerbated by stress and relieved by rest. When that occurs, there is no no chest pain, no chest pressure, no palpitations, no diaphoresis, no syncope or near-syncope. He otherwise denies PND, orthopnea or lower extremity edema. He denies any CVA or TIA symptoms. He is on therapy with aspirin without melena, hematochezia, hemoptysis, or hematuria.