2010-10-12 15:57:08 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-09-27 13:52:10 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2008-01-29 14:27:24 +00:00
|
|
|
|
|
|
|
#include <accessibility/standard/vclxaccessiblefixedhyperlink.hxx>
|
|
|
|
|
|
|
|
using namespace ::com::sun::star;
|
|
|
|
|
2014-02-22 21:20:15 +01:00
|
|
|
|
2008-01-29 14:27:24 +00:00
|
|
|
// VCLXAccessibleFixedHyperlink
|
2014-02-22 21:20:15 +01:00
|
|
|
|
2008-01-29 14:27:24 +00:00
|
|
|
|
|
|
|
VCLXAccessibleFixedHyperlink::VCLXAccessibleFixedHyperlink( VCLXWindow* pVCLWindow )
|
|
|
|
:VCLXAccessibleTextComponent( pVCLWindow )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2014-02-22 21:20:15 +01:00
|
|
|
|
2008-01-29 14:27:24 +00:00
|
|
|
|
|
|
|
VCLXAccessibleFixedHyperlink::~VCLXAccessibleFixedHyperlink()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2014-02-22 21:20:15 +01:00
|
|
|
|
2008-01-29 14:27:24 +00:00
|
|
|
|
|
|
|
void VCLXAccessibleFixedHyperlink::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet )
|
|
|
|
{
|
|
|
|
VCLXAccessibleTextComponent::FillAccessibleStateSet( rStateSet );
|
|
|
|
}
|
|
|
|
|
2014-02-22 21:20:15 +01:00
|
|
|
|
2008-01-29 14:27:24 +00:00
|
|
|
|
|
|
|
void VCLXAccessibleFixedHyperlink::implGetLineBoundary( i18n::Boundary& rBoundary, sal_Int32 nIndex )
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
OCommonAccessibleText::implGetLineBoundary( rBoundary, nIndex );
|
|
|
|
}
|
|
|
|
|
2014-02-22 21:20:15 +01:00
|
|
|
|
2008-01-29 14:27:24 +00:00
|
|
|
// XServiceInfo
|
2014-02-22 21:20:15 +01:00
|
|
|
|
2008-01-29 14:27:24 +00:00
|
|
|
|
2014-02-25 21:31:58 +01:00
|
|
|
OUString VCLXAccessibleFixedHyperlink::getImplementationName() throw (uno::RuntimeException, std::exception)
|
2008-01-29 14:27:24 +00:00
|
|
|
{
|
2012-09-07 03:36:42 -03:00
|
|
|
return OUString( "com.sun.star.comp.toolkit.AccessibleFixedHyperlink" );
|
2008-01-29 14:27:24 +00:00
|
|
|
}
|
|
|
|
|
2014-02-22 21:20:15 +01:00
|
|
|
|
2008-01-29 14:27:24 +00:00
|
|
|
|
2014-02-25 21:31:58 +01:00
|
|
|
uno::Sequence< OUString > VCLXAccessibleFixedHyperlink::getSupportedServiceNames() throw (uno::RuntimeException, std::exception)
|
2008-01-29 14:27:24 +00:00
|
|
|
{
|
2016-01-30 11:24:29 +02:00
|
|
|
return { "com.sun.star.awt.AccessibleFixedHyperlink" };
|
2008-01-29 14:27:24 +00:00
|
|
|
}
|
|
|
|
|
2014-02-22 21:20:15 +01:00
|
|
|
|
2008-01-29 14:27:24 +00:00
|
|
|
|
2010-10-12 15:57:08 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|