
**遗产：**
java.lang.Object
```
public class ThemeFont
```

指定文档主题的主题字体名称类型。指定可以在父对象属性中引用为主题字体的主题字体类型。此主题字体是对预定义主题字体之一的引用，位于文档的主题部分，允许在文档中集中设置字体信息。
## 字段

| 场地 | 描述 |
| --- | --- |
| [MAJOR](#MAJOR) | 主要主题字体。 |
| [MINOR](#MINOR) | 小主题字体。 |
| [NONE](#NONE) | 没有主题字体。 |
| [length](#length) |  |
## 方法

| 方法 | 描述 |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [fromName(String themeFontName)](#fromName-java.lang.String-) |  |
| [getClass()](#getClass--) |  |
| [getName(int themeFont)](#getName-int-) |  |
| [getValues()](#getValues--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [toString(int themeFont)](#toString-int-) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### MAJOR {#MAJOR}
```
public static int MAJOR
```


主要主题字体。

### MINOR {#MINOR}
```
public static int MINOR
```


小主题字体。

### NONE {#NONE}
```
public static int NONE
```


没有主题字体。

### length {#length}
```
public static int length
```


### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**退货：**
布尔值
### fromName(String themeFontName) {#fromName-java.lang.String-}
```
public static int fromName(String themeFontName)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| themeFontName | java.lang.String |  |

**退货：**
整数
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**退货：**
java.lang.Class<?>
### getName(int themeFont) {#getName-int-}
```
public static String getName(int themeFont)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| themeFont | int |  |

**退货：**
java.lang.字符串
### getValues() {#getValues--}
```
public static int[] getValues()
```




**退货：**
整数[]
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**退货：**
整数
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### toString() {#toString--}
```
public String toString()
```




**退货：**
java.lang.字符串
### toString(int themeFont) {#toString-int-}
```
public static String toString(int themeFont)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| themeFont | int |  |

**退货：**
java.lang.字符串
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |
