Package com.reportmill.shape
Class RMLinkedText
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMRectangle
com.reportmill.shape.RMText
com.reportmill.shape.RMLinkedText
- All Implemented Interfaces:
RMArchiver.Archiving
,Cloneable
This class is a shape used to render text that didn't fit in a referenced text shape.
-
Field Summary
Fields inherited from class com.reportmill.shape.RMText
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_FULL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, WRAP_BASIC, WRAP_NONE, WRAP_SCALE
Fields inherited from class com.reportmill.shape.RMShape
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new linked text.RMLinkedText
(RMText aText) Creates a new overfloat text for the given text shape. -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
Overrides shape method to rewire linked text linked list.boolean
Overrides text to indicate that linked texts never show clipped lines.Returns the text that this text is linked from.Editor method - indicates that linked text should use normal text inspector.int
Overrides text implementation to return index where previous text left off.Returns the same xstring as previoust text.void
setPreviousText
(RMText aText) Sets the text that this text is linked from.toXML
(RXArchiver anArchiver) XML archival.Methods inherited from class com.reportmill.shape.RMText
clone, copy, equals, fromXML, fromXMLFinish, getAlign, getAlignString, getAlignVertical, getAlignVerticalString, getBoundsFromTextBounds, getCharSpacing, getCoalesceNewlines, getDrawsSelectionRect, getFont, getFontScale, getFormat, getHeightToFit, getHeightToFit, getLineGap, getLineHeightMax, getLineHeightMin, getLineSpacing, getLinkedText, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getOutline, getPath, getPathInBounds, getPathInBounds, getPathShape, getPerformsWrap, getPolygonForFrag, getText, getTextBounds, getTextColor, getTextLayout, getTextLayout, getTextOrigin, getVisibleEnd, getWidthToFit, getWraps, initWithArchiver, isAllTextVisible, isStructured, isUnderlined, length, peerDidChange, resolvePageReferences, rpgClone, rpgClonePreprocess, scaleTextToFit, setAlign, setAlignVertical, setCharSpacing, setCoalesceNewlines, setDrawsSelectionRect, setFont, setFontScale, setFormat, setHeight, setHeightToFit, setLineGap, setLineHeightMax, setLineHeightMin, setLineSpacing, setLinkedText, setNeedsRepaint, setOutline, setPathShape, setPerformsWrap, setRadius, setText, setText, setTextColor, setUnderlined, setWraps, setXString, superSelectable, toString, turnToChars, turnToPath
Methods inherited from class com.reportmill.shape.RMRectangle
getRadius
Methods inherited from class com.reportmill.shape.RMShape
acceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, childrenSuperSelectImmediately, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildrenWhoHitTest, getChildSortedByX, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getImageFill, getLineWidth, getListKey, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getPageCount, getPageShape, getParent, getParentCount, getParents, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, intersects, isAncestor, isDescendant, isLocked, isRoot, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeightDeep, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setName, setNeedsRepaint, setOpacity, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTime, setUrl, setWidth, setWidthDeep, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
Methods inherited from class com.reportmill.base.RMObject
didUndo, getAnimAttribute, getClassNameShort
-
Constructor Details
-
RMLinkedText
public RMLinkedText()Creates a new linked text. -
RMLinkedText
Creates a new overfloat text for the given text shape.
-
-
Method Details
-
getPreviousText
Returns the text that this text is linked from. -
setPreviousText
Sets the text that this text is linked from. -
getXString
Returns the same xstring as previoust text.- Overrides:
getXString
in classRMText
-
getVisibleStart
public int getVisibleStart()Overrides text implementation to return index where previous text left off.- Overrides:
getVisibleStart
in classRMText
-
delete
public void delete()Overrides shape method to rewire linked text linked list. -
getDrawsClippedLine
public boolean getDrawsClippedLine()Overrides text to indicate that linked texts never show clipped lines. -
getToolClassName
Editor method - indicates that linked text should use normal text inspector.- Overrides:
getToolClassName
in classRMShape
-
toXML
XML archival.
-