fupoor.cxx (cdf0e10c) fupoor.cxx (a5258243)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *

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

879 if(!mpView->IsTextEdit() && mpViewShell)
880 {
881 const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
882
883 if(1 == rMarkList.GetMarkCount())
884 {
885 SdrObject* pObj = rMarkList.GetMark(0)->GetMarkedSdrObj();
886
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *

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

879 if(!mpView->IsTextEdit() && mpViewShell)
880 {
881 const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
882
883 if(1 == rMarkList.GetMarkCount())
884 {
885 SdrObject* pObj = rMarkList.GetMark(0)->GetMarkedSdrObj();
886
887 if(pObj->ISA(SdrTextObj) && pObj->HasTextEdit() && !pObj->ISA(SdrOle2Obj))
887 // #i118485# allow TextInput for OLEs, too
888 if(pObj->ISA(SdrTextObj) && pObj->HasTextEdit())
888 {
889 // #98533# use common IsSimpleCharInput from
890 // the EditEngine.
891 sal_Bool bPrintable(EditEngine::IsSimpleCharInput(rKEvt));
892
893 if(bPrintable)
894 {
895 // try to activate textedit mode for the selected object

--- 382 unchanged lines hidden ---
889 {
890 // #98533# use common IsSimpleCharInput from
891 // the EditEngine.
892 sal_Bool bPrintable(EditEngine::IsSimpleCharInput(rKEvt));
893
894 if(bPrintable)
895 {
896 // try to activate textedit mode for the selected object

--- 382 unchanged lines hidden ---