Class IXOSAnno

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  IXOSAnno.ANNOTYPE
      Annotation types.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int HEIGHT_OFFSET
      Offset for text height.
      static int WIDTH_OFFSET
      Offset for text width.
    • Constructor Summary

      Constructors 
      Constructor Description
      IXOSAnno()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      int convertFontHeight​(int height)
      Converts font-height from ixos-annotation-file to points.
      protected java.lang.String getHex​(java.awt.Color color)  
      java.lang.String getUTCTime​(java.lang.String date, java.lang.String time)  
      abstract void renderAnno​(com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.AnnMeta annMeta, com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.AnnObject annObject)  
      void setDocSize​(Node size)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • WIDTH_OFFSET

        public static final int WIDTH_OFFSET
        Offset for text width.
        See Also:
        Constant Field Values
      • HEIGHT_OFFSET

        public static final int HEIGHT_OFFSET
        Offset for text height.
        See Also:
        Constant Field Values
    • Constructor Detail

      • IXOSAnno

        public IXOSAnno()
    • Method Detail

      • getHex

        protected java.lang.String getHex​(java.awt.Color color)
        Parameters:
        color - Color object
        Returns:
        Hex representation
      • setDocSize

        public void setDocSize​(Node size)
        Parameters:
        size - Document size
      • convertFontHeight

        public int convertFontHeight​(int height)
        Converts font-height from ixos-annotation-file to points.
        Parameters:
        height - IXOS font height
        Returns:
        Real font height
      • getUTCTime

        public java.lang.String getUTCTime​(java.lang.String date,
                                           java.lang.String time)
        Parameters:
        date - Date string
        time - Time string
        Returns:
        ISO datetime string Exception
      • renderAnno

        public abstract void renderAnno​(com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.AnnMeta annMeta,
                                        com.saperion.ngc.viewer.virtualviewer.annotation.xml.elements.AnnObject annObject)
        Parameters:
        annMeta - Annotation metadata
        annObject - Annotation object