Esempio n. 1
0
 /**
  * Print in black and white
  *
  * @param l if true, print in black and white, if false respect the colors associated to the
  *     layers.
  */
 public void setBW(boolean l) {
   bw_CB.setSelected(l);
 }
Esempio n. 2
0
 /**
  * Set the resize to fit option
  *
  * @param f true if the drawing should be stretched in order to fit the page.
  */
 public void setFit(boolean f) {
   fit_CB.setSelected(f);
 }
Esempio n. 3
0
 /**
  * Set the landscape mode
  *
  * @param l true if the output should be in landscape mode. It will be in portrait orientation
  *     otherwise.
  */
 public void setLandscape(boolean l) {
   landscape_CB.setSelected(l);
 }
Esempio n. 4
0
 /**
  * Set the mirror attribute
  *
  * @param m true if the printout should be done in mirroring mode.
  */
 public void setMirror(boolean m) {
   mirror_CB.setSelected(m);
 }