如何使用PDFBox“展平”PDF表单(删除表单字段但保留字段的文本)?Samequestionwasansweredhere:aquickwaytodothis,istoremovethefieldsfromtheacrofrom.Forthisyoujustneedtogetthedocumentcatalog,thentheacroformandthenremoveallfieldsfromthisacroform.Thegraphicalrepresentationislinkedwiththeannotationandstayinthedocument.所以我写了这段代码:i