_Text.java (ef39d40d) | _Text.java (bb6af6bc) |
---|---|
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 --- 39 unchanged lines hidden (view full) --- 48 "com.sun.star.container.XIndexReplace"); 49 } 50 log.println("Trying to cast property 'NumberingRules' "+ 51 "to XIndexReplace"); 52 XIndexReplace theRules = (XIndexReplace) 53 oObj.getPropertyValue( "NumberingRules" ); 54 bResult = true; 55 } catch( Exception e ) { | 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 --- 39 unchanged lines hidden (view full) --- 48 "com.sun.star.container.XIndexReplace"); 49 } 50 log.println("Trying to cast property 'NumberingRules' "+ 51 "to XIndexReplace"); 52 XIndexReplace theRules = (XIndexReplace) 53 oObj.getPropertyValue( "NumberingRules" ); 54 bResult = true; 55 } catch( Exception e ) { |
56 log.println("Error occured while trying to get property"+ | 56 log.println("Error occurred while trying to get property"+ |
57 " 'NumberingRules'"); 58 e.printStackTrace( log ); 59 bResult = false; 60 } 61 62 tRes.tested( "NumberingRules", bResult); 63 } 64 65} // finish class _Text 66 67 68 | 57 " 'NumberingRules'"); 58 e.printStackTrace( log ); 59 bResult = false; 60 } 61 62 tRes.tested( "NumberingRules", bResult); 63 } 64 65} // finish class _Text 66 67 68 |