formatcondition.java

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

JAVA
96
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.excel11;import com.jacob.com.*;public class FormatCondition extends Dispatch {	public static final String componentName = "Excel.FormatCondition";	public FormatCondition() {		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 FormatCondition(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public FormatCondition(String compName) {		super(compName);	}	public Application getApplication() {		return new Application(Dispatch.get(this, "Application").toDispatch());	}	public int getCreator() {		return Dispatch.get(this, "Creator").toInt();	}	public Dispatch getParent() {		return Dispatch.get(this, "Parent").toDispatch();	}	public void modify(int type, Variant operator, Variant formula1, Variant lastParam) {		Dispatch.call(this, "Modify", new Variant(type), operator, formula1, lastParam);	}	public void modify(int type, Variant operator, Variant formula1) {		Dispatch.call(this, "Modify", new Variant(type), operator, formula1);	}	public void modify(int type, Variant operator) {		Dispatch.call(this, "Modify", new Variant(type), operator);	}	public void modify(int type) {		Dispatch.call(this, "Modify", new Variant(type));	}	public int getType() {		return Dispatch.get(this, "Type").toInt();	}	public int getOperator() {		return Dispatch.get(this, "Operator").toInt();	}	public String getFormula1() {		return Dispatch.get(this, "Formula1").toString();	}	public String getFormula2() {		return Dispatch.get(this, "Formula2").toString();	}	public Interior getInterior() {		return new Interior(Dispatch.get(this, "Interior").toDispatch());	}	public Borders getBorders() {		return new Borders(Dispatch.get(this, "Borders").toDispatch());	}	public Font getFont() {		return new Font(Dispatch.get(this, "Font").toDispatch());	}	public void delete() {		Dispatch.call(this, "Delete");	}}

⌨️ 快捷键说明

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