Class PRPresContextHelper


  • public abstract class PRPresContextHelper
    extends java.lang.Object
    This is a utility class for PRPresContext that provides static methods for creation or other purposes.
    See Also:
    PRPresContext
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void layout​(SrvContext srvCtx, java.util.List<? extends PRPresContext> sel, java.lang.String format, K_ORIENTATION orientation, int marginLeft, int marginRight, int marginTop, int marginBottom, int horPage, int verPage)
      Sets the layout values (format,orientation,margins,pagecount) of the given context.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • layout

        public static void layout​(SrvContext srvCtx,
                                  java.util.List<? extends PRPresContext> sel,
                                  java.lang.String format,
                                  K_ORIENTATION orientation,
                                  int marginLeft,
                                  int marginRight,
                                  int marginTop,
                                  int marginBottom,
                                  int horPage,
                                  int verPage)
                           throws InoNetException,
                                  SrvErrorException
        Sets the layout values (format,orientation,margins,pagecount) of the given context.
        Parameters:
        srvCtx - The context of the related innovator server.
        sel - all objects that will be modified.
        format - format of the presentation context
        orientation - orientation of the presentation context
        marginLeft - margin on the left border
        marginRight - margin on the right border
        marginTop - margin on the top border
        marginBottom - margin on the bottom border
        horPage - number of horinzontal pages
        verPage - number of vertical pages
        Throws:
        InoNetException
        SrvErrorException