SidebarWin.cxx (332f371a) | SidebarWin.cxx (1dff0ea1) |
---|---|
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 --- 565 unchanged lines hidden (view full) --- 574 if ( pWin && pWin->Anchor() ) 575 { 576 pWin->Anchor()->SetAnchorState(AS_END); 577 } 578 } 579 } 580 581 // text range overlay | 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 --- 565 unchanged lines hidden (view full) --- 574 if ( pWin && pWin->Anchor() ) 575 { 576 pWin->Anchor()->SetAnchorState(AS_END); 577 } 578 } 579 } 580 581 // text range overlay |
582 if ( mrSidebarItem.maLayoutInfo.mnStartNodeIdx != 0 | 582 if ( mrMgr.ShowNotes() 583 && mrSidebarItem.maLayoutInfo.mnStartNodeIdx != 0 |
583 && mrSidebarItem.maLayoutInfo.mnStartContent != STRING_NOTFOUND ) 584 { 585 std::vector< basegfx::B2DRange > aAnnotationTextRanges; 586 { 587 const SwTxtAnnotationFld* pTxtAnnotationFld = 588 dynamic_cast< const SwTxtAnnotationFld* >( mrSidebarItem.GetFmtFld().GetTxtFld() ); 589 if ( pTxtAnnotationFld != NULL 590 && pTxtAnnotationFld->GetpTxtNode() != NULL ) --- 894 unchanged lines hidden --- | 584 && mrSidebarItem.maLayoutInfo.mnStartContent != STRING_NOTFOUND ) 585 { 586 std::vector< basegfx::B2DRange > aAnnotationTextRanges; 587 { 588 const SwTxtAnnotationFld* pTxtAnnotationFld = 589 dynamic_cast< const SwTxtAnnotationFld* >( mrSidebarItem.GetFmtFld().GetTxtFld() ); 590 if ( pTxtAnnotationFld != NULL 591 && pTxtAnnotationFld->GetpTxtNode() != NULL ) --- 894 unchanged lines hidden --- |