net.rgielen.com4j.office2010.vba._CodeModule Maven / Gradle / Ivy
The newest version!
package net.rgielen.com4j.office2010.vba ;
import com4j.*;
@IID("{0002E16E-0000-0000-C000-000000000046}")
public interface _CodeModule extends Com4jObject {
// Methods:
/**
*
* Getter method for the COM property "Parent"
*
* @return Returns a value of type net.rgielen.com4j.office2010.vba._VBComponent
*/
@DISPID(1610743808) //= 0x60020000. The runtime will prefer the VTID if present
@VTID(7)
net.rgielen.com4j.office2010.vba._VBComponent parent();
/**
*
* Getter method for the COM property "VBE"
*
* @return Returns a value of type net.rgielen.com4j.office2010.vba.VBE
*/
@DISPID(1610743809) //= 0x60020001. The runtime will prefer the VTID if present
@VTID(8)
net.rgielen.com4j.office2010.vba.VBE vbe();
/**
*
* Getter method for the COM property "Name"
*
* @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 name();
/**
*
* Setter method for the COM property "Name"
*
* @param pbstrName Mandatory java.lang.String parameter.
*/
@DISPID(0) //= 0x0. The runtime will prefer the VTID if present
@VTID(10)
@DefaultMethod
void name(
java.lang.String pbstrName);
/**
* @param string Mandatory java.lang.String parameter.
*/
@DISPID(1610743812) //= 0x60020004. The runtime will prefer the VTID if present
@VTID(11)
void addFromString(
java.lang.String string);
/**
* @param fileName Mandatory java.lang.String parameter.
*/
@DISPID(1610743813) //= 0x60020005. The runtime will prefer the VTID if present
@VTID(12)
void addFromFile(
java.lang.String fileName);
/**
*
* Getter method for the COM property "Lines"
*
* @param startLine Mandatory int parameter.
* @param count Mandatory int parameter.
* @return Returns a value of type java.lang.String
*/
@DISPID(1610743814) //= 0x60020006. The runtime will prefer the VTID if present
@VTID(13)
java.lang.String lines(
int startLine,
int count);
/**
*
* Getter method for the COM property "CountOfLines"
*
* @return Returns a value of type int
*/
@DISPID(1610743815) //= 0x60020007. The runtime will prefer the VTID if present
@VTID(14)
int countOfLines();
/**
* @param line Mandatory int parameter.
* @param string Mandatory java.lang.String parameter.
*/
@DISPID(1610743816) //= 0x60020008. The runtime will prefer the VTID if present
@VTID(15)
void insertLines(
int line,
java.lang.String string);
/**
* @param startLine Mandatory int parameter.
* @param count Optional parameter. Default value is 1
*/
@DISPID(1610743817) //= 0x60020009. The runtime will prefer the VTID if present
@VTID(16)
void deleteLines(
int startLine,
@Optional @DefaultValue("1") int count);
/**
* @param line Mandatory int parameter.
* @param string Mandatory java.lang.String parameter.
*/
@DISPID(1610743818) //= 0x6002000a. The runtime will prefer the VTID if present
@VTID(17)
void replaceLine(
int line,
java.lang.String string);
/**
*
* Getter method for the COM property "ProcStartLine"
*
* @param procName Mandatory java.lang.String parameter.
* @param procKind Mandatory net.rgielen.com4j.office2010.vba.vbext_ProcKind parameter.
* @return Returns a value of type int
*/
@DISPID(1610743819) //= 0x6002000b. The runtime will prefer the VTID if present
@VTID(18)
int procStartLine(
java.lang.String procName,
net.rgielen.com4j.office2010.vba.vbext_ProcKind procKind);
/**
*
* Getter method for the COM property "ProcCountLines"
*
* @param procName Mandatory java.lang.String parameter.
* @param procKind Mandatory net.rgielen.com4j.office2010.vba.vbext_ProcKind parameter.
* @return Returns a value of type int
*/
@DISPID(1610743820) //= 0x6002000c. The runtime will prefer the VTID if present
@VTID(19)
int procCountLines(
java.lang.String procName,
net.rgielen.com4j.office2010.vba.vbext_ProcKind procKind);
/**
*
* Getter method for the COM property "ProcBodyLine"
*
* @param procName Mandatory java.lang.String parameter.
* @param procKind Mandatory net.rgielen.com4j.office2010.vba.vbext_ProcKind parameter.
* @return Returns a value of type int
*/
@DISPID(1610743821) //= 0x6002000d. The runtime will prefer the VTID if present
@VTID(20)
int procBodyLine(
java.lang.String procName,
net.rgielen.com4j.office2010.vba.vbext_ProcKind procKind);
/**
*
* Getter method for the COM property "ProcOfLine"
*
* @param line Mandatory int parameter.
* @param procKind Mandatory Holder parameter.
* @return Returns a value of type java.lang.String
*/
@DISPID(1610743822) //= 0x6002000e. The runtime will prefer the VTID if present
@VTID(21)
java.lang.String procOfLine(
int line,
Holder procKind);
/**
*
* Getter method for the COM property "CountOfDeclarationLines"
*
* @return Returns a value of type int
*/
@DISPID(1610743823) //= 0x6002000f. The runtime will prefer the VTID if present
@VTID(22)
int countOfDeclarationLines();
/**
* @param eventName Mandatory java.lang.String parameter.
* @param objectName Mandatory java.lang.String parameter.
* @return Returns a value of type int
*/
@DISPID(1610743824) //= 0x60020010. The runtime will prefer the VTID if present
@VTID(23)
int createEventProc(
java.lang.String eventName,
java.lang.String objectName);
/**
* @param target Mandatory java.lang.String parameter.
* @param startLine Mandatory Holder parameter.
* @param startColumn Mandatory Holder parameter.
* @param endLine Mandatory Holder parameter.
* @param endColumn Mandatory Holder parameter.
* @param wholeWord Optional parameter. Default value is false
* @param matchCase Optional parameter. Default value is false
* @param patternSearch Optional parameter. Default value is false
* @return Returns a value of type boolean
*/
@DISPID(1610743825) //= 0x60020011. The runtime will prefer the VTID if present
@VTID(24)
boolean find(
java.lang.String target,
Holder startLine,
Holder startColumn,
Holder endLine,
Holder endColumn,
@Optional @DefaultValue("0") boolean wholeWord,
@Optional @DefaultValue("0") boolean matchCase,
@Optional @DefaultValue("0") boolean patternSearch);
/**
*
* Getter method for the COM property "CodePane"
*
* @return Returns a value of type net.rgielen.com4j.office2010.vba._CodePane
*/
@DISPID(1610743826) //= 0x60020012. The runtime will prefer the VTID if present
@VTID(25)
net.rgielen.com4j.office2010.vba._CodePane codePane();
// Properties:
}