Return-Path: X-Original-To: apmail-pdfbox-users-archive@www.apache.org Delivered-To: apmail-pdfbox-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6768A1883C for ; Fri, 28 Aug 2015 19:23:52 +0000 (UTC) Received: (qmail 12669 invoked by uid 500); 28 Aug 2015 19:23:52 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 12647 invoked by uid 500); 28 Aug 2015 19:23:52 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Delivered-To: moderator for users@pdfbox.apache.org Received: (qmail 11747 invoked by uid 99); 28 Aug 2015 19:22:55 -0000 X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.448 X-Spam-Level: ** X-Spam-Status: No, score=2.448 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=2hx+sHUoQ3P5mb4nZzrJ3V65IfJqrrN6CfkSFbspP/U=; b=jjdHzLIuToi/Xn8aO3/zZ1GkXmVsSGCykOKVUQ9KgrYw3a42L1gaTjSS5DHPQLYqiG dqwitlekjbpZnBB5nn68VXfo0lHZYqS6izHNpJvJT52ZG7F+B25/JbLUGh1brEE3i7cl CFvUoP2eN+nApg/Tmq3WtZ8SwPO8uH80rGpavRvZHCIYQ46+FDK4Dtzv1glIbzmaAUa6 kLsy+JsyUWx2NcQ/TECzwj20mC7VshTKldpPMEUa6Uwh4DlQCpvrNIy9G/yjPcQfsW69 yCp04c5I3xdmkalmIY5BLm7gBpfKUeUoVxRfgTo/94aHijFkXpyndpA4iMoIDNB/z3L9 zOWA== MIME-Version: 1.0 X-Received: by 10.50.78.161 with SMTP id c1mr5009482igx.35.1440789771684; Fri, 28 Aug 2015 12:22:51 -0700 (PDT) Date: Sat, 29 Aug 2015 00:52:51 +0530 Message-ID: Subject: How do I get the encoding of a PDF File and set the encoding of the input stream?? From: Sai MuraliKriahna To: users@pdfbox.apache.org Content-Type: multipart/alternative; boundary=089e0111e07a89bb5c051e640281 --089e0111e07a89bb5c051e640281 Content-Type: text/plain; charset=UTF-8 Hi Team, I am spanding so much of time to implement the java programme to replacing the text from the already one pdf draft and trying to replace the text in my draft and generating the new pdf . Here i have facing issues : 1) first loading pdf draft and parsing with PdStream parser() mathod. 2) There is any way we can change tokens (in normal text formatt).here please if any encoding or decoding is available , please let me know. 3) To getting the exact positions of labels or place holders is possiable , Please let me know if it is possiable. 4)customizing parsers are available in the pdf box ,my text is always parsing want to in String ,i.e COSString formatt (not In COS ARRAY ormatt). 5) This is the i.e PDF BOX is this Correct API in java or not. above all are possiable or not , please let me know please share the sample above senarios, or already existing link Thank you in advance -- BestRegards, sai (+91) 888 582 6845 --089e0111e07a89bb5c051e640281--