19930d4b4SHerbert Dürr /************************************************************** 29930d4b4SHerbert Dürr * 39930d4b4SHerbert Dürr * Licensed to the Apache Software Foundation (ASF) under one 49930d4b4SHerbert Dürr * or more contributor license agreements. See the NOTICE file 59930d4b4SHerbert Dürr * distributed with this work for additional information 69930d4b4SHerbert Dürr * regarding copyright ownership. The ASF licenses this file 79930d4b4SHerbert Dürr * to you under the Apache License, Version 2.0 (the 89930d4b4SHerbert Dürr * "License"); you may not use this file except in compliance 99930d4b4SHerbert Dürr * with the License. You may obtain a copy of the License at 109930d4b4SHerbert Dürr * 119930d4b4SHerbert Dürr * http://www.apache.org/licenses/LICENSE-2.0 129930d4b4SHerbert Dürr * 139930d4b4SHerbert Dürr * Unless required by applicable law or agreed to in writing, 149930d4b4SHerbert Dürr * software distributed under the License is distributed on an 159930d4b4SHerbert Dürr * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 169930d4b4SHerbert Dürr * KIND, either express or implied. See the License for the 179930d4b4SHerbert Dürr * specific language governing permissions and limitations 189930d4b4SHerbert Dürr * under the License. 199930d4b4SHerbert Dürr * 209930d4b4SHerbert Dürr *************************************************************/ 219930d4b4SHerbert Dürr 22*e26449d3SHerbert Dürr // ======================================================================= 239930d4b4SHerbert Dürr 24*e26449d3SHerbert Dürr class AtsTextStyle 25*e26449d3SHerbert Dürr : public ImplMacTextStyle 269930d4b4SHerbert Dürr { 279930d4b4SHerbert Dürr public: 28*e26449d3SHerbert Dürr explicit AtsTextStyle( const ImplFontSelectData& ); 29*e26449d3SHerbert Dürr virtual ~AtsTextStyle( void ); 309930d4b4SHerbert Dürr 31*e26449d3SHerbert Dürr virtual SalLayout* GetTextLayout( void ) const; 329930d4b4SHerbert Dürr 33*e26449d3SHerbert Dürr virtual void GetFontMetric( float fDPIY, ImplFontMetricData& ) const; 34*e26449d3SHerbert Dürr virtual bool GetGlyphBoundRect( sal_GlyphId, Rectangle& ) const; 35*e26449d3SHerbert Dürr virtual bool GetGlyphOutline( sal_GlyphId, basegfx::B2DPolyPolygon& ) const; 36*e26449d3SHerbert Dürr 37*e26449d3SHerbert Dürr virtual void SetTextColor( const RGBAColor& ); 389930d4b4SHerbert Dürr 39*e26449d3SHerbert Dürr private: 40*e26449d3SHerbert Dürr /// ATSU text style object 41*e26449d3SHerbert Dürr ATSUStyle maATSUStyle; 429930d4b4SHerbert Dürr }; 439930d4b4SHerbert Dürr 44*e26449d3SHerbert Dürr // ======================================================================= 459930d4b4SHerbert Dürr 46