1 package org.simantics.document;
3 import org.simantics.databoard.Bindings;
4 import org.simantics.databoard.binding.Binding;
6 public class DocumentSettings {
8 public static final Binding BINDING = Bindings.getBindingUnchecked(DocumentSettings.class);
9 public static final DocumentSettings DEFAULT = new DocumentSettings(10, 10, 10, 10);
11 public int marginLeft;
12 public int marginRight;
14 public int marginBottom;
16 public DocumentSettings(int marginLeft, int marginRight, int marginTop, int marginBottom) {
17 this.marginLeft = marginLeft;
18 this.marginRight = marginRight;
19 this.marginTop = marginTop;
20 this.marginBottom = marginBottom;