com.lowagie.text.Phrase.iterator()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(3.5k)|赞(0)|评价(0)|浏览(123)

本文整理了Java中com.lowagie.text.Phrase.iterator()方法的一些代码示例,展示了Phrase.iterator()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Phrase.iterator()方法的具体详情如下:
包路径:com.lowagie.text.Phrase
类名称:Phrase
方法名:iterator

Phrase.iterator介绍

暂无

代码示例

代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext

/**
 * Gets all the chunks in this element.
 *
 * @return    an <CODE>ArrayList</CODE>
 */ 
public ArrayList getChunks() {
  ArrayList tmp = new ArrayList();
  for (Iterator i = iterator(); i.hasNext(); ) {
    tmp.addAll(((Element) i.next()).getChunks());
  }
  return tmp;
}

代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae

/**
 * Gets all the chunks in this element.
 *
 * @return    an <CODE>ArrayList</CODE>
 */ 
public ArrayList getChunks() {
  ArrayList tmp = new ArrayList();
  for (Iterator i = iterator(); i.hasNext(); ) {
    tmp.addAll(((Element) i.next()).getChunks());
  }
  return tmp;
}

代码示例来源:origin: com.github.librepdf/openpdf

/**
 * Gets all the chunks in this element.
 *
 * @return    an <CODE>ArrayList</CODE>
 */ 
public ArrayList getChunks() {
  ArrayList tmp = new ArrayList();
  for (Iterator i = iterator(); i.hasNext(); ) {
    tmp.addAll(((Element) i.next()).getChunks());
  }
  return tmp;
}

代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext

/**
 * Processes the element by adding it (or the different parts) to an
 * <CODE>ElementListener</CODE>.
 *
 * @param    listener    an <CODE>ElementListener</CODE>
 * @return    <CODE>true</CODE> if the element was processed successfully
 */
public boolean process(ElementListener listener) {
  try {
    for (Iterator i = iterator(); i.hasNext(); ) {
      listener.add((Element) i.next());
    }
    return true;
  }
  catch(DocumentException de) {
    return false;
  }
}

代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae

/**
 * Processes the element by adding it (or the different parts) to an
 * <CODE>ElementListener</CODE>.
 *
 * @param    listener    an <CODE>ElementListener</CODE>
 * @return    <CODE>true</CODE> if the element was processed successfully
 */
public boolean process(ElementListener listener) {
  try {
    for (Iterator i = iterator(); i.hasNext(); ) {
      listener.add((Element) i.next());
    }
    return true;
  }
  catch(DocumentException de) {
    return false;
  }
}

代码示例来源:origin: com.github.librepdf/openpdf

/**
 * Processes the element by adding it (or the different parts) to an
 * <CODE>ElementListener</CODE>.
 *
 * @param    listener    an <CODE>ElementListener</CODE>
 * @return    <CODE>true</CODE> if the element was processed successfully
 */
public boolean process(ElementListener listener) {
  try {
    for (Iterator i = iterator(); i.hasNext(); ) {
      listener.add((Element) i.next());
    }
    return true;
  }
  catch(DocumentException de) {
    return false;
  }
}

代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext

boolean success = true;
Element e;
for (Iterator i = phrase.iterator(); i.hasNext(); ) {
  e = (Element) i.next();
  if (e instanceof Chunk) {

代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae

boolean success = true;
Element e;
for (Iterator i = phrase.iterator(); i.hasNext(); ) {
  e = (Element) i.next();
  if (e instanceof Chunk) {

代码示例来源:origin: com.github.librepdf/openpdf

boolean success = true;
Element e;
for (Iterator i = phrase.iterator(); i.hasNext(); ) {
  e = (Element) i.next();
  if (e instanceof Chunk) {

代码示例来源:origin: com.github.librepdf/pdf-html

currentfont.push(phrase.getFont());
for (Iterator i = phrase.iterator(); i.hasNext(); ) {
  write((Element) i.next(), indent + 1);

代码示例来源:origin: fr.opensagres.xdocreport.itext-gae/itext-gae

currentfont.push(phrase.getFont());
for (Iterator i = phrase.iterator(); i.hasNext(); ) {
  write((Element) i.next(), indent + 1);

代码示例来源:origin: es.gob.afirma/afirma-crypto-pdf-itext

currentfont.push(phrase.getFont());
for (Iterator i = phrase.iterator(); i.hasNext(); ) {
  write((Element) i.next(), indent + 1);

相关文章