FIXME("could not get dialog text for papersize cmbbox?\n");
#define GETVAL(id,val) if (GetDlgItemTextW(hDlg,id,buf,sizeof(buf)/sizeof(buf[0]))>0) { val = _c_str2sizeW(pdw->dlgw,buf); } else { FIXME("could not get dlgitemtextw for %x\n",id); }
GETVAL(edt4,pdw->dlgw->rtMargin.left);
GETVAL(edt5,pdw->dlgw->rtMargin.top);
GETVAL(edt6,pdw->dlgw->rtMargin.right);
GETVAL(edt7,pdw->dlgw->rtMargin.bottom);
#undef GETVAL
/* If we are in landscape, swap x and y of page size */