aspose file tools*
The moose likes Flex and the fly likes pdf generated with alivePDF sorting columns on it's own. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "pdf generated with alivePDF sorting columns on it Watch "pdf generated with alivePDF sorting columns on it New topic
Author

pdf generated with alivePDF sorting columns on it's own.

aman thind
Ranch Hand

Joined: Jun 29, 2007
Posts: 71
I am using alive pdf to generate a pdf.I am passing the data like follows:
var myGrid:Grid = new Grid ( data,
26,
10,
new RGBColor (0x00CCFF),
new RGBColor (0xFFFFFF),
new RGBColor ( 0x0 ),
false,
new RGBColor(0x000000),
1, Joint.MITER);

and adding to pdf

pdf.addGrid( myGrid , -5, 20);
where
var pdf:PDF = new PDF( Orientation.LANDSCAPE, Unit.MM, Size.A4 );
pdf.setDisplayMode( Display.FULL_PAGE, Layout.SINGLE_PAGE );
pdf.setAutoPageBreak(true,10);

But the pdf being generated is sorting the columns based on their heading's first alphabet. Any way of stopping this autosorting. Any pointers will be appreciated.
Thanks

Aman Thind
SCJP,SCWCD
JAVA utte mar JAVA,mit JAVA
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: pdf generated with alivePDF sorting columns on it's own.