⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 colorformat.java

📁 将Excel和Word的类型库都转换过来了
💻 JAVA
字号:
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class ColorFormat extends Dispatch {	public static final String componentName = "Word.ColorFormat";	public ColorFormat() {		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 ColorFormat(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public ColorFormat(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 Object getParent() {		return Dispatch.get(this, "Parent");	}	public int getRGB() {		return Dispatch.get(this, "RGB").toInt();	}	public void setRGB(int lastParam) {		Dispatch.put(this, "RGB", new Variant(lastParam));	}	public int getSchemeColor() {		return Dispatch.get(this, "SchemeColor").toInt();	}	public void setSchemeColor(int lastParam) {		Dispatch.put(this, "SchemeColor", new Variant(lastParam));	}	public int getType() {		return Dispatch.get(this, "Type").toInt();	}	public String getName() {		return Dispatch.get(this, "Name").toString();	}	public void setName(String lastParam) {		Dispatch.put(this, "Name", lastParam);	}	public float getTintAndShade() {		return Dispatch.get(this, "TintAndShade").toFloat();	}	public void setTintAndShade(float lastParam) {		Dispatch.put(this, "TintAndShade", new Variant(lastParam));	}	public int getOverPrint() {		return Dispatch.get(this, "OverPrint").toInt();	}	public void setOverPrint(int lastParam) {		Dispatch.put(this, "OverPrint", new Variant(lastParam));	}	public float getInk(int lastParam) {		return Dispatch.call(this, "Ink", new Variant(lastParam)).toFloat();	}	public void setInk(int index, float lastParam) {		Dispatch.call(this, "Ink", new Variant(index), new Variant(lastParam));	}	public int getCyan() {		return Dispatch.get(this, "Cyan").toInt();	}	public void setCyan(int lastParam) {		Dispatch.put(this, "Cyan", new Variant(lastParam));	}	public int getMagenta() {		return Dispatch.get(this, "Magenta").toInt();	}	public void setMagenta(int lastParam) {		Dispatch.put(this, "Magenta", new Variant(lastParam));	}	public int getYellow() {		return Dispatch.get(this, "Yellow").toInt();	}	public void setYellow(int lastParam) {		Dispatch.put(this, "Yellow", new Variant(lastParam));	}	public int getBlack() {		return Dispatch.get(this, "Black").toInt();	}	public void setBlack(int lastParam) {		Dispatch.put(this, "Black", new Variant(lastParam));	}	public void setCMYK(int cyan, int magenta, int yellow, int lastParam) {		Dispatch.call(this, "SetCMYK", new Variant(cyan), new Variant(magenta), new Variant(yellow), new Variant(lastParam));	}}

⌨️ 快捷键说明

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