package Ġcom . ww dab lu . so um ya . simp ly pdf . json engine . composer converters Ċ Ċ import Ġcom . ww dab lu . so um ya . simp ly pdf . Simp ly Pdf Document Ċ import Ġcom . ww dab lu . so um ya . simp ly pdf . comp os ers . properties . Text Properties Ċ import Ġcom . ww dab lu . so um ya . simp ly pdf . json engine . Node Ċ import Ġcom . ww dab lu . so um ya . simp ly pdf . json engine . base . Composer Converter Ċ import Ġorg . json . JSONObject Ċ Ċ internal Ġclass ĠText Converter ( simp ly Pdf Document : ĠSimply Pdf Document ) Ġ: ĠComposer Converter ( simp ly Pdf Document ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġgenerate ( compose JsonObject : ĠJSONObject ) Ġ{ ĊĊĠĠĠĠĠĠĠ Ġ// Check Ġif Ġproperties Ġhas Ġbeen Ġdefined ĊĠĠĠĠĠĠĠ Ġval Ġtext Properties : Text Properties Ġ= Ġget Properties ( compose JsonObject , ĠNode . TYPE _ PROPERTIES ) ĊĠĠĠĠĠĠĠ Ġsimply Pdf Document . text . write ( compose JsonObject . getString ( Node . COMP O SER _ TEXT _ CONTENT ), Ġtext Properties ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠgetType Handler (): ĠString Ġ= Ġ" shape " Ċ }