mesaglam / alivepdf

Automatically exported from code.google.com/p/alivepdf
0 stars 0 forks source link

'Portrait' vs 'P' and 'Landscape' vs. 'L' #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In some places in the code it's expecting 'P' or 'L', and in other places
it's expecting the value of Orientation.PORTRAIT or Orientation.LANDSCAPE.

Everything works fine until you start mixing page formats in the same PDF
and then you get uncaught exceptions.  The easiest solution is to change
the values in Orientation as such:

public class Orientation
{
  public static const PORTRAIT:String = "P";
  public static const LANDSCAPE:String = "L";
}

Original issue reported on code.google.com by marc.hug...@gmail.com on 21 Oct 2007 at 10:40