webpagefont.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 76 行
JAVA
76 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.office11;import com.jacob.com.*;public class WebPageFont extends Dispatch { public static final String componentName = "Office.WebPageFont"; public WebPageFont() { 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 WebPageFont(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public WebPageFont(String compName) { super(compName); } public Object getApplication() { return Dispatch.get(this, "Application"); } public int getCreator() { return Dispatch.get(this, "Creator").toInt(); } public String getProportionalFont() { return Dispatch.get(this, "ProportionalFont").toString(); } public void setProportionalFont(String lastParam) { Dispatch.put(this, "ProportionalFont", lastParam); } public float getProportionalFontSize() { return Dispatch.get(this, "ProportionalFontSize").toFloat(); } public void setProportionalFontSize(float lastParam) { Dispatch.put(this, "ProportionalFontSize", new Variant(lastParam)); } public String getFixedWidthFont() { return Dispatch.get(this, "FixedWidthFont").toString(); } public void setFixedWidthFont(String lastParam) { Dispatch.put(this, "FixedWidthFont", lastParam); } public float getFixedWidthFontSize() { return Dispatch.get(this, "FixedWidthFontSize").toFloat(); } public void setFixedWidthFontSize(float lastParam) { Dispatch.put(this, "FixedWidthFontSize", new Variant(lastParam)); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?