void setRevision(int revision)

Change active revision in current PDF document