tabsh.cxx (512ec161) tabsh.cxx (23257455)
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

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

1174 break;
1175// der letzte case-Zweig der noch einen TabellenManager braucht!!
1176 case FN_TABLE_SET_COL_WIDTH:
1177 {
1178 SwTableFUNC aMgr( &rSh, sal_False);
1179 aMgr.ColWidthDlg(GetView().GetWindow());
1180 }
1181 break;
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

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

1174 break;
1175// der letzte case-Zweig der noch einen TabellenManager braucht!!
1176 case FN_TABLE_SET_COL_WIDTH:
1177 {
1178 SwTableFUNC aMgr( &rSh, sal_False);
1179 aMgr.ColWidthDlg(GetView().GetWindow());
1180 }
1181 break;
1182 case FN_TABLE_VERT_NONE:
1183 case FN_TABLE_VERT_CENTER:
1184 case FN_TABLE_VERT_BOTTOM:
1185 {
1186 sal_uInt16 nAlign = nSlot == FN_TABLE_VERT_NONE ?
1187 text::VertOrientation::NONE :
1188 nSlot == FN_TABLE_VERT_CENTER ?
1189 text::VertOrientation::CENTER : text::VertOrientation::BOTTOM;
1190 rSh.SetBoxAlign(nAlign);
1191 bCallDone = sal_True;
1192 }
1193 break;
1194 case SID_TABLE_VERT_NONE:
1195 case SID_TABLE_VERT_CENTER:
1196 case SID_TABLE_VERT_BOTTOM:
1197 {
1198 sal_uInt16 nAlign = nSlot == SID_TABLE_VERT_NONE ?
1199 text::VertOrientation::NONE :
1200 nSlot == SID_TABLE_VERT_CENTER ?
1201 text::VertOrientation::CENTER : text::VertOrientation::BOTTOM;

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

1330 }
1331 break;
1332 case RES_LR_SPACE:
1333 rSet.Put(pFmt->GetLRSpace());
1334 break;
1335 case RES_UL_SPACE:
1336 rSet.Put(pFmt->GetULSpace());
1337 break;
1182 case SID_TABLE_VERT_NONE:
1183 case SID_TABLE_VERT_CENTER:
1184 case SID_TABLE_VERT_BOTTOM:
1185 {
1186 sal_uInt16 nAlign = nSlot == SID_TABLE_VERT_NONE ?
1187 text::VertOrientation::NONE :
1188 nSlot == SID_TABLE_VERT_CENTER ?
1189 text::VertOrientation::CENTER : text::VertOrientation::BOTTOM;

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

1318 }
1319 break;
1320 case RES_LR_SPACE:
1321 rSet.Put(pFmt->GetLRSpace());
1322 break;
1323 case RES_UL_SPACE:
1324 rSet.Put(pFmt->GetULSpace());
1325 break;
1338 case FN_TABLE_VERT_NONE:
1339 case FN_TABLE_VERT_CENTER:
1340 case FN_TABLE_VERT_BOTTOM:
1341 {
1342 sal_uInt16 nAlign = rSh.GetBoxAlign();
1343 sal_Bool bSet = (nSlot == FN_TABLE_VERT_NONE && nAlign == text::VertOrientation::NONE) ||
1344 (nSlot == FN_TABLE_VERT_CENTER && nAlign == text::VertOrientation::CENTER) ||
1345 (nSlot == FN_TABLE_VERT_BOTTOM && nAlign == text::VertOrientation::BOTTOM);
1346 rSet.Put(SfxBoolItem(nSlot, bSet));
1347 }
1348 break;
1349 case SID_TABLE_VERT_NONE:
1350 case SID_TABLE_VERT_CENTER:
1351 case SID_TABLE_VERT_BOTTOM:
1352 {
1353 sal_uInt16 nAlign = rSh.GetBoxAlign();
1354 sal_Bool bSet = nSlot == SID_TABLE_VERT_NONE && nAlign == text::VertOrientation::NONE||
1326
1327 case SID_TABLE_VERT_NONE:
1328 case SID_TABLE_VERT_CENTER:
1329 case SID_TABLE_VERT_BOTTOM:
1330 {
1331 sal_uInt16 nAlign = rSh.GetBoxAlign();
1332 sal_Bool bSet = nSlot == SID_TABLE_VERT_NONE && nAlign == text::VertOrientation::NONE||
1355 nSlot == SID_TABLE_VERT_CENTER && nAlign == text::VertOrientation::CENTER ||
1356 nSlot == SID_TABLE_VERT_BOTTOM && nAlign == text::VertOrientation::BOTTOM;
1333 nSlot == SID_TABLE_VERT_CENTER && nAlign == text::VertOrientation::CENTER ||
1334 nSlot == SID_TABLE_VERT_BOTTOM && nAlign == text::VertOrientation::BOTTOM;
1357 rSet.Put(SfxBoolItem(nSlot, bSet));
1358 }
1359 break;
1335 rSet.Put(SfxBoolItem(nSlot, bSet));
1336 }
1337 break;
1360
1361 case FN_TABLE_MODE_FIX :
1362 case FN_TABLE_MODE_FIX_PROP :
1363 case FN_TABLE_MODE_VARIABLE :
1364 {
1365 TblChgMode nMode = rSh.GetTblChgMode();
1366 sal_Bool bSet = (nSlot == FN_TABLE_MODE_FIX && nMode == TBLFIX_CHGABS) ||
1367 (nSlot == FN_TABLE_MODE_FIX_PROP && nMode == TBLFIX_CHGPROP) ||

--- 252 unchanged lines hidden ---
1338
1339 case FN_TABLE_MODE_FIX :
1340 case FN_TABLE_MODE_FIX_PROP :
1341 case FN_TABLE_MODE_VARIABLE :
1342 {
1343 TblChgMode nMode = rSh.GetTblChgMode();
1344 sal_Bool bSet = (nSlot == FN_TABLE_MODE_FIX && nMode == TBLFIX_CHGABS) ||
1345 (nSlot == FN_TABLE_MODE_FIX_PROP && nMode == TBLFIX_CHGPROP) ||

--- 252 unchanged lines hidden ---