Author: vhennebert
Date: Thu Nov 7 12:29:56 2013
New Revision: 1539612
URL: http://svn.apache.org/r1539612
Log:
Improved javadoc for getBaselineOffset
Modified:
xmlgraphics/fop/branches/Temp_InlineContainer/src/java/org/apache/fop/layoutmgr/LayoutManager.java
Modified:
xmlgraphics/fop/branches/Temp_InlineContainer/src/java/org/apache/fop/layoutmgr/LayoutManager.java
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_InlineContainer/src/java/org/apache/fop/layoutmgr/LayoutManager.java?rev=1539612&r1=1539611&r2=1539612&view=diff
==============================================================================
---
xmlgraphics/fop/branches/Temp_InlineContainer/src/java/org/apache/fop/layoutmgr/LayoutManager.java
(original)
+++
xmlgraphics/fop/branches/Temp_InlineContainer/src/java/org/apache/fop/layoutmgr/LayoutManager.java
Thu Nov 7 12:29:56 2013
@@ -178,7 +178,7 @@ public interface LayoutManager extends P
List getChangedKnuthElements(List oldList, int alignment);
/**
- * Whether the FO handled by this layout manager had a descendant
(including itself)
+ * Whether the FO handled by this layout manager has a descendant
(including itself)
* that will generate a line-area.
*
* @return {@code true} if a descendant line-area will be generated,
{@code false} otherwise
@@ -187,10 +187,12 @@ public interface LayoutManager extends P
/**
* Returns the position of the dominant-baseline of this FO's first
descendant
- * line-area, if any.
+ * line-area. <p>The behavior of this method is undefined if this FO has
no descendant
+ * line-area, and an exception may be thrown. See {@link
#hasLineAreaDescendant()}</p>
*
* @return this FO's space-before plus the distance from the before-edge
of its
* allocation-rectangle to the dominant-baseline of the first line-area
descendant
+ * @see #hasLineAreaDescendant()
*/
int getBaselineOffset();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]