byte [ ] function ( String arg0 ) { if ( getDocumentSafely ( ) . isEncryptionActive ( ) ) { final byte [ ] loc0 = PDFText . toUTF16 ( arg0 ) ; return PDFText . escapeByteArray ( getDocument ( ) . getEncryption ( ) . encrypt ( loc0 , this ) ) ; } else { return encode ( PDFText . escapeText ( arg0 , false ) ) ; } }
encodes a text string 3.8.1 in pdf 1.4 specs concode_field_sep int generation concode_elem_sep PDFObject parent concode_elem_sep Log log concode_elem_sep PDFObjectNumber objNum concode_elem_sep PDFDocument document concode_elem_sep boolean hasObjNum concode_field_sep byte[] encode concode_elem_sep byte[] toPDF concode_elem_sep PDFObject getParent concode_elem_sep void formatObject concode_elem_sep PDFDocument getDocument concode_elem_sep boolean contentEquals concode_elem_sep void outputInline concode_elem_sep PDFReference makeReference concode_elem_sep String referencePDF concode_elem_sep PDFObjectNumber getObjectNumber concode_elem_sep PDFDocument getDocumentSafely concode_elem_sep String getObjectID concode_elem_sep void encodeBinaryToHexString concode_elem_sep int output concode_elem_sep void getChildren concode_elem_sep void setDocument concode_elem_sep String toPDFString concode_elem_sep byte[] encodeString concode_elem_sep boolean hasObjectNumber concode_elem_sep void setObjectNumber concode_elem_sep void setObjectNumber concode_elem_sep void setObjectNumber concode_elem_sep int getGeneration concode_elem_sep void setParent