itrcrsr.cxx (29092756) itrcrsr.cxx (300d4866)
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

--- 326 unchanged lines hidden (view full) ---

335 {
336 nFirst = pFrm->Frm().Left() +
337 Max( rSpace.GetTxtLeft() + nLMWithNum+ nFirstLineOfs,
338 pFrm->Prt().Left() );
339 }
340
341 // --> OD 2008-01-31 #newlistlevelattrs#
342 // Note: <SwTxtFrm::GetAdditionalFirstLineOffset()> returns a negative
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

--- 326 unchanged lines hidden (view full) ---

335 {
336 nFirst = pFrm->Frm().Left() +
337 Max( rSpace.GetTxtLeft() + nLMWithNum+ nFirstLineOfs,
338 pFrm->Prt().Left() );
339 }
340
341 // --> OD 2008-01-31 #newlistlevelattrs#
342 // Note: <SwTxtFrm::GetAdditionalFirstLineOffset()> returns a negative
343 // value for the new list label postion and space mode LABEL_ALIGNMENT
343 // value for the new list label position and space mode LABEL_ALIGNMENT
344 // and label alignment CENTER and RIGHT in L2R layout respectively
345 // label alignment LEFT and CENTER in R2L layout
346 nFirst += pFrm->GetAdditionalFirstLineOffset();
347 // <--
348
349 if( nFirst >= nRight )
350 nFirst = nRight - 1;
351 }

--- 1535 unchanged lines hidden ---
344 // and label alignment CENTER and RIGHT in L2R layout respectively
345 // label alignment LEFT and CENTER in R2L layout
346 nFirst += pFrm->GetAdditionalFirstLineOffset();
347 // <--
348
349 if( nFirst >= nRight )
350 nFirst = nRight - 1;
351 }

--- 1535 unchanged lines hidden ---