_lettercontent.java

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

JAVA
300
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class _LetterContent extends Dispatch {	public static final String componentName = "Word._LetterContent";	public _LetterContent() {		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 _LetterContent(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public _LetterContent(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 LetterContent getDuplicate() {		return new LetterContent(Dispatch.get(this, "Duplicate").toDispatch());	}	public String getDateFormat() {		return Dispatch.get(this, "DateFormat").toString();	}	public void setDateFormat(String lastParam) {		Dispatch.put(this, "DateFormat", lastParam);	}	public boolean getIncludeHeaderFooter() {		return Dispatch.get(this, "IncludeHeaderFooter").toBoolean();	}	public void setIncludeHeaderFooter(boolean lastParam) {		Dispatch.put(this, "IncludeHeaderFooter", new Variant(lastParam));	}	public String getPageDesign() {		return Dispatch.get(this, "PageDesign").toString();	}	public void setPageDesign(String lastParam) {		Dispatch.put(this, "PageDesign", lastParam);	}	public int getLetterStyle() {		return Dispatch.get(this, "LetterStyle").toInt();	}	public void setLetterStyle(int lastParam) {		Dispatch.put(this, "LetterStyle", new Variant(lastParam));	}	public boolean getLetterhead() {		return Dispatch.get(this, "Letterhead").toBoolean();	}	public void setLetterhead(boolean lastParam) {		Dispatch.put(this, "Letterhead", new Variant(lastParam));	}	public int getLetterheadLocation() {		return Dispatch.get(this, "LetterheadLocation").toInt();	}	public void setLetterheadLocation(int lastParam) {		Dispatch.put(this, "LetterheadLocation", new Variant(lastParam));	}	public float getLetterheadSize() {		return Dispatch.get(this, "LetterheadSize").toFloat();	}	public void setLetterheadSize(float lastParam) {		Dispatch.put(this, "LetterheadSize", new Variant(lastParam));	}	public String getRecipientName() {		return Dispatch.get(this, "RecipientName").toString();	}	public void setRecipientName(String lastParam) {		Dispatch.put(this, "RecipientName", lastParam);	}	public String getRecipientAddress() {		return Dispatch.get(this, "RecipientAddress").toString();	}	public void setRecipientAddress(String lastParam) {		Dispatch.put(this, "RecipientAddress", lastParam);	}	public String getSalutation() {		return Dispatch.get(this, "Salutation").toString();	}	public void setSalutation(String lastParam) {		Dispatch.put(this, "Salutation", lastParam);	}	public int getSalutationType() {		return Dispatch.get(this, "SalutationType").toInt();	}	public void setSalutationType(int lastParam) {		Dispatch.put(this, "SalutationType", new Variant(lastParam));	}	public String getRecipientReference() {		return Dispatch.get(this, "RecipientReference").toString();	}	public void setRecipientReference(String lastParam) {		Dispatch.put(this, "RecipientReference", lastParam);	}	public String getMailingInstructions() {		return Dispatch.get(this, "MailingInstructions").toString();	}	public void setMailingInstructions(String lastParam) {		Dispatch.put(this, "MailingInstructions", lastParam);	}	public String getAttentionLine() {		return Dispatch.get(this, "AttentionLine").toString();	}	public void setAttentionLine(String lastParam) {		Dispatch.put(this, "AttentionLine", lastParam);	}	public String getSubject() {		return Dispatch.get(this, "Subject").toString();	}	public void setSubject(String lastParam) {		Dispatch.put(this, "Subject", lastParam);	}	public int getEnclosureNumber() {		return Dispatch.get(this, "EnclosureNumber").toInt();	}	public void setEnclosureNumber(int lastParam) {		Dispatch.put(this, "EnclosureNumber", new Variant(lastParam));	}	public String getCCList() {		return Dispatch.get(this, "CCList").toString();	}	public void setCCList(String lastParam) {		Dispatch.put(this, "CCList", lastParam);	}	public String getReturnAddress() {		return Dispatch.get(this, "ReturnAddress").toString();	}	public void setReturnAddress(String lastParam) {		Dispatch.put(this, "ReturnAddress", lastParam);	}	public String getSenderName() {		return Dispatch.get(this, "SenderName").toString();	}	public void setSenderName(String lastParam) {		Dispatch.put(this, "SenderName", lastParam);	}	public String getClosing() {		return Dispatch.get(this, "Closing").toString();	}	public void setClosing(String lastParam) {		Dispatch.put(this, "Closing", lastParam);	}	public String getSenderCompany() {		return Dispatch.get(this, "SenderCompany").toString();	}	public void setSenderCompany(String lastParam) {		Dispatch.put(this, "SenderCompany", lastParam);	}	public String getSenderJobTitle() {		return Dispatch.get(this, "SenderJobTitle").toString();	}	public void setSenderJobTitle(String lastParam) {		Dispatch.put(this, "SenderJobTitle", lastParam);	}	public String getSenderInitials() {		return Dispatch.get(this, "SenderInitials").toString();	}	public void setSenderInitials(String lastParam) {		Dispatch.put(this, "SenderInitials", lastParam);	}	public boolean getInfoBlock() {		return Dispatch.get(this, "InfoBlock").toBoolean();	}	public void setInfoBlock(boolean lastParam) {		Dispatch.put(this, "InfoBlock", new Variant(lastParam));	}	public String getRecipientCode() {		return Dispatch.get(this, "RecipientCode").toString();	}	public void setRecipientCode(String lastParam) {		Dispatch.put(this, "RecipientCode", lastParam);	}	public int getRecipientGender() {		return Dispatch.get(this, "RecipientGender").toInt();	}	public void setRecipientGender(int lastParam) {		Dispatch.put(this, "RecipientGender", new Variant(lastParam));	}	public String getReturnAddressShortForm() {		return Dispatch.get(this, "ReturnAddressShortForm").toString();	}	public void setReturnAddressShortForm(String lastParam) {		Dispatch.put(this, "ReturnAddressShortForm", lastParam);	}	public String getSenderCity() {		return Dispatch.get(this, "SenderCity").toString();	}	public void setSenderCity(String lastParam) {		Dispatch.put(this, "SenderCity", lastParam);	}	public String getSenderCode() {		return Dispatch.get(this, "SenderCode").toString();	}	public void setSenderCode(String lastParam) {		Dispatch.put(this, "SenderCode", lastParam);	}	public int getSenderGender() {		return Dispatch.get(this, "SenderGender").toInt();	}	public void setSenderGender(int lastParam) {		Dispatch.put(this, "SenderGender", new Variant(lastParam));	}	public String getSenderReference() {		return Dispatch.get(this, "SenderReference").toString();	}	public void setSenderReference(String lastParam) {		Dispatch.put(this, "SenderReference", lastParam);	}}

⌨️ 快捷键说明

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