/** * Get the position of the table, within the list of * all the body elements. * * @param t The table to find * @return The location, or -1 if the table couldn't be found */ public int getPosOfTable(XWPFTable t) { return getPosOfBodyElement(t); }
/** * Get the position of the paragraph, within the list * of all the body elements. * * @param p The paragraph to find * @return The location, or -1 if the paragraph couldn't be found */ public int getPosOfParagraph(XWPFParagraph p) { return getPosOfBodyElement(p); }
/** * Get the position of the table, within the list of * all the body elements. * @param t The table to find * @return The location, or -1 if the table couldn't be found */ public int getPosOfTable(XWPFTable t){ return getPosOfBodyElement(t); }
/** * Get the position of the paragraph, within the list * of all the body elements. * * @param p The paragraph to find * @return The location, or -1 if the paragraph couldn't be found */ public int getPosOfParagraph(XWPFParagraph p) { return getPosOfBodyElement(p); }
/** * Get the position of the table, within the list of * all the body elements. * * @param t The table to find * @return The location, or -1 if the table couldn't be found */ public int getPosOfTable(XWPFTable t) { return getPosOfBodyElement(t); }
/** * Get the position of the paragraph, within the list * of all the body elements. * @param p The paragraph to find * @return The location, or -1 if the paragraph couldn't be found */ public int getPosOfParagraph(XWPFParagraph p){ return getPosOfBodyElement(p); }