/trunk/main/toolkit/src2xml/source/ |
H A D | macroexpander_test.py | 42 defines['FUNC_FOO'] = macro 51 macro.vars['X'] = 0 52 macro.vars['Y'] = 1 53 defines['FUNC_FOO'] = macro 62 macro.vars['X'] = 0 63 macro.vars['Y'] = 1 64 defines['FUNC_FOO'] = macro 73 macro.vars['X'] = 0 74 macro.vars['Y'] = 1 75 defines['FUNC_FOO'] = macro [all …]
|
H A D | macroparser.py | 31 self.macro = None 117 self.macro = Macro(name) 119 self.macro.vars[vars[i]] = i 128 print(self.macro.tokens) 130 if not self.isValidMacro(self.macro): 131 self.macro = None 134 if self.macro != None: 139 def isValidMacro (self, macro): argument 141 n = len(macro.tokens) 144 elif len(macro.name) > 4 and macro.name[1:4] == 'ID_': [all …]
|
H A D | srcparser.py | 115 macro = self.defines[token] 116 nvars = len(list(macro.vars.keys())) 119 self.tokens[self.pos:self.pos+1] = macro.tokens 125 for mtoken in macro.tokens: 126 if mtoken in macro.vars: 128 pos = macro.vars[mtoken]
|
H A D | srclexer.py | 372 macro = mparser.getMacro() 373 if macro: 374 self.defines[macro.name] = macro
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/frame/ |
H A D | _XDispatchRecorder.java | 98 String macro = oObj.getRecordedMacro(); in _getRecordedMacro() local 99 log.println(macro); in _getRecordedMacro() 104 boolean res = macro != null in _getRecordedMacro() 118 if (macro.length() != 0){ in _endRecording() 120 log.println(macro); in _endRecording() 145 log.println(macro); in _recordDispatch() 149 boolean res = macro != null in _recordDispatch() 176 log.println(macro); in _recordDispatchAsComment() 180 boolean res = macro != null in _recordDispatchAsComment() 214 if (macro.length() != 0){ in clearBuffer() [all …]
|
H A D | _XDispatchRecorderSupplier.java | 204 String macro = recorder.getRecordedMacro(); in _dispatchAndRecord() local 205 boolean locRes = macro != null && in _dispatchAndRecord() 206 macro.indexOf("XDispatchRecorderSupplier")>-1 && in _dispatchAndRecord() 207 macro.indexOf(".uno:InsertText")>-1; in _dispatchAndRecord() 211 log.println("Recorder macro :\n" + macro); in _dispatchAndRecord()
|
/trunk/main/offapi/com/sun/star/script/vba/ |
H A D | XVBAMacroResolver.idl | 35 /** Converts VBA macro names to script URLs and vice versa. 41 /** Returns the script URL representing the passed VBA macro name. 44 The VBA macro name to be resolved to a script URL. The macro name 48 represents the procedure name. Example: All the VBA macro names 52 module name is missing, then all modules are searched for a macro 56 The script URL referring to the passed VBA macro. 59 if a macro with the passed name does not exist. 66 /** Returns the VBA macro name for a macro with the passed script URL. 69 The script URL to be resolved to a VBA macro name. Must be a 73 The VBA macro name referring to a macro with the passed script URL. [all …]
|
/trunk/main/offapi/com/sun/star/document/ |
H A D | MacroExecMode.idl | 32 /** Specify whether a macro can be executed. 39 /** A macro should not be executed at all. 48 If a macro is not in the list a confirmation for it executing will 56 /** Execute any macro, macros signed with trusted sertificates and macros 60 If the macro is neither in secure list nor signed a confirmation 68 /** Use configuration to retrieve macro settings. In case a user 82 /** Use configuration to retrieve macro settings. Treat cases when user 89 /** Use configuration to retrieve macro settings. Treat cases when user 105 <p> If the macro is neither in secure list nor signed it will not be 109 <p> If the macro is signed with unknown certificate a warning will [all …]
|
/trunk/main/javainstaller2/src/JavaSetup/org/openoffice/setup/SetupData/ |
H A D | ProductDescription.java | 50 private Vector macro; /* macro list with precompiled regex patterns */ field in ProductDescription 59 macro = new Vector(); in ProductDescription() 81 for (int i = 0; i < macro.size(); i++) { in setNewMacro() 82 Pair pair = (Pair) macro.get(i); in setNewMacro() 84 macro.remove(i); in setNewMacro() 88 macro.add(new Pair(pattern, value)); in setNewMacro() 98 for (int i = 0; i < macro.size(); i++) { in dumpMacros() 99 Pair pair = (Pair) macro.get(i); in dumpMacros() 131 for (int i = 0; i < macro.size(); i++) { in replaceMacros() 132 Pair pair = (Pair) macro.get(i); in replaceMacros() [all …]
|
/trunk/main/scripting/workben/data/testdata/ |
H A D | ScriptStorageManager.csv | 7 _checkPermission;description=Try to get permssion when run macro is set to never;location=check_per… 8 _checkPermission;description=Try to get permssion when run macro is set to always, and no warning d… 9 _checkPermission;description=Try to get permssion when run macro is set to always, warning dialog, … 10 _checkPermission;description=Try to get permssion when run macro is set to always, warning dialog, … 11 _checkPermission;description=Try to get permssion when run macro is set to according to path list, … 12 _checkPermission;description=Try to get permssion when run macro is set to according to path list, … 13 _checkPermission;description=Try to get permssion when run macro is set to according to path list, … 14 _checkPermission;description=Try to get permssion when run macro is set to according to path list, … 15 _checkPermission;description=Try to get permssion when run macro is set to according to path list, … 16 _checkPermission;description=Try to get permssion when run macro is set to according to path list, … [all …]
|
/trunk/main/migrationanalysis/src/driver_docs/ |
H A D | DocAnalysisRunMacro.vbs | 95 Function DArunWrdDriver(driver, macro) 100 daWrd.Run ("AnalysisTool." & macro) 102 DAErrMsg "Failed to run macro: " & macro & vbLf & vbLf & "Error: " _ 154 Function DArunExcelDriver(driver, macro) 159 daXl.Run ("AnalysisTool." & macro) 161 DAErrMsg "Failed to run macro: " & macro & vbLf & vbLf & "Error: " _ 224 Function DArunPPDriver(driver, macro) 229 daPP.Run (daFso.GetFileName(driver) & "!" & macro) 231 DAErrMsg "Failed to run macro: " & macro & vbLf & vbLf & "Error: " _
|
/trunk/main/offapi/com/sun/star/text/textfield/ |
H A D | Macro.idl | 34 /** specifies service of a macro text field. 43 /** contains the macro name of a StarBASIC macro. 46 /** contains the library name of a StarBASIC macro.
|
/trunk/main/sal/inc/rtl/ |
H A D | bootstrap.hxx | 125 inline void expandMacrosFrom( ::rtl::OUString & macro ) const SAL_THROW( () ) in expandMacrosFrom() 126 { rtl_bootstrap_expandMacros_from_handle( _handle, ¯o.pData ); } in expandMacrosFrom() 132 static inline void expandMacros( ::rtl::OUString & macro ) SAL_THROW( () ) in expandMacros() argument 133 { rtl_bootstrap_expandMacros( ¯o.pData ); } in expandMacros()
|
H A D | bootstrap.h | 200 rtlBootstrapHandle handle, rtl_uString ** macro ) 207 rtl_uString ** macro )
|
/trunk/main/sal/test/ |
H A D | bootstrap | 50 echo "macro tests" 53 # simple macro expansion 65 # ini access with simple macro expansion 70 # ini access with complex macro expansion
|
H A D | bootstrap.bat | 50 echo "macro tests" 53 rem simple macro expansion 65 rem ini access with simple macro expansion 69 rem ini access with complex macro expansion
|
/trunk/main/offapi/com/sun/star/frame/ |
H A D | XDispatchRecorder.idl | 65 macro statements shall be recorded 80 used macro buffer. It will be cleared here. So the macro must be fetched 129 Otherwise the macro will be relased.
|
/trunk/main/udkapi/com/sun/star/util/ |
H A D | XMacroExpander.idl | 41 /** Expands macro in expressions, i.e. substitudes macro names. 54 if a macro name is unknown, thus cannot be expanded
|
H A D | theMacroExpander.idl | 32 strings using the macro expander singleton. 33 The macro expander singleton is deployed with the application. 36 in uno.ini/unorc bootstrap files. The component loader uses the macro
|
H A D | MacroExpander.idl | 42 arbitrary macro expressions, i.e. substitude macro names.
|
/trunk/main/jurt/java/jurt/src/main/java/com/sun/star/comp/loader/ |
H A D | JavaLoader.java | 118 String macro = URLDecoder.decode( in expand_url() local 123 String ret = m_xMacroExpander.expandMacros( macro ); in expand_url() 128 macro + " => " + ret ); in expand_url()
|
/trunk/main/sal/rtl/source/ |
H A D | bootstrap.cxx | 831 rtl_uString ** macro in rtl_bootstrap_expandMacros_from_handle() argument 838 * reinterpret_cast< OUString const * >( macro ), in rtl_bootstrap_expandMacros_from_handle() 840 rtl_uString_assign( macro, expanded.pData ); in rtl_bootstrap_expandMacros_from_handle() 846 rtl_uString ** macro ) in rtl_bootstrap_expandMacros() argument 849 rtl_bootstrap_expandMacros_from_handle(NULL, macro); in rtl_bootstrap_expandMacros()
|
/trunk/main/rsc/source/rscpp/ |
H A D | cpp4.c | 388 static DEFBUF *macro; /* Catches start of infinite macro */ variable 416 macro = tokenp; 419 fprintf(stderr, "(Defined by \"%s\")\n", macro->name);
|
/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/ |
H A D | sunjavaplugin.cxx | 538 OUString macro(RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/program")); in jfw_plugin_startJavaVirtualMachine() local 539 rtl::Bootstrap::expandMacros(macro); in jfw_plugin_startJavaVirtualMachine() 541 osl_getSystemPathFromFileURL(macro.pData, &instDirectory.pData); in jfw_plugin_startJavaVirtualMachine()
|
/trunk/main/sysui/desktop/os2/ |
H A D | makefile.mk | 52 $(MISC)$/ooo-macro-doc.ico \ 91 $(MISC)$/so8-macro-doc.ico \
|