net.rgielen.com4j.office2010.office.TextRange2 Maven / Gradle / Ivy
package net.rgielen.com4j.office2010.office ;
import com4j.*;
@IID("{000C0397-0000-0000-C000-000000000046}")
public interface TextRange2 extends net.rgielen.com4j.office2010.office._IMsoDispObj,Iterable {
// Methods:
/**
*
* Getter method for the COM property "Text"
*
* @return Returns a value of type java.lang.String
*/
@DISPID(0) //= 0x0. The runtime will prefer the VTID if present
@VTID(9)
@DefaultMethod
java.lang.String text();
/**
*
* Setter method for the COM property "Text"
*
* @param pbstrText Mandatory java.lang.String parameter.
*/
@DISPID(0) //= 0x0. The runtime will prefer the VTID if present
@VTID(10)
@DefaultMethod
void text(
java.lang.String pbstrText);
/**
*
* Getter method for the COM property "Count"
*
* @return Returns a value of type int
*/
@DISPID(1) //= 0x1. The runtime will prefer the VTID if present
@VTID(11)
int count();
/**
* @param index Mandatory java.lang.Object parameter.
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(2) //= 0x2. The runtime will prefer the VTID if present
@VTID(12)
net.rgielen.com4j.office2010.office.TextRange2 item(
@MarshalAs(NativeType.VARIANT) java.lang.Object index);
/**
*
* Getter method for the COM property "_NewEnum"
*
*/
@DISPID(-4) //= 0xfffffffc. The runtime will prefer the VTID if present
@VTID(13)
java.util.Iterator iterator();
/**
*
* Getter method for the COM property "Parent"
*
* @return Returns a value of type com4j.Com4jObject
*/
@DISPID(3) //= 0x3. The runtime will prefer the VTID if present
@VTID(14)
@ReturnValue(type=NativeType.Dispatch)
com4j.Com4jObject parent();
/**
*
* Getter method for the COM property "Paragraphs"
*
* @param start Optional parameter. Default value is -1
* @param length Optional parameter. Default value is -1
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(4) //= 0x4. The runtime will prefer the VTID if present
@VTID(15)
net.rgielen.com4j.office2010.office.TextRange2 paragraphs(
@Optional @DefaultValue("-1") int start,
@Optional @DefaultValue("-1") int length);
/**
*
* Getter method for the COM property "Sentences"
*
* @param start Optional parameter. Default value is -1
* @param length Optional parameter. Default value is -1
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(5) //= 0x5. The runtime will prefer the VTID if present
@VTID(16)
net.rgielen.com4j.office2010.office.TextRange2 sentences(
@Optional @DefaultValue("-1") int start,
@Optional @DefaultValue("-1") int length);
/**
*
* Getter method for the COM property "Words"
*
* @param start Optional parameter. Default value is -1
* @param length Optional parameter. Default value is -1
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(6) //= 0x6. The runtime will prefer the VTID if present
@VTID(17)
net.rgielen.com4j.office2010.office.TextRange2 words(
@Optional @DefaultValue("-1") int start,
@Optional @DefaultValue("-1") int length);
/**
*
* Getter method for the COM property "Characters"
*
* @param start Optional parameter. Default value is -1
* @param length Optional parameter. Default value is -1
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(7) //= 0x7. The runtime will prefer the VTID if present
@VTID(18)
net.rgielen.com4j.office2010.office.TextRange2 characters(
@Optional @DefaultValue("-1") int start,
@Optional @DefaultValue("-1") int length);
/**
*
* Getter method for the COM property "Lines"
*
* @param start Optional parameter. Default value is -1
* @param length Optional parameter. Default value is -1
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(8) //= 0x8. The runtime will prefer the VTID if present
@VTID(19)
net.rgielen.com4j.office2010.office.TextRange2 lines(
@Optional @DefaultValue("-1") int start,
@Optional @DefaultValue("-1") int length);
/**
*
* Getter method for the COM property "Runs"
*
* @param start Optional parameter. Default value is -1
* @param length Optional parameter. Default value is -1
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(9) //= 0x9. The runtime will prefer the VTID if present
@VTID(20)
net.rgielen.com4j.office2010.office.TextRange2 runs(
@Optional @DefaultValue("-1") int start,
@Optional @DefaultValue("-1") int length);
/**
*
* Getter method for the COM property "ParagraphFormat"
*
* @return Returns a value of type net.rgielen.com4j.office2010.office.ParagraphFormat2
*/
@DISPID(10) //= 0xa. The runtime will prefer the VTID if present
@VTID(21)
net.rgielen.com4j.office2010.office.ParagraphFormat2 paragraphFormat();
/**
*
* Getter method for the COM property "Font"
*
* @return Returns a value of type net.rgielen.com4j.office2010.office.Font2
*/
@DISPID(11) //= 0xb. The runtime will prefer the VTID if present
@VTID(22)
net.rgielen.com4j.office2010.office.Font2 font();
/**
*
* Getter method for the COM property "Length"
*
* @return Returns a value of type int
*/
@DISPID(12) //= 0xc. The runtime will prefer the VTID if present
@VTID(23)
int length();
/**
*
* Getter method for the COM property "Start"
*
* @return Returns a value of type int
*/
@DISPID(13) //= 0xd. The runtime will prefer the VTID if present
@VTID(24)
int start();
/**
*
* Getter method for the COM property "BoundLeft"
*
* @return Returns a value of type float
*/
@DISPID(14) //= 0xe. The runtime will prefer the VTID if present
@VTID(25)
float boundLeft();
/**
*
* Getter method for the COM property "BoundTop"
*
* @return Returns a value of type float
*/
@DISPID(15) //= 0xf. The runtime will prefer the VTID if present
@VTID(26)
float boundTop();
/**
*
* Getter method for the COM property "BoundWidth"
*
* @return Returns a value of type float
*/
@DISPID(16) //= 0x10. The runtime will prefer the VTID if present
@VTID(27)
float boundWidth();
/**
*
* Getter method for the COM property "BoundHeight"
*
* @return Returns a value of type float
*/
@DISPID(17) //= 0x11. The runtime will prefer the VTID if present
@VTID(28)
float boundHeight();
/**
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(18) //= 0x12. The runtime will prefer the VTID if present
@VTID(29)
net.rgielen.com4j.office2010.office.TextRange2 trimText();
/**
* @param newText Optional parameter. Default value is ""
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(19) //= 0x13. The runtime will prefer the VTID if present
@VTID(30)
net.rgielen.com4j.office2010.office.TextRange2 insertAfter(
@Optional @DefaultValue("") java.lang.String newText);
/**
* @param newText Optional parameter. Default value is ""
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(20) //= 0x14. The runtime will prefer the VTID if present
@VTID(31)
net.rgielen.com4j.office2010.office.TextRange2 insertBefore(
@Optional @DefaultValue("") java.lang.String newText);
/**
* @param fontName Mandatory java.lang.String parameter.
* @param charNumber Mandatory int parameter.
* @param unicode Optional parameter. Default value is 0
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(21) //= 0x15. The runtime will prefer the VTID if present
@VTID(32)
net.rgielen.com4j.office2010.office.TextRange2 insertSymbol(
java.lang.String fontName,
int charNumber,
@Optional @DefaultValue("0") net.rgielen.com4j.office2010.office.MsoTriState unicode);
/**
*/
@DISPID(22) //= 0x16. The runtime will prefer the VTID if present
@VTID(33)
void select();
/**
*/
@DISPID(23) //= 0x17. The runtime will prefer the VTID if present
@VTID(34)
void cut();
/**
*/
@DISPID(24) //= 0x18. The runtime will prefer the VTID if present
@VTID(35)
void copy();
/**
*/
@DISPID(25) //= 0x19. The runtime will prefer the VTID if present
@VTID(36)
void delete();
/**
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(26) //= 0x1a. The runtime will prefer the VTID if present
@VTID(37)
net.rgielen.com4j.office2010.office.TextRange2 paste();
/**
* @param format Mandatory net.rgielen.com4j.office2010.office.MsoClipboardFormat parameter.
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(27) //= 0x1b. The runtime will prefer the VTID if present
@VTID(38)
net.rgielen.com4j.office2010.office.TextRange2 pasteSpecial(
net.rgielen.com4j.office2010.office.MsoClipboardFormat format);
/**
* @param type Mandatory net.rgielen.com4j.office2010.office.MsoTextChangeCase parameter.
*/
@DISPID(28) //= 0x1c. The runtime will prefer the VTID if present
@VTID(39)
void changeCase(
net.rgielen.com4j.office2010.office.MsoTextChangeCase type);
/**
*/
@DISPID(29) //= 0x1d. The runtime will prefer the VTID if present
@VTID(40)
void addPeriods();
/**
*/
@DISPID(30) //= 0x1e. The runtime will prefer the VTID if present
@VTID(41)
void removePeriods();
/**
* @param findWhat Mandatory java.lang.String parameter.
* @param after Optional parameter. Default value is 0
* @param matchCase Optional parameter. Default value is 0
* @param wholeWords Optional parameter. Default value is 0
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(31) //= 0x1f. The runtime will prefer the VTID if present
@VTID(42)
net.rgielen.com4j.office2010.office.TextRange2 find(
java.lang.String findWhat,
@Optional @DefaultValue("0") int after,
@Optional @DefaultValue("0") net.rgielen.com4j.office2010.office.MsoTriState matchCase,
@Optional @DefaultValue("0") net.rgielen.com4j.office2010.office.MsoTriState wholeWords);
/**
* @param findWhat Mandatory java.lang.String parameter.
* @param replaceWhat Mandatory java.lang.String parameter.
* @param after Optional parameter. Default value is 0
* @param matchCase Optional parameter. Default value is 0
* @param wholeWords Optional parameter. Default value is 0
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(32) //= 0x20. The runtime will prefer the VTID if present
@VTID(43)
net.rgielen.com4j.office2010.office.TextRange2 replace(
java.lang.String findWhat,
java.lang.String replaceWhat,
@Optional @DefaultValue("0") int after,
@Optional @DefaultValue("0") net.rgielen.com4j.office2010.office.MsoTriState matchCase,
@Optional @DefaultValue("0") net.rgielen.com4j.office2010.office.MsoTriState wholeWords);
/**
* @param x1 Mandatory Holder parameter.
* @param y1 Mandatory Holder parameter.
* @param x2 Mandatory Holder parameter.
* @param y2 Mandatory Holder parameter.
* @param x3 Mandatory Holder parameter.
* @param y3 Mandatory Holder parameter.
* @param x4 Mandatory Holder parameter.
* @param y4 Mandatory Holder parameter.
*/
@DISPID(33) //= 0x21. The runtime will prefer the VTID if present
@VTID(44)
void rotatedBounds(
Holder x1,
Holder y1,
Holder x2,
Holder y2,
Holder x3,
Holder y3,
Holder x4,
Holder y4);
/**
*
* Getter method for the COM property "LanguageID"
*
* @return Returns a value of type net.rgielen.com4j.office2010.office.MsoLanguageID
*/
@DISPID(34) //= 0x22. The runtime will prefer the VTID if present
@VTID(45)
net.rgielen.com4j.office2010.office.MsoLanguageID languageID();
/**
*
* Setter method for the COM property "LanguageID"
*
* @param languageID Mandatory net.rgielen.com4j.office2010.office.MsoLanguageID parameter.
*/
@DISPID(34) //= 0x22. The runtime will prefer the VTID if present
@VTID(46)
void languageID(
net.rgielen.com4j.office2010.office.MsoLanguageID languageID);
/**
*/
@DISPID(35) //= 0x23. The runtime will prefer the VTID if present
@VTID(47)
void rtlRun();
/**
*/
@DISPID(36) //= 0x24. The runtime will prefer the VTID if present
@VTID(48)
void ltrRun();
/**
*
* Getter method for the COM property "MathZones"
*
* @param start Optional parameter. Default value is -1
* @param length Optional parameter. Default value is -1
* @return Returns a value of type net.rgielen.com4j.office2010.office.TextRange2
*/
@DISPID(37) //= 0x25. The runtime will prefer the VTID if present
@VTID(49)
net.rgielen.com4j.office2010.office.TextRange2 mathZones(
@Optional @DefaultValue("-1") int start,
@Optional @DefaultValue("-1") int length);
// Properties:
}