From 6a3feed6e10c8ba76910dc90bc13212eaa45b5b1 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Thu, 7 Jul 2011 08:24:22 +0000 Subject: [PATCH] add javadocs git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143706 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hwpf/usermodel/Paragraph.java | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java index 35b71966cc..d8a165acd1 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Paragraph.java @@ -124,6 +124,10 @@ public class Paragraph extends Range implements Cloneable { return _props.getFInTable() != 0; } + /** + * @return true, if table trailer paragraph (last in table row), + * false otherwise + */ public boolean isTableRowEnd() { return _props.getFTtp() != 0 || _props.getFTtpEmbedded() != 0; @@ -134,10 +138,14 @@ public class Paragraph extends Range implements Cloneable { return _props.getItap(); } - public boolean isEmbeddedCellMark() - { - return _props.getFInnerTableCell() != 0; - } + /** + * @return true, if the end of paragraph mark is really an end of + * cell mark for a nested table cell, false otherwise + */ + public boolean isEmbeddedCellMark() + { + return _props.getFInnerTableCell() != 0; + } public int getJustification() { -- 2.39.5