summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextPrintOptions.java
diff options
context:
space:
mode:
authorKnut Radloff <kradloff>2002-11-25 19:40:23 +0000
committerKnut Radloff <kradloff>2002-11-25 19:40:23 +0000
commit696d5991a09ecb17883f49ec790b8873f42bb340 (patch)
tree4779434be628bcd7dc96cbe995478419d8c4bc67 /bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextPrintOptions.java
parentc5631360af044e078329818b6d4b9b1cac1a0c73 (diff)
downloadeclipse.platform.swt-696d5991a09ecb17883f49ec790b8873f42bb340.tar.gz
eclipse.platform.swt-696d5991a09ecb17883f49ec790b8873f42bb340.tar.xz
eclipse.platform.swt-696d5991a09ecb17883f49ec790b8873f42bb340.zip
Change StyledTextPrintOptions to use booleans
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextPrintOptions.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextPrintOptions.java29
1 files changed, 12 insertions, 17 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextPrintOptions.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextPrintOptions.java
index a7d74f0977..eb0bdbc723 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextPrintOptions.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextPrintOptions.java
@@ -41,24 +41,19 @@ public class StyledTextPrintOptions {
public String jobName = null;
/**
- * 0 or more of the following print options ORed together.
- * ST.TEXT_FOREGROUND, ST.TEXT_BACKGROUND, ST.TEXT_FONT_STYLE,
- * ST.LINE_BACKGROUND */
- public int options = 0;
-
+ * Print the text foreground color. Default value is <code>false</code>.
+ */
+ public boolean printTextForeground = false;
/**
- * Creates an object of the receiver initialized with default values.
- * By default, none of the text or line styles are printed.
+ * Print the text background color. Default value is <code>false</code>.
*/
- public StyledTextPrintOptions() {
- }
+ public boolean printTextBackground = false;
/**
- * Creates an object of the receiver initialized with the given print
- * options. */
- public StyledTextPrintOptions(String header, String footer, String jobName, int options) {
- this.header = header;
- this.footer = footer;
- this.jobName = jobName;
- this.options = options;
- }
+ * Print the font styles. Default value is <code>false</code>.
+ */
+ public boolean printTextFontStyle = false;
+ /**
+ * Print the line background color. Default value is <code>false</code>.
+ */
+ public boolean printLineBackground = false;
}