textsh1.cxx (8ef2f12b) textsh1.cxx (23d8f725)
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

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

1624 case FN_INSERT_BOOKMARK:
1625 if( rSh.IsTableMode()
1626 || rSh.CrsrInsideInputFld() )
1627 {
1628 rSet.DisableItem( nWhich );
1629 }
1630 break;
1631
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

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

1624 case FN_INSERT_BOOKMARK:
1625 if( rSh.IsTableMode()
1626 || rSh.CrsrInsideInputFld() )
1627 {
1628 rSet.DisableItem( nWhich );
1629 }
1630 break;
1631
1632
1633 case FN_INSERT_BREAK:
1634 if ( rSh.HasReadonlySel()
1635 && !rSh.CrsrInsideInputFld() )
1636 {
1637 rSet.DisableItem( nWhich );
1638 }
1639 break;
1640
1641
1632 case FN_INSERT_BREAK_DLG:
1633 case FN_INSERT_COLUMN_BREAK:
1634 case FN_INSERT_PAGEBREAK:
1635 if( rSh.CrsrInsideInputFld() )
1636 {
1637 rSet.DisableItem( nWhich );
1638 }
1639 break;

--- 300 unchanged lines hidden ---
1642 case FN_INSERT_BREAK_DLG:
1643 case FN_INSERT_COLUMN_BREAK:
1644 case FN_INSERT_PAGEBREAK:
1645 if( rSh.CrsrInsideInputFld() )
1646 {
1647 rSet.DisableItem( nWhich );
1648 }
1649 break;

--- 300 unchanged lines hidden ---