editview.cxx (79aad27f) editview.cxx (a56bd57b)
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

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

291
292sal_uInt16 EditView::GetSelectedScriptType() const
293{
294 DBG_CHKTHIS( EditView, 0 );
295 DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
296 return PIMPEE->GetScriptType( pImpEditView->GetEditSelection() );
297}
298
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

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

291
292sal_uInt16 EditView::GetSelectedScriptType() const
293{
294 DBG_CHKTHIS( EditView, 0 );
295 DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
296 return PIMPEE->GetScriptType( pImpEditView->GetEditSelection() );
297}
298
299void EditView::Paint( const Rectangle& rRect )
299void EditView::Paint( const Rectangle& rRect, OutputDevice* pTargetDevice )
300{
301 DBG_CHKTHIS( EditView, 0 );
302 DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
300{
301 DBG_CHKTHIS( EditView, 0 );
302 DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
303 PIMPEE->Paint( pImpEditView, rRect );
303 PIMPEE->Paint( pImpEditView, rRect, pTargetDevice );
304}
305
306void EditView::SetEditEngine( EditEngine* pEditEng )
307{
308 DBG_CHKTHIS( EditView, 0 );
309 DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
310 pImpEditView->pEditEngine = pEditEng;
311 EditSelection aStartSel;

--- 1340 unchanged lines hidden ---
304}
305
306void EditView::SetEditEngine( EditEngine* pEditEng )
307{
308 DBG_CHKTHIS( EditView, 0 );
309 DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
310 pImpEditView->pEditEngine = pEditEng;
311 EditSelection aStartSel;

--- 1340 unchanged lines hidden ---