title: Add text to a specific page of a pdf using iText
body: <p>I need create a tool that adds a hyperlink every other page for a pdf file.</p>
  
  <p>I followed the iText documentation and I managed to add the hyperlink but only on the first page. </p>
  
  <p>My code:</p>
  
  <pre><code>public void manipulatePdf(String src, String dest) throws IOException, DocumentException {
  
          Font bold = new Font(FontFamily.HELVETICA, 30, Font.BOLD);
  
          PdfReader reader = new PdfReader(src);
  
          int count = reader.getNumberOfPages();
          Utils.logInfoMessage("Number of pages: " + count, mLogList);
          if(count &lt; 1) {
              Utils.logErrorMessage("file : " + src + " has no pages", mLogList);
              return;
          }
  
          PdfStamper stamper = new PdfStamper(reader, new FileOutputStream(dest));
  
          PdfContentByte canvas = stamper.getOverContent(1);
          PdfGState gState = new PdfGState();
          gState.setFillOpacity(0.1f);
          canvas.setGState(gState);
  
          Chunk chunk = new Chunk("www.google.com", bold);
          chunk.setAnchor("https://www.google.ro/");
  
          Phrase phrase = new Phrase("");
          phrase.add(chunk);
  
          ColumnText ct = new ColumnText(canvas);
          ct.setSimpleColumn(36, 700, 559, 750);
          ct.addText(phrase);
          ct.go();
  
          stamper.close();
          reader.close();
      }
  </code></pre>
  
  <p>Any ideas how to add the hyperlink/text only on a specific page?</p>