mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 08:30:35 +00:00
Updated to for AppleWorksFileExportFilter enhancements. Added RTF
as an export option and changed to use select methods.
This commit is contained in:
parent
2a17b2c722
commit
f346a0ac28
@ -83,7 +83,7 @@ public class AppleWorksWordProcessorPane extends WizardPane {
|
||||
button.setSelection(getFilter().isTextRendering());
|
||||
button.addSelectionListener(new SelectionAdapter() {
|
||||
public void widgetSelected(SelectionEvent e) {
|
||||
getFilter().setRendering(AppleWorksWordProcessorFileFilter.RENDER_AS_TEXT);
|
||||
getFilter().selectTextRendering();
|
||||
}
|
||||
});
|
||||
button = new Button(control, SWT.RADIO);
|
||||
@ -91,7 +91,15 @@ public class AppleWorksWordProcessorPane extends WizardPane {
|
||||
button.setSelection(getFilter().isHtmlRendering());
|
||||
button.addSelectionListener(new SelectionAdapter() {
|
||||
public void widgetSelected(SelectionEvent e) {
|
||||
getFilter().setRendering(AppleWorksWordProcessorFileFilter.RENDER_AS_HTML);
|
||||
getFilter().selectHtmlRendering();
|
||||
}
|
||||
});
|
||||
button = new Button(control, SWT.RADIO);
|
||||
button.setText("RTF (Rich Text Format)");
|
||||
button.setSelection(getFilter().isRtfRendering());
|
||||
button.addSelectionListener(new SelectionAdapter() {
|
||||
public void widgetSelected(SelectionEvent e) {
|
||||
getFilter().selectRtfRendering();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user