Interface NewShapeDescriptor
- All Known Implementing Classes:
DITAUpdateImageMapOperation.DITANewShapeDescriptor
,XHTMLUpdateImageMapOperation.XHTMLNewShapeDescriptor
@API(type=EXTENDABLE,
src=PUBLIC)
public interface NewShapeDescriptor
Descriptor for new shapes that were received from the JavaScript-base image map editor in Web Author.
- Since:
- 25.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
mergeIntoOriginalShape
(AuthorDocumentController controller, AuthorElement shapeElement) Merge this new shape into the exiting one.
-
Method Details
-
serializeToXml
- Returns:
- The XML serialization of the new shape in DITA.
-
mergeIntoOriginalShape
void mergeIntoOriginalShape(AuthorDocumentController controller, AuthorElement shapeElement) throws BadLocationException Merge this new shape into the exiting one.- Parameters:
controller
- The document controller.shapeElement
- The existing shape element.- Throws:
BadLocationException
-
getOriginalLayer
- Returns:
- Returns the originalLayer.
-