We have a PDF with set of KeyWords. The KeyWords have formatting like Underline,Strikeout,Highlight,Alignment defined.
This PDF is created by performing a saveas in MS Word.
1.Get the Keywords using TextFragmentAbsorber
2.Replace the KeyWords actual Value
3.Save to new file
1.Under Line is not applied to the new Value (Eg: KEY=#!Key1 VALUE=This is a Test Replacement RESULT:This is a Test Replacement is replace. ISSUE: only “This i” is underlined)
2.Same as above for Strikeout,Highlight
3.In Word say a Key is Center Aligned, But while replacing this is not considered.
Is there a way to acheive this by retaining all the formats from KeyWords?