Interface NewShapeDescriptor

    • Method Detail

      • serializeToXml

        java.util.Optional<java.lang.String> serializeToXml()
        Returns:
        The XML serialization of the new shape in DITA.
      • mergeIntoOriginalShape

        void mergeIntoOriginalShape​(AuthorDocumentController controller,
                                    AuthorElement shapeElement)
                             throws javax.swing.text.BadLocationException
        Merge this new shape into the exiting one.
        Parameters:
        controller - The document controller.
        shapeElement - The existing shape element.
        Throws:
        javax.swing.text.BadLocationException
      • getOriginalLayer

        java.util.Optional<java.lang.Integer> getOriginalLayer()
        Returns:
        Returns the originalLayer.