HighlightText.java (cd519653) HighlightText.java (910823ae)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 210 unchanged lines hidden (view full) ---

219 new Type(XMacroExpander.class), serviceObj);
220
221 String bootstrapName = "bootstraprc";
222 if (System.getProperty("os.name").startsWith("Windows")) {
223 bootstrapName = "bootstrap.ini";
224 }
225
226 String libURL = xme.expandMacros(
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 210 unchanged lines hidden (view full) ---

219 new Type(XMacroExpander.class), serviceObj);
220
221 String bootstrapName = "bootstraprc";
222 if (System.getProperty("os.name").startsWith("Windows")) {
223 bootstrapName = "bootstrap.ini";
224 }
225
226 String libURL = xme.expandMacros(
227 "${$BRAND_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" +
227 "${$OOO_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" +
228 "/share/basic/ScriptBindingLibrary/" +
229 name.toLowerCase() + ".xlb/");
230
231 System.err.println("libURL is: " + libURL);
232
233 xLibraryContainer.createLibraryLink(
234 "ScriptBindingLibrary", libURL, false);
235
236 System.err.println("liblink created");
237
238 } catch (com.sun.star.uno.Exception e) {
239 System.err.println("Got an exception loading lib: " + e.getMessage());
240 return false;
241 }
242 return true;
243 }
244}
228 "/share/basic/ScriptBindingLibrary/" +
229 name.toLowerCase() + ".xlb/");
230
231 System.err.println("libURL is: " + libURL);
232
233 xLibraryContainer.createLibraryLink(
234 "ScriptBindingLibrary", libURL, false);
235
236 System.err.println("liblink created");
237
238 } catch (com.sun.star.uno.Exception e) {
239 System.err.println("Got an exception loading lib: " + e.getMessage());
240 return false;
241 }
242 return true;
243 }
244}