filesearch.java

来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 152 行

JAVA
152
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.office11;import com.jacob.com.*;public class FileSearch extends Dispatch {	public static final String componentName = "Office.FileSearch";	public FileSearch() {		super(componentName);	}	/**	* This constructor is used instead of a case operation to	* turn a Dispatch object into a wider object - it must exist	* in every wrapper class whose instances may be returned from	* method calls wrapped in VT_DISPATCH Variants.	*/	public FileSearch(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public FileSearch(String compName) {		super(compName);	}	public Object getApplication() {		return Dispatch.get(this, "Application");	}	public int getCreator() {		return Dispatch.get(this, "Creator").toInt();	}	public boolean getSearchSubFolders() {		return Dispatch.get(this, "SearchSubFolders").toBoolean();	}	public void setSearchSubFolders(boolean lastParam) {		Dispatch.put(this, "SearchSubFolders", new Variant(lastParam));	}	public boolean getMatchTextExactly() {		return Dispatch.get(this, "MatchTextExactly").toBoolean();	}	public void setMatchTextExactly(boolean lastParam) {		Dispatch.put(this, "MatchTextExactly", new Variant(lastParam));	}	public boolean getMatchAllWordForms() {		return Dispatch.get(this, "MatchAllWordForms").toBoolean();	}	public void setMatchAllWordForms(boolean lastParam) {		Dispatch.put(this, "MatchAllWordForms", new Variant(lastParam));	}	public String getFileName() {		return Dispatch.get(this, "FileName").toString();	}	public void setFileName(String lastParam) {		Dispatch.put(this, "FileName", lastParam);	}	public int getFileType() {		return Dispatch.get(this, "FileType").toInt();	}	public void setFileType(int lastParam) {		Dispatch.put(this, "FileType", new Variant(lastParam));	}	public int getLastModified() {		return Dispatch.get(this, "LastModified").toInt();	}	public void setLastModified(int lastParam) {		Dispatch.put(this, "LastModified", new Variant(lastParam));	}	public String getTextOrProperty() {		return Dispatch.get(this, "TextOrProperty").toString();	}	public void setTextOrProperty(String lastParam) {		Dispatch.put(this, "TextOrProperty", lastParam);	}	public String getLookIn() {		return Dispatch.get(this, "LookIn").toString();	}	public void setLookIn(String lastParam) {		Dispatch.put(this, "LookIn", lastParam);	}	public int execute(int sortBy, int sortOrder, boolean lastParam) {		return Dispatch.call(this, "Execute", new Variant(sortBy), new Variant(sortOrder), new Variant(lastParam)).toInt();	}	public int execute(int sortBy, int sortOrder) {		return Dispatch.call(this, "Execute", new Variant(sortBy), new Variant(sortOrder)).toInt();	}	public int execute(int sortBy) {		return Dispatch.call(this, "Execute", new Variant(sortBy)).toInt();	}	public int execute() {		return Dispatch.call(this, "Execute").toInt();	}	public void newSearch() {		Dispatch.call(this, "NewSearch");	}	public FoundFiles getFoundFiles() {		return new FoundFiles(Dispatch.get(this, "FoundFiles").toDispatch());	}	public PropertyTests getPropertyTests() {		return new PropertyTests(Dispatch.get(this, "PropertyTests").toDispatch());	}	public SearchScopes getSearchScopes() {		return new SearchScopes(Dispatch.get(this, "SearchScopes").toDispatch());	}	public SearchFolders getSearchFolders() {		return new SearchFolders(Dispatch.get(this, "SearchFolders").toDispatch());	}	public FileTypes getFileTypes() {		return new FileTypes(Dispatch.get(this, "FileTypes").toDispatch());	}	public void refreshScopes() {		Dispatch.call(this, "RefreshScopes");	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?