1*3a700b0aSSteve Yin /**************************************************************
2*3a700b0aSSteve Yin  *
3*3a700b0aSSteve Yin  * Licensed to the Apache Software Foundation (ASF) under one
4*3a700b0aSSteve Yin  * or more contributor license agreements.  See the NOTICE file
5*3a700b0aSSteve Yin  * distributed with this work for additional information
6*3a700b0aSSteve Yin  * regarding copyright ownership.  The ASF licenses this file
7*3a700b0aSSteve Yin  * to you under the Apache License, Version 2.0 (the
8*3a700b0aSSteve Yin  * "License"); you may not use this file except in compliance
9*3a700b0aSSteve Yin  * with the License.  You may obtain a copy of the License at
10*3a700b0aSSteve Yin  *
11*3a700b0aSSteve Yin  *   http://www.apache.org/licenses/LICENSE-2.0
12*3a700b0aSSteve Yin  *
13*3a700b0aSSteve Yin  * Unless required by applicable law or agreed to in writing,
14*3a700b0aSSteve Yin  * software distributed under the License is distributed on an
15*3a700b0aSSteve Yin  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*3a700b0aSSteve Yin  * KIND, either express or implied.  See the License for the
17*3a700b0aSSteve Yin  * specific language governing permissions and limitations
18*3a700b0aSSteve Yin  * under the License.
19*3a700b0aSSteve Yin  *
20*3a700b0aSSteve Yin  *************************************************************/
215fdc4257SSteve Yin 
225fdc4257SSteve Yin /**
235fdc4257SSteve Yin  * AccComponent.cpp : Implementation of CUAccCOMApp and DLL registration.
245fdc4257SSteve Yin  */
255fdc4257SSteve Yin #include "stdafx.h"
265fdc4257SSteve Yin #include "UAccCOM2.h"
275fdc4257SSteve Yin #include "AccComponent.h"
285fdc4257SSteve Yin 
295fdc4257SSteve Yin /**
305fdc4257SSteve Yin  * Returns the location of the upper left corner of the object's bounding
315fdc4257SSteve Yin  * box relative to the parent.
325fdc4257SSteve Yin  *
335fdc4257SSteve Yin  * @param    Location    the upper left corner of the object's bounding box.
345fdc4257SSteve Yin  */
get_locationInParent(long * x,long * y)355fdc4257SSteve Yin STDMETHODIMP CAccComponent::get_locationInParent(long *x, long *y)
365fdc4257SSteve Yin {
375fdc4257SSteve Yin 
385fdc4257SSteve Yin     return CAccComponentBase::get_locationInParent(x,y);
395fdc4257SSteve Yin }
405fdc4257SSteve Yin 
415fdc4257SSteve Yin /**
425fdc4257SSteve Yin  * Returns the foreground color of this object.
435fdc4257SSteve Yin  *
445fdc4257SSteve Yin  * @param    Color    the color of foreground.
455fdc4257SSteve Yin  */
get_foreground(IA2Color * foreground)465fdc4257SSteve Yin STDMETHODIMP CAccComponent::get_foreground(IA2Color * foreground)
475fdc4257SSteve Yin {
485fdc4257SSteve Yin 
495fdc4257SSteve Yin     return CAccComponentBase::get_foreground(foreground);
505fdc4257SSteve Yin }
515fdc4257SSteve Yin 
525fdc4257SSteve Yin /**
535fdc4257SSteve Yin  * Returns the background color of this object.
545fdc4257SSteve Yin  *
555fdc4257SSteve Yin  * @param    Color    the color of background.
565fdc4257SSteve Yin  */
get_background(IA2Color * background)575fdc4257SSteve Yin STDMETHODIMP CAccComponent::get_background(IA2Color * background)
585fdc4257SSteve Yin {
595fdc4257SSteve Yin 
605fdc4257SSteve Yin     return CAccComponentBase::get_background(background);
615fdc4257SSteve Yin }
625fdc4257SSteve Yin 
635fdc4257SSteve Yin /**
645fdc4257SSteve Yin  * Overide of IUNOXWrapper.
655fdc4257SSteve Yin  *
665fdc4257SSteve Yin  * @param    pXInterface    the pointer of UNO interface.
675fdc4257SSteve Yin  */
put_XInterface(long pXInterface)685fdc4257SSteve Yin STDMETHODIMP CAccComponent::put_XInterface(long pXInterface)
695fdc4257SSteve Yin {
705fdc4257SSteve Yin 
715fdc4257SSteve Yin     return CAccComponentBase::put_XInterface(pXInterface);
725fdc4257SSteve Yin }
73