java: remove unused fields
Change-Id: I6c93864f501f646a8940eac221a88c87b3f75525
This commit is contained in:
parent
f124688cfd
commit
d26540bb05
@ -22,15 +22,12 @@ import java.lang.reflect.Array;
|
|||||||
import java.net.*;
|
import java.net.*;
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
import com.sun.star.comp.beans.*;
|
|
||||||
import java.applet.Applet;
|
import java.applet.Applet;
|
||||||
import java.awt.Graphics;
|
import java.awt.Graphics;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
public class OOoViewer extends Applet {
|
public class OOoViewer extends Applet {
|
||||||
|
|
||||||
private OOoBean oBean;
|
|
||||||
|
|
||||||
static private CustomURLClassLoader m_loader;
|
static private CustomURLClassLoader m_loader;
|
||||||
|
|
||||||
Object m_objBean;
|
Object m_objBean;
|
||||||
|
@ -207,10 +207,6 @@ public final class TestBed {
|
|||||||
private int state = INITIAL;
|
private int state = INITIAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final int TEST_SUCCEEDED = 0;
|
|
||||||
private static final int TEST_FAILED = 1;
|
|
||||||
private static final int TEST_ERROR = 2;
|
|
||||||
|
|
||||||
private static final int CLIENT_FAILED = 0;
|
private static final int CLIENT_FAILED = 0;
|
||||||
private static final int CLIENT_DONE = 123;
|
private static final int CLIENT_DONE = 123;
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ public class MethodHandler implements XPropertyHandler
|
|||||||
private XComponentContext m_context;
|
private XComponentContext m_context;
|
||||||
private XIntrospection m_introspection;
|
private XIntrospection m_introspection;
|
||||||
private XIntrospectionAccess m_introspectionAccess;
|
private XIntrospectionAccess m_introspectionAccess;
|
||||||
private XIdlClass m_idlClass;
|
|
||||||
private XIdlMethod[] m_methods;
|
private XIdlMethod[] m_methods;
|
||||||
private java.util.HashMap<String,XIdlMethod> m_methodsHash;
|
private java.util.HashMap<String,XIdlMethod> m_methodsHash;
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ public final class ImageComparison implements com.sun.star.awt.XImageConsumer
|
|||||||
|
|
||||||
private byte[] m_referenceBytes;
|
private byte[] m_referenceBytes;
|
||||||
private int m_referencePosition;
|
private int m_referencePosition;
|
||||||
private java.io.FileOutputStream m_stream;
|
|
||||||
private Object m_notifyDone;
|
private Object m_notifyDone;
|
||||||
|
|
||||||
public boolean imagesEqual( )
|
public boolean imagesEqual( )
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
package integration.forms;
|
package integration.forms;
|
||||||
|
|
||||||
import com.sun.star.uno.*;
|
import com.sun.star.uno.*;
|
||||||
import com.sun.star.lang.*;
|
|
||||||
import com.sun.star.beans.*;
|
import com.sun.star.beans.*;
|
||||||
import com.sun.star.form.validation.*;
|
import com.sun.star.form.validation.*;
|
||||||
|
|
||||||
@ -29,7 +28,6 @@ public class SingleControlValidation implements XFormComponentValidityListener
|
|||||||
{
|
{
|
||||||
private DocumentHelper m_document; /// our current test document
|
private DocumentHelper m_document; /// our current test document
|
||||||
private FormLayer m_formLayer; /// quick access to the form layer
|
private FormLayer m_formLayer; /// quick access to the form layer
|
||||||
private XMultiServiceFactory m_orb; /// our service factory
|
|
||||||
|
|
||||||
private XPropertySet m_inputField;
|
private XPropertySet m_inputField;
|
||||||
private XPropertySet m_inputLabel;
|
private XPropertySet m_inputLabel;
|
||||||
|
@ -451,10 +451,6 @@ public class EventTest {
|
|||||||
*/
|
*/
|
||||||
private class EventTrigger extends Thread{
|
private class EventTrigger extends Thread{
|
||||||
|
|
||||||
/**
|
|
||||||
* represents a <CODE>AccessibilityTools</CODE>
|
|
||||||
*/
|
|
||||||
private final AccessibilityTools at = new AccessibilityTools();
|
|
||||||
/**
|
/**
|
||||||
* represents an <CODE>EventType</CODE>
|
* represents an <CODE>EventType</CODE>
|
||||||
* @see EventTest.EventTriggerType
|
* @see EventTest.EventTriggerType
|
||||||
|
@ -72,7 +72,6 @@ public class CheckXComponentLoader
|
|||||||
// some const
|
// some const
|
||||||
|
|
||||||
/** used to classify the result of a loadComponentFromURL() request. */
|
/** used to classify the result of a loadComponentFromURL() request. */
|
||||||
private static final int RESULT_UNKNOWN = 0;
|
|
||||||
private static final int RESULT_VALID_DOC = 1;
|
private static final int RESULT_VALID_DOC = 1;
|
||||||
private static final int RESULT_EMPTY_DOC = 2;
|
private static final int RESULT_EMPTY_DOC = 2;
|
||||||
private static final int RESULT_ILLEGALARGUMENTEXCEPTION = 3;
|
private static final int RESULT_ILLEGALARGUMENTEXCEPTION = 3;
|
||||||
@ -80,10 +79,6 @@ public class CheckXComponentLoader
|
|||||||
private static final int RESULT_RUNTIMEEXCEPTION = 5;
|
private static final int RESULT_RUNTIMEEXCEPTION = 5;
|
||||||
private static final int RESULT_EXCEPTION = 6;
|
private static final int RESULT_EXCEPTION = 6;
|
||||||
|
|
||||||
/** File/URL separators. */
|
|
||||||
private static final String fs_url = "/";
|
|
||||||
// private static final String fs_sys = System.getProperty("file.separator");
|
|
||||||
|
|
||||||
/** used for testing password protected files. */
|
/** used for testing password protected files. */
|
||||||
private static final String SUFFIX_PASSWORD_TEMPFILE = "password_";
|
private static final String SUFFIX_PASSWORD_TEMPFILE = "password_";
|
||||||
private static final String PREFIX_PASSWORD_TEMPFILE = ".sxw";
|
private static final String PREFIX_PASSWORD_TEMPFILE = ".sxw";
|
||||||
|
@ -39,8 +39,8 @@ public class InteractionHandler implements XInteractionHandler
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @member m_aRequest the origianl interaction request
|
* @member m_aRequest the original interaction request
|
||||||
* safed for later analyzing
|
* saved for later analyzing
|
||||||
* @member m_bWasUsed true if the interaction handler was used
|
* @member m_bWasUsed true if the interaction handler was used
|
||||||
* @member m_nTry count using of RETRY continuations
|
* @member m_nTry count using of RETRY continuations
|
||||||
*/
|
*/
|
||||||
|
@ -32,7 +32,6 @@ import java.util.LinkedList;
|
|||||||
*/
|
*/
|
||||||
public class WeakAdapter implements XAdapter
|
public class WeakAdapter implements XAdapter
|
||||||
{
|
{
|
||||||
private final boolean DEBUG= false;
|
|
||||||
// references the XWeak implementation
|
// references the XWeak implementation
|
||||||
private WeakReference<Object> m_weakRef;
|
private WeakReference<Object> m_weakRef;
|
||||||
// contains XReference objects registered by addReference
|
// contains XReference objects registered by addReference
|
||||||
|
@ -32,8 +32,6 @@ import java.util.HashMap;
|
|||||||
*/
|
*/
|
||||||
public class WeakBase implements XWeak, XTypeProvider
|
public class WeakBase implements XWeak, XTypeProvider
|
||||||
{
|
{
|
||||||
private final boolean DEBUG= false;
|
|
||||||
|
|
||||||
// Contains all WeakAdapter which have been created in this class
|
// Contains all WeakAdapter which have been created in this class
|
||||||
// They have to be notified when this object dies
|
// They have to be notified when this object dies
|
||||||
private WeakAdapter m_adapter;
|
private WeakAdapter m_adapter;
|
||||||
|
@ -47,9 +47,6 @@ import com.sun.star.uno.UnoRuntime;
|
|||||||
* @since UDK1.0
|
* @since UDK1.0
|
||||||
*/
|
*/
|
||||||
public class UrlResolver {
|
public class UrlResolver {
|
||||||
static private final boolean DEBUG = false;
|
|
||||||
|
|
||||||
|
|
||||||
static public class _UrlResolver implements XUnoUrlResolver {
|
static public class _UrlResolver implements XUnoUrlResolver {
|
||||||
static private final String __serviceName = "com.sun.star.bridge.UnoUrlResolver";
|
static private final String __serviceName = "com.sun.star.bridge.UnoUrlResolver";
|
||||||
|
|
||||||
|
@ -120,6 +120,4 @@ public final class pipeAcceptor implements XAcceptor {
|
|||||||
*/
|
*/
|
||||||
public void stopAccepting() {
|
public void stopAccepting() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final boolean DEBUG = false;
|
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,6 @@ import com.sun.star.uno.XReference;
|
|||||||
*/
|
*/
|
||||||
public class WeakReference
|
public class WeakReference
|
||||||
{
|
{
|
||||||
private final boolean DEBUG= false;
|
|
||||||
private OWeakRefListener m_listener;
|
private OWeakRefListener m_listener;
|
||||||
// There is no default constructor. Every instance must register itself with the
|
// There is no default constructor. Every instance must register itself with the
|
||||||
// XAdapter interface, which is done in the constructors. Assume we have this code
|
// XAdapter interface, which is done in the constructors. Assume we have this code
|
||||||
@ -103,7 +102,6 @@ public class WeakReference
|
|||||||
*/
|
*/
|
||||||
class OWeakRefListener implements XReference
|
class OWeakRefListener implements XReference
|
||||||
{
|
{
|
||||||
private final boolean DEBUG= false;
|
|
||||||
private XAdapter m_adapter;
|
private XAdapter m_adapter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -206,7 +206,6 @@ public class Number_Formats
|
|||||||
|
|
||||||
|
|
||||||
// __________ private members and methods __________
|
// __________ private members and methods __________
|
||||||
private final String msDataSheetName = "Data";
|
|
||||||
|
|
||||||
private XComponentContext maOfficeContext;
|
private XComponentContext maOfficeContext;
|
||||||
private XMultiComponentFactory maServiceManager;
|
private XMultiComponentFactory maServiceManager;
|
||||||
|
@ -47,7 +47,6 @@ import com.sun.star.uno.XInterface;
|
|||||||
*/
|
*/
|
||||||
public class UITools {
|
public class UITools {
|
||||||
|
|
||||||
private static final AccessibilityTools mAT = new AccessibilityTools();
|
|
||||||
private final XAccessible mXRoot;
|
private final XAccessible mXRoot;
|
||||||
private final XMultiServiceFactory mMSF;
|
private final XMultiServiceFactory mMSF;
|
||||||
|
|
||||||
|
@ -395,10 +395,6 @@ public class _XUserInputInterception extends MultiMethodTest {
|
|||||||
*/
|
*/
|
||||||
private class EventTrigger extends Thread{
|
private class EventTrigger extends Thread{
|
||||||
|
|
||||||
/**
|
|
||||||
* represents a <CODE>AccessibilityTools</CODE>
|
|
||||||
*/
|
|
||||||
private final AccessibilityTools at = new AccessibilityTools();
|
|
||||||
/**
|
/**
|
||||||
* represents an <CODE>EventType</CODE>
|
* represents an <CODE>EventType</CODE>
|
||||||
* @see EventTest.EventTriggerType
|
* @see EventTest.EventTriggerType
|
||||||
|
@ -147,18 +147,9 @@ public class SDBCReportDataFactory implements DataSourceFactory
|
|||||||
public static final String UNO_FILTER = "Filter";
|
public static final String UNO_FILTER = "Filter";
|
||||||
private static final String APPLY_FILTER = "ApplyFilter";
|
private static final String APPLY_FILTER = "ApplyFilter";
|
||||||
private static final String UNO_COMMAND = "Command";
|
private static final String UNO_COMMAND = "Command";
|
||||||
private static final String UNO_ORDER = "Order";
|
|
||||||
private static final String UNO_APPLY_FILTER = "ApplyFilter";
|
|
||||||
private static final String UNO_COMMAND_TYPE = "CommandType";
|
private static final String UNO_COMMAND_TYPE = "CommandType";
|
||||||
private final XConnection connection;
|
private final XConnection connection;
|
||||||
private final XComponentContext m_cmpCtx;
|
private final XComponentContext m_cmpCtx;
|
||||||
private static final int FAILED = 0;
|
|
||||||
private static final int DONE = 1;
|
|
||||||
private static final int RETRIEVE_COLUMNS = 2;
|
|
||||||
private static final int RETRIEVE_OBJECT = 3;
|
|
||||||
private static final int HANDLE_QUERY = 4;
|
|
||||||
private static final int HANDLE_TABLE = 5;
|
|
||||||
private static final int HANDLE_SQL = 6;
|
|
||||||
private final Map<RowSetProperties,XRowSet> rowSetProperties = new HashMap<RowSetProperties,XRowSet>();
|
private final Map<RowSetProperties,XRowSet> rowSetProperties = new HashMap<RowSetProperties,XRowSet>();
|
||||||
private final Map<RowSetProperties,ParameterDefinition> parameterMap = new HashMap<RowSetProperties,ParameterDefinition>();
|
private final Map<RowSetProperties,ParameterDefinition> parameterMap = new HashMap<RowSetProperties,ParameterDefinition>();
|
||||||
private boolean rowSetCreated = false;
|
private boolean rowSetCreated = false;
|
||||||
|
@ -146,7 +146,6 @@ public class SpreadsheetRawReportTarget extends OfficeDocumentReportTarget
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
private String tableBackgroundColor; // null means transparent ...
|
private String tableBackgroundColor; // null means transparent ...
|
||||||
private static final ColumnBoundary[] EMPTY_COLBOUNDS = new ColumnBoundary[0];
|
|
||||||
private boolean elementBoundaryCollectionPass;
|
private boolean elementBoundaryCollectionPass;
|
||||||
private boolean oleHandled;
|
private boolean oleHandled;
|
||||||
private final List<ColumnBoundary> columnBoundaryList;
|
private final List<ColumnBoundary> columnBoundaryList;
|
||||||
|
@ -47,11 +47,6 @@ public class _XNamed {
|
|||||||
*/
|
*/
|
||||||
public XNamed oObj = null;
|
public XNamed oObj = null;
|
||||||
|
|
||||||
/**
|
|
||||||
* The test parameters
|
|
||||||
*/
|
|
||||||
private TestParameters param = null;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The log writer
|
* The log writer
|
||||||
*/
|
*/
|
||||||
@ -66,7 +61,6 @@ public class _XNamed {
|
|||||||
public _XNamed(XNamed xObj/*, LogWriter log*/, TestParameters param) {
|
public _XNamed(XNamed xObj/*, LogWriter log*/, TestParameters param) {
|
||||||
oObj = xObj;
|
oObj = xObj;
|
||||||
// this.log = log;
|
// this.log = log;
|
||||||
this.param = param;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -56,7 +56,6 @@ public class ParcelBrowseNode extends PropertySet
|
|||||||
private ScriptProvider provider;
|
private ScriptProvider provider;
|
||||||
//private RootBrowseNode parent;
|
//private RootBrowseNode parent;
|
||||||
private Collection<XBrowseNode> browsenodes;
|
private Collection<XBrowseNode> browsenodes;
|
||||||
private String name;
|
|
||||||
private ParcelContainer container;
|
private ParcelContainer container;
|
||||||
private Parcel parcel;
|
private Parcel parcel;
|
||||||
public boolean deletable = true;
|
public boolean deletable = true;
|
||||||
@ -66,7 +65,6 @@ public class ParcelBrowseNode extends PropertySet
|
|||||||
|
|
||||||
public ParcelBrowseNode( ScriptProvider provider, ParcelContainer container, String parcelName ) {
|
public ParcelBrowseNode( ScriptProvider provider, ParcelContainer container, String parcelName ) {
|
||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
this.name = parcelName;
|
|
||||||
this.container = container;
|
this.container = container;
|
||||||
|
|
||||||
// TODO decide whether exception is propagated out or not
|
// TODO decide whether exception is propagated out or not
|
||||||
|
@ -34,10 +34,6 @@ import org.w3c.dom.*;
|
|||||||
|
|
||||||
public class DeployedUnoPackagesDB {
|
public class DeployedUnoPackagesDB {
|
||||||
|
|
||||||
// File name to be used for parcel descriptor files
|
|
||||||
private static final String
|
|
||||||
PARCEL_DESCRIPTOR_NAME = "unopkg-desc.xml";
|
|
||||||
|
|
||||||
// This is the default contents of a parcel descriptor to be used when
|
// This is the default contents of a parcel descriptor to be used when
|
||||||
// creating empty descriptors
|
// creating empty descriptors
|
||||||
private static final byte[] EMPTY_DOCUMENT =
|
private static final byte[] EMPTY_DOCUMENT =
|
||||||
@ -45,7 +41,6 @@ public class DeployedUnoPackagesDB {
|
|||||||
"<unopackages xmlns:unopackages=\"unopackages.dtd\">\n" +
|
"<unopackages xmlns:unopackages=\"unopackages.dtd\">\n" +
|
||||||
"</unopackages>").getBytes();
|
"</unopackages>").getBytes();
|
||||||
|
|
||||||
private File file = null;
|
|
||||||
private Document document = null;
|
private Document document = null;
|
||||||
|
|
||||||
public DeployedUnoPackagesDB() throws IOException {
|
public DeployedUnoPackagesDB() throws IOException {
|
||||||
|
@ -38,8 +38,6 @@ public class UCBStreamHandler extends URLStreamHandler {
|
|||||||
|
|
||||||
public final static String separator = "/ucb/";
|
public final static String separator = "/ucb/";
|
||||||
|
|
||||||
private XComponentContext m_xContext = null;
|
|
||||||
private XMultiComponentFactory m_xMultiComponentFactory = null;
|
|
||||||
private XSimpleFileAccess m_xSimpleFileAccess = null;
|
private XSimpleFileAccess m_xSimpleFileAccess = null;
|
||||||
private HashMap<String,InputStream> m_jarStreamMap = new HashMap<String,InputStream>(12);
|
private HashMap<String,InputStream> m_jarStreamMap = new HashMap<String,InputStream>(12);
|
||||||
public static String m_ucbscheme;
|
public static String m_ucbscheme;
|
||||||
@ -47,7 +45,6 @@ public class UCBStreamHandler extends URLStreamHandler {
|
|||||||
public UCBStreamHandler( XComponentContext ctxt, String scheme, XSimpleFileAccess xSFA )
|
public UCBStreamHandler( XComponentContext ctxt, String scheme, XSimpleFileAccess xSFA )
|
||||||
{
|
{
|
||||||
LogUtils.DEBUG( "UCBStreamHandler ctor, scheme = " + scheme );
|
LogUtils.DEBUG( "UCBStreamHandler ctor, scheme = " + scheme );
|
||||||
this.m_xContext = ctxt;
|
|
||||||
UCBStreamHandler.m_ucbscheme = scheme;
|
UCBStreamHandler.m_ucbscheme = scheme;
|
||||||
this.m_xSimpleFileAccess = xSFA;
|
this.m_xSimpleFileAccess = xSFA;
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,6 @@ public class EditorScriptContext implements XScriptContext
|
|||||||
{
|
{
|
||||||
private XDesktop m_xDeskTop;
|
private XDesktop m_xDeskTop;
|
||||||
private XComponentContext m_xComponentContext;
|
private XComponentContext m_xComponentContext;
|
||||||
private XDesktop m_xCtx;
|
|
||||||
public EditorScriptContext( XComponentContext xmComponentContext,
|
public EditorScriptContext( XComponentContext xmComponentContext,
|
||||||
XDesktop xDesktop )
|
XDesktop xDesktop )
|
||||||
{
|
{
|
||||||
|
@ -37,7 +37,6 @@ public class ScriptContext extends PropertySet implements XScriptContext
|
|||||||
public final static String HM_DESKTOP = "Desktop";
|
public final static String HM_DESKTOP = "Desktop";
|
||||||
public final static String HM_COMPONENT_CONTEXT = "ComponentContext";
|
public final static String HM_COMPONENT_CONTEXT = "ComponentContext";
|
||||||
|
|
||||||
private final static String DOC_REF = "SCRIPTING_DOC_REF";
|
|
||||||
private final static String DOC_URI = "SCRIPTING_DOC_URI";
|
private final static String DOC_URI = "SCRIPTING_DOC_URI";
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,7 +38,6 @@ public class JavaFinder implements MethodFinder {
|
|||||||
private static JavaFinder finder;
|
private static JavaFinder finder;
|
||||||
private static final String JAVA_SUFFIX = ".java";
|
private static final String JAVA_SUFFIX = ".java";
|
||||||
private static final String CLASS_SUFFIX = ".class";
|
private static final String CLASS_SUFFIX = ".class";
|
||||||
private static final String LANGUAGE = "Java";
|
|
||||||
private static final String FIRST_PARAM =
|
private static final String FIRST_PARAM =
|
||||||
"drafts.com.sun.star.script.framework.runtime.XScriptContext";
|
"drafts.com.sun.star.script.framework.runtime.XScriptContext";
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ public class OfficeInstallation implements java.io.Serializable {
|
|||||||
private String path;
|
private String path;
|
||||||
private String url;
|
private String url;
|
||||||
private boolean hasFW = false;
|
private boolean hasFW = false;
|
||||||
private boolean supportsFW = false;
|
|
||||||
|
|
||||||
public static final String FILE_URL_PREFIX = SVersionRCFile.FILE_URL_PREFIX;
|
public static final String FILE_URL_PREFIX = SVersionRCFile.FILE_URL_PREFIX;
|
||||||
|
|
||||||
|
@ -49,7 +49,6 @@ public final class LocalOfficeImpl
|
|||||||
private transient String mOfficePath;
|
private transient String mOfficePath;
|
||||||
private transient XMultiComponentFactory mComponentFactory;
|
private transient XMultiComponentFactory mComponentFactory;
|
||||||
private transient XComponentContext mComponentContext;
|
private transient XComponentContext mComponentContext;
|
||||||
private transient XMultiServiceFactory mServiceFactory;
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*/
|
*/
|
||||||
|
@ -37,8 +37,6 @@ public class MethodPanel extends JPanel {
|
|||||||
|
|
||||||
private File basedir;
|
private File basedir;
|
||||||
private ArrayList<String> classpath;
|
private ArrayList<String> classpath;
|
||||||
private final static String FIRST_PARAM =
|
|
||||||
"drafts.com.sun.star.script.framework.runtime.XScriptContext";
|
|
||||||
|
|
||||||
// private JTable table;
|
// private JTable table;
|
||||||
// private MethodTableModel model;
|
// private MethodTableModel model;
|
||||||
|
@ -35,7 +35,6 @@ public class SecurityDialogUtil extends Thread {
|
|||||||
|
|
||||||
private XMultiServiceFactory xMSF = null;
|
private XMultiServiceFactory xMSF = null;
|
||||||
private String errorMsg;
|
private String errorMsg;
|
||||||
private boolean errorHappened;
|
|
||||||
private String btnName;
|
private String btnName;
|
||||||
private boolean checkBox;
|
private boolean checkBox;
|
||||||
|
|
||||||
@ -49,8 +48,7 @@ public SecurityDialogUtil(XMultiServiceFactory xMSF, String btnName, boolean che
|
|||||||
this.xMSF = xMSF;
|
this.xMSF = xMSF;
|
||||||
this.btnName = btnName;
|
this.btnName = btnName;
|
||||||
this.checkBox = checkBox;
|
this.checkBox = checkBox;
|
||||||
errorMsg = "";
|
this.errorMsg = "";
|
||||||
errorHappened=false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -30,8 +30,6 @@ import javax.swing.*;
|
|||||||
*/
|
*/
|
||||||
public class IdeUpdater extends Thread {
|
public class IdeUpdater extends Thread {
|
||||||
|
|
||||||
private String classesPath = null;
|
|
||||||
private String jarfilename;
|
|
||||||
private String installPath;
|
private String installPath;
|
||||||
|
|
||||||
private JLabel statusLabel;
|
private JLabel statusLabel;
|
||||||
|
@ -257,7 +257,6 @@ public class IdeVersion extends javax.swing.JPanel implements ActionListener, Ta
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JTextField jTextField2;
|
|
||||||
private InstallWizard wizard;
|
private InstallWizard wizard;
|
||||||
private MyTableModelIDE tableModel;
|
private MyTableModelIDE tableModel;
|
||||||
private NavPanel nav;
|
private NavPanel nav;
|
||||||
|
@ -449,7 +449,6 @@ public class InstUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static final String [] versions = {"NetBeans 3.4", "jEdit 4.0.3", "jEdit 4.1pre5" };
|
public static final String [] versions = {"NetBeans 3.4", "jEdit 4.0.3", "jEdit 4.1pre5" };
|
||||||
private static File tmpDir = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -230,7 +230,6 @@ public class Version extends javax.swing.JPanel implements ActionListener, Table
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JTextField jTextField2;
|
|
||||||
private InstallWizard wizard;
|
private InstallWizard wizard;
|
||||||
private MyTableModel tableModel;
|
private MyTableModel tableModel;
|
||||||
private NavPanel nav;
|
private NavPanel nav;
|
||||||
|
@ -392,8 +392,6 @@ public class AccessibilityTree
|
|||||||
maTree;
|
maTree;
|
||||||
private Canvas
|
private Canvas
|
||||||
maCanvas;
|
maCanvas;
|
||||||
private boolean
|
|
||||||
mbFirstShapeSeen;
|
|
||||||
private int
|
private int
|
||||||
mnExpandLevel;
|
mnExpandLevel;
|
||||||
}
|
}
|
||||||
|
@ -574,10 +574,7 @@ public class AccessibilityWorkBench
|
|||||||
protected InformationWriter
|
protected InformationWriter
|
||||||
info;
|
info;
|
||||||
|
|
||||||
private XModel
|
|
||||||
mxModel;
|
|
||||||
private JPanel
|
private JPanel
|
||||||
maMainPanel,
|
|
||||||
maButtonBar;
|
maButtonBar;
|
||||||
private Canvas
|
private Canvas
|
||||||
maCanvas;
|
maCanvas;
|
||||||
@ -585,8 +582,6 @@ public class AccessibilityWorkBench
|
|||||||
maAccessibilityTree;
|
maAccessibilityTree;
|
||||||
private ObjectViewContainer
|
private ObjectViewContainer
|
||||||
maObjectViewContainer;
|
maObjectViewContainer;
|
||||||
private JScrollPane
|
|
||||||
maScrollPane;
|
|
||||||
private MessageArea
|
private MessageArea
|
||||||
maMessageArea;
|
maMessageArea;
|
||||||
private JButton
|
private JButton
|
||||||
@ -597,8 +592,6 @@ public class AccessibilityWorkBench
|
|||||||
aShapesButton;
|
aShapesButton;
|
||||||
private JMenuBar
|
private JMenuBar
|
||||||
maMenuBar;
|
maMenuBar;
|
||||||
private String
|
|
||||||
msMessage;
|
|
||||||
private boolean
|
private boolean
|
||||||
mbInitialized;
|
mbInitialized;
|
||||||
private TopWindowListener
|
private TopWindowListener
|
||||||
|
@ -447,10 +447,6 @@ class Canvas
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private int
|
|
||||||
mnXAnchor,
|
|
||||||
mnYAnchor,
|
|
||||||
maResizeFlag;
|
|
||||||
private double
|
private double
|
||||||
mnHOffset,
|
mnHOffset,
|
||||||
mnVOffset,
|
mnVOffset,
|
||||||
|
@ -324,7 +324,6 @@ class CanvasShape
|
|||||||
private Point
|
private Point
|
||||||
maPosition;
|
maPosition;
|
||||||
private Dimension
|
private Dimension
|
||||||
maTransformedSize,
|
|
||||||
maSize;
|
maSize;
|
||||||
private Color
|
private Color
|
||||||
maFgColor,
|
maFgColor,
|
||||||
|
@ -34,8 +34,6 @@ class NodeFactory
|
|||||||
|
|
||||||
private NodeFactory ()
|
private NodeFactory ()
|
||||||
{
|
{
|
||||||
mbVerbose = false;
|
|
||||||
|
|
||||||
maContextHandler = new AccessibleContextHandler();
|
maContextHandler = new AccessibleContextHandler();
|
||||||
maTextHandler = new AccessibleTextHandler();
|
maTextHandler = new AccessibleTextHandler();
|
||||||
maEditableTextHandler = new AccessibleEditableTextHandler();
|
maEditableTextHandler = new AccessibleEditableTextHandler();
|
||||||
@ -140,8 +138,6 @@ class NodeFactory
|
|||||||
|
|
||||||
private static NodeFactory maInstance = null;
|
private static NodeFactory maInstance = null;
|
||||||
|
|
||||||
private boolean mbVerbose;
|
|
||||||
|
|
||||||
// default handlers
|
// default handlers
|
||||||
private NodeHandler maContextHandler = new AccessibleContextHandler();
|
private NodeHandler maContextHandler = new AccessibleContextHandler();
|
||||||
private NodeHandler maTextHandler = new AccessibleTextHandler();
|
private NodeHandler maTextHandler = new AccessibleTextHandler();
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import com.sun.star.accessibility.XAccessible;
|
|
||||||
import com.sun.star.accessibility.AccessibleEventObject;
|
import com.sun.star.accessibility.AccessibleEventObject;
|
||||||
import com.sun.star.accessibility.AccessibleEventId;
|
import com.sun.star.accessibility.AccessibleEventId;
|
||||||
import com.sun.star.accessibility.AccessibleTableModelChange;
|
import com.sun.star.accessibility.AccessibleTableModelChange;
|
||||||
@ -54,6 +53,4 @@ class TableEventHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private XAccessible mxOldChild;
|
|
||||||
private XAccessible mxNewChild;
|
|
||||||
}
|
}
|
||||||
|
@ -167,9 +167,6 @@ public class ObjectViewContainer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Observe this tree for selection changes and notify them to all
|
|
||||||
/// children.
|
|
||||||
private JTree maTree;
|
|
||||||
private Border maViewBorder;
|
private Border maViewBorder;
|
||||||
/// List of view templates which are instantiated when new object is set.
|
/// List of view templates which are instantiated when new object is set.
|
||||||
private ArrayList<Class> maViewTemplates;
|
private ArrayList<Class> maViewTemplates;
|
||||||
|
@ -40,15 +40,11 @@ public class _XCommandInfoChangeNotifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private class CommandInfoChangeListener implements XCommandInfoChangeListener {
|
private class CommandInfoChangeListener implements XCommandInfoChangeListener {
|
||||||
boolean disposing = false;
|
|
||||||
boolean infoChanged = false;
|
|
||||||
|
|
||||||
public void commandInfoChange(com.sun.star.ucb.CommandInfoChangeEvent commandInfoChangeEvent) {
|
public void commandInfoChange(com.sun.star.ucb.CommandInfoChangeEvent commandInfoChangeEvent) {
|
||||||
infoChanged = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void disposing(com.sun.star.lang.EventObject eventObject) {
|
public void disposing(com.sun.star.lang.EventObject eventObject) {
|
||||||
disposing = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -39,8 +39,6 @@ import share.LogWriter;
|
|||||||
public class _XComponent {
|
public class _XComponent {
|
||||||
|
|
||||||
public static XComponent oObj = null;
|
public static XComponent oObj = null;
|
||||||
private XNameContainer xContainer = null;
|
|
||||||
private XComponent altDispose = null;
|
|
||||||
public LogWriter log = null;
|
public LogWriter log = null;
|
||||||
|
|
||||||
boolean listenerDisposed[] = new boolean[2];
|
boolean listenerDisposed[] = new boolean[2];
|
||||||
|
@ -43,15 +43,11 @@ public class _XPropertiesChangeNotifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private class PropertiesChangeListener implements XPropertiesChangeListener {
|
private class PropertiesChangeListener implements XPropertiesChangeListener {
|
||||||
public boolean disposed = false;
|
|
||||||
public boolean propChanged = false;
|
|
||||||
|
|
||||||
public void disposing(com.sun.star.lang.EventObject eventObject) {
|
public void disposing(com.sun.star.lang.EventObject eventObject) {
|
||||||
disposed = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void propertiesChange(com.sun.star.beans.PropertyChangeEvent[] propertyChangeEvent) {
|
public void propertiesChange(com.sun.star.beans.PropertyChangeEvent[] propertyChangeEvent) {
|
||||||
propChanged = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -43,11 +43,8 @@ public class _XPropertySetInfoChangeNotifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private class PropertySetInfoChangeListener implements XPropertySetInfoChangeListener {
|
private class PropertySetInfoChangeListener implements XPropertySetInfoChangeListener {
|
||||||
public boolean disposed = false;
|
|
||||||
public boolean propChanged = false;
|
|
||||||
|
|
||||||
public void disposing(com.sun.star.lang.EventObject eventObject) {
|
public void disposing(com.sun.star.lang.EventObject eventObject) {
|
||||||
disposed = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void propertySetInfoChange(com.sun.star.beans.PropertySetInfoChangeEvent propertySetInfoChangeEvent) {
|
public void propertySetInfoChange(com.sun.star.beans.PropertySetInfoChangeEvent propertySetInfoChangeEvent) {
|
||||||
|
@ -43,10 +43,6 @@ public final class GlobalTransfer_Test extends ComplexTestCase {
|
|||||||
= "testcase-do-not-remove.sxw";
|
= "testcase-do-not-remove.sxw";
|
||||||
static private final String httpSourceDir
|
static private final String httpSourceDir
|
||||||
= "http://so-berlin/~webdav/";
|
= "http://so-berlin/~webdav/";
|
||||||
static private final String httpTargetDir
|
|
||||||
= "http://so-berlin/~webdav/";
|
|
||||||
static private final String fileSourceDir
|
|
||||||
= "file:///d:/temp/source/";
|
|
||||||
static private final String fileTargetDir
|
static private final String fileTargetDir
|
||||||
= "file:///d:/temp/";
|
= "file:///d:/temp/";
|
||||||
|
|
||||||
|
@ -50,7 +50,6 @@ public class PersistentWindowTest
|
|||||||
|
|
||||||
// private XMultiServiceFactory xMSF;
|
// private XMultiServiceFactory xMSF;
|
||||||
// private OfficeProvider oProvider;
|
// private OfficeProvider oProvider;
|
||||||
private int iOfficeCloseTime = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A frunction to tell the framework, which test functions are available.
|
* A frunction to tell the framework, which test functions are available.
|
||||||
|
@ -123,13 +123,10 @@ public class UIControlArranger
|
|||||||
|
|
||||||
private class LayoutRenderer implements ButtonList.IImageRenderer
|
private class LayoutRenderer implements ButtonList.IImageRenderer
|
||||||
{
|
{
|
||||||
int Index = 1;
|
|
||||||
|
|
||||||
public Object[] getImageUrls(Object listitem)
|
public Object[] getImageUrls(Object listitem)
|
||||||
{
|
{
|
||||||
|
|
||||||
int ResId = UIConsts.RID_IMG_FORM + (2 * ((Integer) listitem).intValue());
|
int ResId = UIConsts.RID_IMG_FORM + (2 * ((Integer) listitem).intValue());
|
||||||
Index++;
|
|
||||||
return new Integer[]
|
return new Integer[]
|
||||||
{
|
{
|
||||||
new Integer(ResId), new Integer(ResId + 1)
|
new Integer(ResId), new Integer(ResId + 1)
|
||||||
|
@ -33,7 +33,6 @@ public class GroupFieldHandler extends FieldSelection
|
|||||||
private IReportDocument CurReportDocument;
|
private IReportDocument CurReportDocument;
|
||||||
private ArrayList<String> GroupFieldVector = new ArrayList<String>();
|
private ArrayList<String> GroupFieldVector = new ArrayList<String>();
|
||||||
private QueryMetaData CurDBMetaData;
|
private QueryMetaData CurDBMetaData;
|
||||||
private WizardDialog oWizardDialog;
|
|
||||||
private static final short MAXSELFIELDS = 4;
|
private static final short MAXSELFIELDS = 4;
|
||||||
|
|
||||||
public GroupFieldHandler(IReportDocument _CurReportDocument, WizardDialog _CurUnoDialog)
|
public GroupFieldHandler(IReportDocument _CurReportDocument, WizardDialog _CurUnoDialog)
|
||||||
@ -44,7 +43,6 @@ public class GroupFieldHandler extends FieldSelection
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
this.oWizardDialog = _CurUnoDialog;
|
|
||||||
this.CurReportDocument = _CurReportDocument;
|
this.CurReportDocument = _CurReportDocument;
|
||||||
this.CurDBMetaData = CurReportDocument.getRecordParser();
|
this.CurDBMetaData = CurReportDocument.getRecordParser();
|
||||||
CurUnoDialog.setControlProperty("lstFields_2", "MultiSelection", Boolean.FALSE);
|
CurUnoDialog.setControlProperty("lstFields_2", "MultiSelection", Boolean.FALSE);
|
||||||
|
@ -56,8 +56,6 @@ class ReportTextDocument extends com.sun.star.wizards.text.TextDocument implemen
|
|||||||
// private XMultiServiceFactory xMSFDoc;
|
// private XMultiServiceFactory xMSFDoc;
|
||||||
private Object ReportPageStyle;
|
private Object ReportPageStyle;
|
||||||
private Object FirstPageStyle;
|
private Object FirstPageStyle;
|
||||||
private int PageWidth;
|
|
||||||
private Rectangle PosSize;
|
|
||||||
// private String ReportFolderName;
|
// private String ReportFolderName;
|
||||||
public ArrayList<DBColumn> DBColumnsVector;
|
public ArrayList<DBColumn> DBColumnsVector;
|
||||||
private RecordTable CurRecordTable;
|
private RecordTable CurRecordTable;
|
||||||
|
@ -32,7 +32,6 @@ public class CGCategory
|
|||||||
|
|
||||||
public String Name;
|
public String Name;
|
||||||
public int Index;
|
public int Index;
|
||||||
private String[] Tables;
|
|
||||||
private final String CGROOTPATH = "/org.openoffice.Office.TableWizard/TableWizard/";
|
private final String CGROOTPATH = "/org.openoffice.Office.TableWizard/TableWizard/";
|
||||||
XMultiServiceFactory xMSF;
|
XMultiServiceFactory xMSF;
|
||||||
XNameAccess xNameAccessTablesNode;
|
XNameAccess xNameAccessTablesNode;
|
||||||
|
@ -31,8 +31,6 @@ public class CGTable
|
|||||||
XNameAccess xNameAccessTableNode;
|
XNameAccess xNameAccessTableNode;
|
||||||
public String Index;
|
public String Index;
|
||||||
public String Name;
|
public String Name;
|
||||||
private Object oconfigView;
|
|
||||||
private final String CGROOTPATH = "/org.openoffice.Office.TableWizard/TableWizard/";
|
|
||||||
|
|
||||||
public CGTable(XMultiServiceFactory _xMSF)
|
public CGTable(XMultiServiceFactory _xMSF)
|
||||||
{
|
{
|
||||||
|
@ -39,9 +39,6 @@ public class FieldDescription
|
|||||||
private ArrayList<PropertyValue> aPropertyValues;
|
private ArrayList<PropertyValue> aPropertyValues;
|
||||||
// PropertyValue[] aPropertyValues;
|
// PropertyValue[] aPropertyValues;
|
||||||
private Integer Type;
|
private Integer Type;
|
||||||
private Integer Scale;
|
|
||||||
private Integer Precision;
|
|
||||||
private Boolean DefaultValue;
|
|
||||||
private String Name;
|
private String Name;
|
||||||
private XMultiServiceFactory xMSF;
|
private XMultiServiceFactory xMSF;
|
||||||
private Locale aLocale;
|
private Locale aLocale;
|
||||||
|
@ -40,12 +40,9 @@ public class PrimaryKeyHandler implements XFieldSelectionListener
|
|||||||
private TableWizard CurUnoDialog;
|
private TableWizard CurUnoDialog;
|
||||||
private short curtabindex;
|
private short curtabindex;
|
||||||
private final static String SPRIMEKEYMODE = "togglePrimeKeyFields";
|
private final static String SPRIMEKEYMODE = "togglePrimeKeyFields";
|
||||||
private final static String SSINGLEKEYMODE = "toggleSinglePrimeKeyFields";
|
|
||||||
private final static String SSEVERALKEYMODE = "toggleSeveralPrimeKeyFields";
|
|
||||||
private XRadioButton optAddAutomatically;
|
private XRadioButton optAddAutomatically;
|
||||||
private XRadioButton optUseExisting;
|
private XRadioButton optUseExisting;
|
||||||
private XRadioButton optUseSeveral;
|
private XRadioButton optUseSeveral;
|
||||||
private XCheckBox chkUsePrimaryKey;
|
|
||||||
private XCheckBox chkcreatePrimaryKey;
|
private XCheckBox chkcreatePrimaryKey;
|
||||||
private XCheckBox chkApplyAutoValueExisting;
|
private XCheckBox chkApplyAutoValueExisting;
|
||||||
private XCheckBox chkApplyAutoValueAutomatic;
|
private XCheckBox chkApplyAutoValueAutomatic;
|
||||||
@ -54,7 +51,6 @@ public class PrimaryKeyHandler implements XFieldSelectionListener
|
|||||||
private FieldSelection curPrimaryKeySelection;
|
private FieldSelection curPrimaryKeySelection;
|
||||||
private String[] fieldnames;
|
private String[] fieldnames;
|
||||||
private TableDescriptor curTableDescriptor;
|
private TableDescriptor curTableDescriptor;
|
||||||
private int nAutoPrimeKeyDataType;
|
|
||||||
private boolean bAutoPrimaryKeysupportsAutoIncrmentation;
|
private boolean bAutoPrimaryKeysupportsAutoIncrmentation;
|
||||||
private final static String SAUTOMATICKEYFIELDNAME = "ID";
|
private final static String SAUTOMATICKEYFIELDNAME = "ID";
|
||||||
|
|
||||||
|
@ -58,7 +58,6 @@ public class ScenarioSelector extends FieldSelection implements XItemListener, X
|
|||||||
private CGCategory oCGCategory;
|
private CGCategory oCGCategory;
|
||||||
protected CGTable oCGTable;
|
protected CGTable oCGTable;
|
||||||
private String SELECTCATEGORY = "selectCategory";
|
private String SELECTCATEGORY = "selectCategory";
|
||||||
private int curcategory;
|
|
||||||
protected boolean bcolumnnameislimited;
|
protected boolean bcolumnnameislimited;
|
||||||
private int imaxcolumnchars;
|
private int imaxcolumnchars;
|
||||||
private String smytable;
|
private String smytable;
|
||||||
|
@ -33,14 +33,10 @@ public class TextStyleHandler
|
|||||||
{
|
{
|
||||||
|
|
||||||
public XStyleFamiliesSupplier xStyleFamiliesSupplier;
|
public XStyleFamiliesSupplier xStyleFamiliesSupplier;
|
||||||
private XMultiServiceFactory xMSFDoc;
|
|
||||||
private XTextDocument xTextDocument;
|
|
||||||
|
|
||||||
/** Creates a new instance of TextStyleHandler */
|
/** Creates a new instance of TextStyleHandler */
|
||||||
public TextStyleHandler(com.sun.star.lang.XMultiServiceFactory xMSF, XTextDocument xTextDocument)
|
public TextStyleHandler(com.sun.star.lang.XMultiServiceFactory xMSF, XTextDocument xTextDocument)
|
||||||
{
|
{
|
||||||
this.xMSFDoc = xMSF;
|
|
||||||
this.xTextDocument = xTextDocument;
|
|
||||||
xStyleFamiliesSupplier = UnoRuntime.queryInterface(XStyleFamiliesSupplier.class, xTextDocument);
|
xStyleFamiliesSupplier = UnoRuntime.queryInterface(XStyleFamiliesSupplier.class, xTextDocument);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,16 +40,12 @@ public class ViewHandler
|
|||||||
{
|
{
|
||||||
|
|
||||||
private XTextViewCursorSupplier xTextViewCursorSupplier;
|
private XTextViewCursorSupplier xTextViewCursorSupplier;
|
||||||
private XMultiServiceFactory xMSFDoc;
|
|
||||||
private XTextDocument xTextDocument;
|
|
||||||
private XStyleFamiliesSupplier xStyleFamiliesSupplier;
|
private XStyleFamiliesSupplier xStyleFamiliesSupplier;
|
||||||
private XViewSettingsSupplier xViewSettingsSupplier;
|
private XViewSettingsSupplier xViewSettingsSupplier;
|
||||||
|
|
||||||
/** Creates a new instance of View */
|
/** Creates a new instance of View */
|
||||||
public ViewHandler(XMultiServiceFactory xMSF, XTextDocument xTextDocument)
|
public ViewHandler(XMultiServiceFactory xMSF, XTextDocument xTextDocument)
|
||||||
{
|
{
|
||||||
this.xMSFDoc = xMSF;
|
|
||||||
this.xTextDocument = xTextDocument;
|
|
||||||
xTextViewCursorSupplier = UnoRuntime.queryInterface(XTextViewCursorSupplier.class, xTextDocument.getCurrentController());
|
xTextViewCursorSupplier = UnoRuntime.queryInterface(XTextViewCursorSupplier.class, xTextDocument.getCurrentController());
|
||||||
xViewSettingsSupplier = UnoRuntime.queryInterface(XViewSettingsSupplier.class, xTextDocument.getCurrentController());
|
xViewSettingsSupplier = UnoRuntime.queryInterface(XViewSettingsSupplier.class, xTextDocument.getCurrentController());
|
||||||
xStyleFamiliesSupplier = UnoRuntime.queryInterface(XStyleFamiliesSupplier.class, xTextDocument);
|
xStyleFamiliesSupplier = UnoRuntime.queryInterface(XStyleFamiliesSupplier.class, xTextDocument);
|
||||||
|
@ -46,7 +46,6 @@ public class DocumentPreview
|
|||||||
*/
|
*/
|
||||||
private XComponent xComponent;
|
private XComponent xComponent;
|
||||||
private XControl xControl;
|
private XControl xControl;
|
||||||
private int step;
|
|
||||||
private PropertyValue[] loadArgs;
|
private PropertyValue[] loadArgs;
|
||||||
private String url;
|
private String url;
|
||||||
public static final int PREVIEW_MODE = 1;
|
public static final int PREVIEW_MODE = 1;
|
||||||
|
@ -37,8 +37,6 @@ public class PathSelection
|
|||||||
public boolean usedPathPicker = false;
|
public boolean usedPathPicker = false;
|
||||||
public XPathSelectionListener xAction;
|
public XPathSelectionListener xAction;
|
||||||
public XTextComponent xSaveTextBox;
|
public XTextComponent xSaveTextBox;
|
||||||
private final int CMDSELECTPATH = 1;
|
|
||||||
private final int TXTSAVEPATH = 1;
|
|
||||||
|
|
||||||
public static class DialogTypes
|
public static class DialogTypes
|
||||||
{
|
{
|
||||||
|
@ -23,7 +23,7 @@ import com.sun.star.uno.Any;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is a factory for Value objects for different types of
|
* This class is a factory for Value objects for different types of
|
||||||
* memebers.
|
* members.
|
||||||
* Other than some Value implementations classes this class contains static
|
* Other than some Value implementations classes this class contains static
|
||||||
* type conversion methods and factory methods.
|
* type conversion methods and factory methods.
|
||||||
*
|
*
|
||||||
@ -33,7 +33,6 @@ public class DataAwareFields
|
|||||||
{
|
{
|
||||||
|
|
||||||
private static final String TRUE = "true";
|
private static final String TRUE = "true";
|
||||||
private static final String FALSE = "false";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* returns a Value Object which sets and gets values
|
* returns a Value Object which sets and gets values
|
||||||
@ -82,7 +81,7 @@ public class DataAwareFields
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* an abstract implementation of DataAware.Value to access
|
* an abstract implementation of DataAware.Value to access
|
||||||
* object memebers (fields) usign reflection.
|
* object members (fields) using reflection.
|
||||||
*/
|
*/
|
||||||
private static abstract class FieldValue implements DataAware.Value
|
private static abstract class FieldValue implements DataAware.Value
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user