texteng.cxx (24c56ab9) | texteng.cxx (ebe15e47) |
---|---|
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 --- 3207 unchanged lines hidden (view full) --- 3216 else 3217 break; 3218 } 3219 } 3220 } 3221/* 3222 if ( IsRightToLeft() ) 3223 { | 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 --- 3207 unchanged lines hidden (view full) --- 3216 else 3217 break; 3218 } 3219 } 3220 } 3221/* 3222 if ( IsRightToLeft() ) 3223 { |
3224 // Switch X postions... | 3224 // Switch X positions... |
3225 DBG_ASSERT( GetMaxTextWidth(), "GetPortionXOffset - max text width?!" ); 3226 DBG_ASSERT( nX <= (long)GetMaxTextWidth(), "GetPortionXOffset - position out of paper size!" ); 3227 nX = GetMaxTextWidth() - nX; 3228 nX -= pDestPortion->GetWidth(); 3229 } 3230*/ 3231 3232 return nX; --- 67 unchanged lines hidden --- | 3225 DBG_ASSERT( GetMaxTextWidth(), "GetPortionXOffset - max text width?!" ); 3226 DBG_ASSERT( nX <= (long)GetMaxTextWidth(), "GetPortionXOffset - position out of paper size!" ); 3227 nX = GetMaxTextWidth() - nX; 3228 nX -= pDestPortion->GetWidth(); 3229 } 3230*/ 3231 3232 return nX; --- 67 unchanged lines hidden --- |