Difference between revisions of "Documentation/DevGuide/WritingUNO/XMain"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
 
(8 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
|NextPage=Documentation/DevGuide/WritingUNO/XAggregation
 
|NextPage=Documentation/DevGuide/WritingUNO/XAggregation
 
}}
 
}}
 +
{{Documentation/DevGuideLanguages|Documentation/DevGuide/WritingUNO/{{SUBPAGENAME}}}}
 
{{DISPLAYTITLE:XMain}}
 
{{DISPLAYTITLE:XMain}}
 
<!--<idltopic>com.sun.star.lang.XMain</idltopic>-->
 
<!--<idltopic>com.sun.star.lang.XMain</idltopic>-->
The implementation of <idl>com.sun.star.lang.XMain</idl> is used for special cases. Its <code>run()</code> operation is called by the ''uno'' executable. The section [[Documentation/DevGuide/WritingUNO/The UNO Executable|The UNO Executable]] below discusses the use of <code>XMain<#/code> and the ''uno'' executable in detail.
+
The implementation of <idl>com.sun.star.lang.XMain</idl> is used for special cases. Its <code>run()</code> operation is called by the ''uno'' executable. The section [[Documentation/DevGuide/WritingUNO/The UNO Executable|The UNO Executable]] below discusses the use of <code>XMain</code> and the ''uno'' executable in detail.
 
+
<syntaxhighlight lang="idl">
 
   // module com::sun::star::lang
 
   // module com::sun::star::lang
 
   interface XMain: com::sun::star::uno::XInterface
 
   interface XMain: com::sun::star::uno::XInterface
Line 14: Line 15:
 
     long run( [in] sequence< string > aArguments );  
 
     long run( [in] sequence< string > aArguments );  
 
   };
 
   };
 +
</syntaxhighlight>
 +
{{PDL1}}
  
{{PDL1}}
+
[[Category:Documentation/Developer's Guide/Writing UNO Components]]
[[Category: Writing UNO Components]]
+

Latest revision as of 17:22, 23 December 2020



The implementation of com.sun.star.lang.XMain is used for special cases. Its run() operation is called by the uno executable. The section The UNO Executable below discusses the use of XMain and the uno executable in detail.

  // module com::sun::star::lang
  interface XMain: com::sun::star::uno::XInterface
  { 
    long run( [in] sequence< string > aArguments ); 
  };
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages