swdtflvr.cxx (dec99bbd) swdtflvr.cxx (a206ee71)
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

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

1342 break;
1343
1344 case SOT_FORMATSTR_ID_SVIM:
1345 nRet = SwTransferable::_PasteImageMap( rData, rSh );
1346 break;
1347
1348 case SOT_FORMATSTR_ID_SVXB:
1349 case SOT_FORMAT_BITMAP:
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

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

1342 break;
1343
1344 case SOT_FORMATSTR_ID_SVIM:
1345 nRet = SwTransferable::_PasteImageMap( rData, rSh );
1346 break;
1347
1348 case SOT_FORMATSTR_ID_SVXB:
1349 case SOT_FORMAT_BITMAP:
1350 case SOT_FORMATSTR_ID_PNG:
1350 case SOT_FORMAT_GDIMETAFILE:
1351 nRet = SwTransferable::_PasteGrf( rData, rSh, nFormat,
1352 SW_PASTESDR_INSERT,pPt,
1353 nActionFlags, nDropAction, bNeedToSelectBeforePaste);
1354 break;
1355
1356 case SOT_FORMATSTR_ID_XFORMS:
1357 case SOT_FORMATSTR_ID_SBA_FIELDDATAEXCHANGE:

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

1470 case SOT_FORMATSTR_ID_DRAWING:
1471 nRet = SwTransferable::_PasteSdrFormat( rData, rSh,
1472 SW_PASTESDR_SETATTR, pPt,
1473 nActionFlags, bNeedToSelectBeforePaste);
1474 break;
1475 case SOT_FORMATSTR_ID_SVXB:
1476 case SOT_FORMAT_GDIMETAFILE:
1477 case SOT_FORMAT_BITMAP:
1351 case SOT_FORMAT_GDIMETAFILE:
1352 nRet = SwTransferable::_PasteGrf( rData, rSh, nFormat,
1353 SW_PASTESDR_INSERT,pPt,
1354 nActionFlags, nDropAction, bNeedToSelectBeforePaste);
1355 break;
1356
1357 case SOT_FORMATSTR_ID_XFORMS:
1358 case SOT_FORMATSTR_ID_SBA_FIELDDATAEXCHANGE:

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

1471 case SOT_FORMATSTR_ID_DRAWING:
1472 nRet = SwTransferable::_PasteSdrFormat( rData, rSh,
1473 SW_PASTESDR_SETATTR, pPt,
1474 nActionFlags, bNeedToSelectBeforePaste);
1475 break;
1476 case SOT_FORMATSTR_ID_SVXB:
1477 case SOT_FORMAT_GDIMETAFILE:
1478 case SOT_FORMAT_BITMAP:
1479 case SOT_FORMATSTR_ID_PNG:
1478 case SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK:
1479 case SOT_FORMAT_FILE:
1480 case SOT_FORMATSTR_ID_FILEGRPDESCRIPTOR:
1481 case SOT_FORMATSTR_ID_UNIFORMRESOURCELOCATOR:
1482 nRet = SwTransferable::_PasteGrf( rData, rSh, nFormat,
1483 SW_PASTESDR_SETATTR, pPt,
1484 nActionFlags, nDropAction, bNeedToSelectBeforePaste);
1485 break;

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

2276
2277 Graphic aGrf;
2278 INetBookmark aBkmk;
2279 sal_Bool bCheckForGrf = sal_False, bCheckForImageMap = sal_False;
2280
2281 switch( nFmt )
2282 {
2283 case SOT_FORMAT_BITMAP:
1480 case SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK:
1481 case SOT_FORMAT_FILE:
1482 case SOT_FORMATSTR_ID_FILEGRPDESCRIPTOR:
1483 case SOT_FORMATSTR_ID_UNIFORMRESOURCELOCATOR:
1484 nRet = SwTransferable::_PasteGrf( rData, rSh, nFormat,
1485 SW_PASTESDR_SETATTR, pPt,
1486 nActionFlags, nDropAction, bNeedToSelectBeforePaste);
1487 break;

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

2278
2279 Graphic aGrf;
2280 INetBookmark aBkmk;
2281 sal_Bool bCheckForGrf = sal_False, bCheckForImageMap = sal_False;
2282
2283 switch( nFmt )
2284 {
2285 case SOT_FORMAT_BITMAP:
2286 case SOT_FORMATSTR_ID_PNG:
2284 case SOT_FORMAT_GDIMETAFILE:
2285 nRet = rData.GetGraphic( nFmt, aGrf );
2286 break;
2287
2288 case SOT_FORMATSTR_ID_SVXB:
2289 {
2290 SotStorageStreamRef xStm;
2291

--- 1609 unchanged lines hidden ---
2287 case SOT_FORMAT_GDIMETAFILE:
2288 nRet = rData.GetGraphic( nFmt, aGrf );
2289 break;
2290
2291 case SOT_FORMATSTR_ID_SVXB:
2292 {
2293 SotStorageStreamRef xStm;
2294

--- 1609 unchanged lines hidden ---