TextReplaceOptions.ReplaceAdjustment
遗产: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public static final class TextReplaceOptions.ReplaceAdjustment extends System.Enum
确定将文本片段替换为更短后将执行的操作。无 - 无动作,替换的文本可能会与行的其余部分重叠; AdjustSpaceWidth - 尝试调整单词之间的空格以保持行长; WholeWordsHyphenation - 尝试在段落行之间分配单词以保持段落的正确字段; ShiftRestOfLine - 根据文本长度的变化移动行的其余部分,行的长度可能会改变;默认值为 ShiftRestOfLine。
领域
场地 | 描述 |
---|---|
AdjustSpaceWidth | 尝试调整单词之间的空格以保持行长 |
EnumSeparatorCharArray | |
None | 无操作,替换的文本可能与行的其余部分重叠 |
ShiftRestOfLine | (默认)根据文本长度的变化移动行的其余部分,行的长度可以改变 |
WholeWordsHyphenation | 尝试在段落行之间分配单词以保持段落的正确字段 |
方法
AdjustSpaceWidth
public static final int AdjustSpaceWidth
尝试调整单词之间的空格以保持行长
EnumSeparatorCharArray
public static final char[] EnumSeparatorCharArray
None
public static final int None
无操作,替换的文本可能与行的其余部分重叠
ShiftRestOfLine
public static final int ShiftRestOfLine
(默认)根据文本长度的变化移动行的其余部分,行的长度可以改变
WholeWordsHyphenation
public static final int WholeWordsHyphenation
尝试在段落行之间分配单词以保持段落的正确字段
Clone()
public System.Enum Clone()
退货: com.aspose.ms.System.枚举
CloneTo(T arg0)
public abstract void CloneTo(T arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | T |
CloneTo(System.Enum arg0)
public void CloneTo(System.Enum arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | com.aspose.ms.System.Enum |
equals(Object arg0)
public boolean equals(Object arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Object |
退货: 布尔值
format(System.Type arg0, Object arg1, String arg2)
public static String format(System.Type arg0, Object arg1, String arg2)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object | |
arg2 | java.lang.String |
退货: java.lang.字符串
format(Class arg0, long arg1, String arg2)
public static String format(Class<?> arg0, long arg1, String arg2)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long | |
arg2 | java.lang.String |
退货: java.lang.字符串
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getName(Class arg0, long arg1)
public static String getName(Class<?> arg0, long arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
退货: java.lang.字符串
getNames(System.Type arg0)
public static String[] getNames(System.Type arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | com.aspose.ms.System.Type |
退货: java.lang.字符串[]
getNames(Class arg0)
public static Collection<String> getNames(Class<?> arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Class |
退货: Collection
getUnderlyingType(System.Type arg0)
public static System.Type getUnderlyingType(System.Type arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | com.aspose.ms.System.Type |
退货: com.aspose.ms.System.类型
getUnderlyingType(Class arg0)
public static Class<? extends Number> getUnderlyingType(Class<?> arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Class |
退货: java.lang.Class<?扩展 java.lang.Number>
getValue(Class arg0, String arg1)
public static long getValue(Class<?> arg0, String arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
退货: 长
getValues(System.Type arg0)
public static System.Array getValues(System.Type arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | com.aspose.ms.System.Type |
退货: com.aspose.ms.System.数组
get_Caption()
public String get_Caption()
退货: java.lang.字符串
get_Value()
public long get_Value()
退货: 长
hashCode()
public native int hashCode()
退货: 整数
isDefined(System.Type arg0, Object arg1)
public static boolean isDefined(System.Type arg0, Object arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
退货: 布尔值
isDefined(System.Type arg0, String arg1)
public static boolean isDefined(System.Type arg0, String arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String |
退货: 布尔值
isDefined(System.Type arg0, long arg1)
public static boolean isDefined(System.Type arg0, long arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | long |
退货: 布尔值
isDefined(Class arg0, long arg1)
public static boolean isDefined(Class<?> arg0, long arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Class | |
arg1 | long |
退货: 布尔值
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
parse(System.Type arg0, String arg1)
public static long parse(System.Type arg0, String arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String |
退货: 长
parse(System.Type arg0, String arg1, Boolean arg2)
public static long parse(System.Type arg0, String arg1, Boolean arg2)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String | |
arg2 | java.lang.Boolean |
退货: 长
parse(Class arg0, String arg1)
public static long parse(Class<?> arg0, String arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
退货: 长
parse(Class arg0, String arg1, Boolean arg2)
public static long parse(Class<?> arg0, String arg1, Boolean arg2)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String | |
arg2 | java.lang.Boolean |
退货: 长
register(System.Enum.AbstractEnum arg0)
public static void register(System.Enum.AbstractEnum arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | com.aspose.ms.System.Enum.AbstractEnum |
toObject(System.Type arg0, Object arg1)
public static Object toObject(System.Type arg0, Object arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
退货: java.lang.Object
toString()
public String toString()
退货: java.lang.字符串
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long | |
arg1 | int |