point.java

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

JAVA
228
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.excel11;import com.jacob.com.*;public class Point extends Dispatch {	public static final String componentName = "Excel.Point";	public Point() {		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 Point(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public Point(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 applyDataLabels(int type, Variant legendKey, Variant lastParam) {		Dispatch.call(this, "ApplyDataLabels", new Variant(type), legendKey, lastParam);	}	public void applyDataLabels(int type, Variant legendKey) {		Dispatch.call(this, "ApplyDataLabels", new Variant(type), legendKey);	}	public void applyDataLabels(int type) {		Dispatch.call(this, "ApplyDataLabels", new Variant(type));	}	public void applyDataLabels() {		Dispatch.call(this, "ApplyDataLabels");	}	public Border getBorder() {		return new Border(Dispatch.get(this, "Border").toDispatch());	}	public void clearFormats() {		Dispatch.call(this, "ClearFormats");	}	public void copy() {		Dispatch.call(this, "Copy");	}	public DataLabel getDataLabel() {		return new DataLabel(Dispatch.get(this, "DataLabel").toDispatch());	}	public void delete() {		Dispatch.call(this, "Delete");	}	public int getExplosion() {		return Dispatch.get(this, "Explosion").toInt();	}	public void setExplosion(int lastParam) {		Dispatch.put(this, "Explosion", new Variant(lastParam));	}	public boolean getHasDataLabel() {		return Dispatch.get(this, "HasDataLabel").toBoolean();	}	public void setHasDataLabel(boolean lastParam) {		Dispatch.put(this, "HasDataLabel", new Variant(lastParam));	}	public Interior getInterior() {		return new Interior(Dispatch.get(this, "Interior").toDispatch());	}	public boolean getInvertIfNegative() {		return Dispatch.get(this, "InvertIfNegative").toBoolean();	}	public void setInvertIfNegative(boolean lastParam) {		Dispatch.put(this, "InvertIfNegative", new Variant(lastParam));	}	public int getMarkerBackgroundColor() {		return Dispatch.get(this, "MarkerBackgroundColor").toInt();	}	public void setMarkerBackgroundColor(int lastParam) {		Dispatch.put(this, "MarkerBackgroundColor", new Variant(lastParam));	}	public int getMarkerBackgroundColorIndex() {		return Dispatch.get(this, "MarkerBackgroundColorIndex").toInt();	}	public void setMarkerBackgroundColorIndex(int lastParam) {		Dispatch.put(this, "MarkerBackgroundColorIndex", new Variant(lastParam));	}	public int getMarkerForegroundColor() {		return Dispatch.get(this, "MarkerForegroundColor").toInt();	}	public void setMarkerForegroundColor(int lastParam) {		Dispatch.put(this, "MarkerForegroundColor", new Variant(lastParam));	}	public int getMarkerForegroundColorIndex() {		return Dispatch.get(this, "MarkerForegroundColorIndex").toInt();	}	public void setMarkerForegroundColorIndex(int lastParam) {		Dispatch.put(this, "MarkerForegroundColorIndex", new Variant(lastParam));	}	public int getMarkerSize() {		return Dispatch.get(this, "MarkerSize").toInt();	}	public void setMarkerSize(int lastParam) {		Dispatch.put(this, "MarkerSize", new Variant(lastParam));	}	public int getMarkerStyle() {		return Dispatch.get(this, "MarkerStyle").toInt();	}	public void setMarkerStyle(int lastParam) {		Dispatch.put(this, "MarkerStyle", new Variant(lastParam));	}	public void paste() {		Dispatch.call(this, "Paste");	}	public int getPictureType() {		return Dispatch.get(this, "PictureType").toInt();	}	public void setPictureType(int lastParam) {		Dispatch.put(this, "PictureType", new Variant(lastParam));	}	public int getPictureUnit() {		return Dispatch.get(this, "PictureUnit").toInt();	}	public void setPictureUnit(int lastParam) {		Dispatch.put(this, "PictureUnit", new Variant(lastParam));	}	public void select() {		Dispatch.call(this, "Select");	}	public boolean getApplyPictToSides() {		return Dispatch.get(this, "ApplyPictToSides").toBoolean();	}	public void setApplyPictToSides(boolean lastParam) {		Dispatch.put(this, "ApplyPictToSides", new Variant(lastParam));	}	public boolean getApplyPictToFront() {		return Dispatch.get(this, "ApplyPictToFront").toBoolean();	}	public void setApplyPictToFront(boolean lastParam) {		Dispatch.put(this, "ApplyPictToFront", new Variant(lastParam));	}	public boolean getApplyPictToEnd() {		return Dispatch.get(this, "ApplyPictToEnd").toBoolean();	}	public void setApplyPictToEnd(boolean lastParam) {		Dispatch.put(this, "ApplyPictToEnd", new Variant(lastParam));	}	public boolean getShadow() {		return Dispatch.get(this, "Shadow").toBoolean();	}	public void setShadow(boolean lastParam) {		Dispatch.put(this, "Shadow", new Variant(lastParam));	}	public boolean getSecondaryPlot() {		return Dispatch.get(this, "SecondaryPlot").toBoolean();	}	public void setSecondaryPlot(boolean lastParam) {		Dispatch.put(this, "SecondaryPlot", new Variant(lastParam));	}	public ChartFillFormat getFill() {		return new ChartFillFormat(Dispatch.get(this, "Fill").toDispatch());	}}

⌨️ 快捷键说明

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