53#include <officecfg/Office/Common.hxx>
87 :
SfxTabPage(pPage, pController,
"modules/swriter/ui/viewoptionspage.ui",
"ViewOptionsPage", &rCoreSet)
88 , m_xCrossCB(m_xBuilder->weld_check_button(
"helplines"))
89 , m_xHMetric(m_xBuilder->weld_combo_box(
"hrulercombobox"))
90 , m_xVRulerCBox(m_xBuilder->weld_check_button(
"vruler"))
91 , m_xVRulerRightCBox(m_xBuilder->weld_check_button(
"vrulerright"))
92 , m_xVMetric(m_xBuilder->weld_combo_box(
"vrulercombobox"))
93 , m_xSmoothCBox(m_xBuilder->weld_check_button(
"smoothscroll"))
94 , m_xGrfCB(m_xBuilder->weld_check_button(
"graphics"))
95 , m_xTableCB(m_xBuilder->weld_check_button(
"tables"))
96 , m_xDrwCB(m_xBuilder->weld_check_button(
"drawings"))
97 , m_xPostItCB(m_xBuilder->weld_check_button(
"comments"))
98 , m_xSettingsFrame(m_xBuilder->weld_frame(
"settingsframe"))
99 , m_xSettingsLabel(m_xBuilder->weld_label(
"settingslabel"))
100 , m_xMetricLabel(m_xBuilder->weld_label(
"measureunitlabel"))
101 , m_xMetricLB(m_xBuilder->weld_combo_box(
"measureunit"))
102 , m_xShowInlineTooltips(m_xBuilder->weld_check_button(
"changestooltip"))
103 , m_xShowOutlineContentVisibilityButton(m_xBuilder->weld_check_button(
"outlinecontentvisibilitybutton"))
104 , m_xTreatSubOutlineLevelsAsContent(m_xBuilder->weld_check_button(
"suboutlinelevelsascontent"))
105 , m_xShowChangesInMargin(m_xBuilder->weld_check_button(
"changesinmargin"))
106 , m_xFieldHiddenCB(m_xBuilder->weld_check_button(
"hiddentextfield"))
107 , m_xFieldHiddenParaCB(m_xBuilder->weld_check_button(
"hiddenparafield"))
134 case FieldUnit::POINT:
135 case FieldUnit::PICA:
136 case FieldUnit::INCH:
137 case FieldUnit::CHAR:
138 case FieldUnit::LINE:
143 if (eFUnit != FieldUnit::LINE)
145 m_xMetricLB->append(OUString::number(
static_cast<sal_uInt32
>(eFUnit)), sMetric);
146 m_xHMetric->append(OUString::number(
static_cast<sal_uInt32
>(eFUnit)), sMetric);
149 if (eFUnit != FieldUnit::CHAR)
151 m_xVMetric->append(OUString::number(
static_cast<sal_uInt32
>(eFUnit)), sMetric);
167 return std::make_unique<SwContentOptPage>(pPage, pController, *rAttrSet);
176 for (sal_Int32
i = 0, nEntryCount = rMetric.
get_count();
i < nEntryCount; ++
i)
178 if (rMetric.
get_id(
i).toUInt32() ==
static_cast<sal_uInt32
>(eFieldUnit))
235 bool bRet = !pOldAttr || aElem != *pOldAttr;
237 bRet =
nullptr !=
rSet->
Put(aElem);
240 sal_Int32 nGlobalMetricPos = nMPos;
243 const sal_uInt16 nFieldUnit =
m_xMetricLB->get_id(nMPos).toUInt32();
249 if (
m_xHMetric->get_value_changed_from_saved() || nMPos != nGlobalMetricPos )
251 const sal_uInt16 nFieldUnit =
m_xHMetric->get_id(nMPos).toUInt32();
256 if (
m_xVMetric->get_value_changed_from_saved() || nMPos != nGlobalMetricPos )
258 const sal_uInt16 nFieldUnit =
m_xVMetric->get_id(nMPos).toUInt32();
268 m_xVRulerRightCBox->set_sensitive(rBox.get_sensitive() && rBox.get_active());
273 m_xTreatSubOutlineLevelsAsContent->set_sensitive(rBox.get_active());
279 :
SfxTabPage(pPage, pController,
"modules/swriter/ui/printoptionspage.ui",
"PrintOptionsPage", &rCoreSet)
280 , m_sNone(
SwResId(SW_STR_NONE))
281 , m_bAttrModified(false)
283 , m_xGrfCB(m_xBuilder->weld_check_button(
"graphics"))
284 , m_xCtrlFieldCB(m_xBuilder->weld_check_button(
"formcontrols"))
285 , m_xBackgroundCB(m_xBuilder->weld_check_button(
"background"))
286 , m_xBlackFontCB(m_xBuilder->weld_check_button(
"inblack"))
287 , m_xPrintHiddenTextCB(m_xBuilder->weld_check_button(
"hiddentext"))
288 , m_xPrintTextPlaceholderCB(m_xBuilder->weld_check_button(
"textplaceholder"))
289 , m_xPagesFrame(m_xBuilder->weld_widget(
"pagesframe"))
290 , m_xLeftPageCB(m_xBuilder->weld_check_button(
"leftpages"))
291 , m_xRightPageCB(m_xBuilder->weld_check_button(
"rightpages"))
292 , m_xProspectCB(m_xBuilder->weld_check_button(
"brochure"))
293 , m_xProspectCB_RTL(m_xBuilder->weld_check_button(
"rtl"))
294 , m_xCommentsFrame(m_xBuilder->weld_widget(
"commentsframe"))
295 , m_xNoRB(m_xBuilder->weld_radio_button(
"none"))
296 , m_xOnlyRB(m_xBuilder->weld_radio_button(
"only"))
297 , m_xEndRB(m_xBuilder->weld_radio_button(
"end"))
298 , m_xEndPageRB(m_xBuilder->weld_radio_button(
"endpage"))
299 , m_xInMarginsRB(m_xBuilder->weld_radio_button(
"inmargins"))
300 , m_xPrintEmptyPagesCB(m_xBuilder->weld_check_button(
"blankpages"))
301 , m_xPaperFromSetupCB(m_xBuilder->weld_check_button(
"papertray"))
302 , m_xFaxLB(m_xBuilder->weld_combo_box(
"fax"))
321 m_xNoRB->connect_toggled( aLk );
352 return std::make_unique<SwAddPrinterTabPage>(pPage, pController, *rAttrSet);
389 const OUString sFax =
m_xFaxLB->get_active_text();
391 rCoreSet->
Put(aAddPrinterAttr);
402 m_xGrfCB->set_active(pAddPrinterAttr->m_bPrintGraphic || pAddPrinterAttr->m_bPrintDraw);
408 m_xLeftPageCB->set_active( pAddPrinterAttr->m_bPrintLeftPages);
412 m_xProspectCB->set_active( pAddPrinterAttr->m_bPrintProspect);
420 auto nFound =
m_xFaxLB->find_text(pAddPrinterAttr->m_sFaxName);
429 m_xNoRB->set_sensitive(
false );
440 m_bAttrModified =
true;
441 bool bIsProspect = m_xProspectCB->get_active();
443 m_xProspectCB_RTL->set_active(
false );
444 m_xProspectCB_RTL->set_sensitive( bIsProspect );
445 m_xNoRB->set_sensitive( !bIsProspect );
446 m_xOnlyRB->set_sensitive( !bIsProspect );
447 m_xEndRB->set_sensitive( !bIsProspect );
448 m_xEndPageRB->set_sensitive( !bIsProspect );
449 m_xInMarginsRB->set_sensitive( !bIsProspect );
455 for(
const auto &
i : rFaxLst)
464 m_bAttrModified=
true;
476 if (pListItem && pListItem->
GetValue())
478 std::vector<OUString> aFaxList;
480 for (
const auto & rPrinter : rPrinters)
481 aFaxList.insert(aFaxList.begin(), rPrinter);
488 :
SfxTabPage(pPage, pController,
"modules/swriter/ui/optfonttabpage.ui",
"OptFontTabPage", &
rSet)
490 , m_pFontConfig(nullptr)
491 , m_pWrtShell(nullptr)
493 , m_bListDefault(false)
494 , m_bSetListDefault(true)
495 , m_bLabelDefault(false)
496 , m_bSetLabelDefault(true)
497 , m_bIdxDefault(false)
498 , m_bSetIdxDefault(true)
499 , m_bDisposePrinter(false)
501 , m_sScriptWestern(
SwResId(ST_SCRIPT_WESTERN))
502 , m_sScriptAsian(
SwResId(ST_SCRIPT_ASIAN))
503 , m_sScriptComplex(
SwResId(ST_SCRIPT_CTL))
504 , m_xLabelFT(m_xBuilder->weld_label(
"label1"))
505 , m_xStandardBox(m_xBuilder->weld_combo_box(
"standardbox"))
506 , m_xStandardHeightLB(new
FontSizeBox(m_xBuilder->weld_combo_box(
"standardheight")))
507 , m_xTitleBox(m_xBuilder->weld_combo_box(
"titlebox"))
508 , m_xTitleHeightLB(new
FontSizeBox(m_xBuilder->weld_combo_box(
"titleheight")))
509 , m_xListBox(m_xBuilder->weld_combo_box(
"listbox"))
510 , m_xListHeightLB(new
FontSizeBox(m_xBuilder->weld_combo_box(
"listheight")))
511 , m_xLabelBox(m_xBuilder->weld_combo_box(
"labelbox"))
512 , m_xLabelHeightLB(new
FontSizeBox(m_xBuilder->weld_combo_box(
"labelheight")))
513 , m_xIdxBox(m_xBuilder->weld_combo_box(
"idxbox"))
514 , m_xIndexHeightLB(new
FontSizeBox(m_xBuilder->weld_combo_box(
"indexheight")))
515 , m_xStandardPB(m_xBuilder->weld_button(
"standard"))
533 m_xIdxBox->connect_focus_out( aFocusLink );
553 return std::make_unique<SwStdFontTabPage>(pPage, pController, *rAttrSet);
557 SfxPrinter const * pPrt,
const OUString& rStyle,
558 sal_uInt16 nFontWhich)
562 aFont = pPrt->GetFontMetric( aFont );
569 sal_Int32 nHeight, sal_uInt16 nFontHeightWhich)
571 float fSize =
static_cast<float>(nHeight) / 10;
572 nHeight =
CalcToUnit( fSize, MapUnit::MapTwip );
579 SW_MOD()->GetModuleConfig()->SetDefaultFontInCurrDocOnly(
false);
582 const OUString sTitle =
m_xTitleBox->get_active_text();
583 const OUString sList =
m_xListBox->get_active_text();
584 const OUString sLabel =
m_xLabelBox->get_active_text();
585 const OUString sIdx =
m_xIdxBox->get_active_text();
588 bool bTitleHeightChanged =
m_xTitleHeightLB->get_value_changed_from_saved();
589 bool bListHeightChanged =
m_xListHeightLB->get_value_changed_from_saved();
590 bool bLabelHeightChanged =
m_xLabelHeightLB->get_value_changed_from_saved();
591 bool bIndexHeightChanged =
m_xIndexHeightLB->get_value_changed_from_saved();
598 if(bStandardHeightChanged)
603 if(bTitleHeightChanged)
608 if(bListHeightChanged)
613 if(bLabelHeightChanged)
618 if(bIndexHeightChanged)
629 const sal_uInt16 nFontWhich =
632 const sal_uInt16 nFontHeightWhich =
639 aFont = pPrinter->GetFontMetric( aFont );
646 if(bStandardHeightChanged)
660 if(bTitleHeightChanged)
663 sal::static_int_cast< sal_uInt16, sal_Int64 >(
m_xTitleHeightLB->get_value()), nFontHeightWhich);
671 if(bListHeightChanged)
674 sal::static_int_cast< sal_uInt16, sal_Int64 >(
m_xListHeightLB->get_value()), nFontHeightWhich);
682 if(bLabelHeightChanged)
685 sal::static_int_cast< sal_uInt16, sal_Int64 >(
m_xLabelHeightLB->get_value()), nFontHeightWhich);
693 if(bIndexHeightChanged)
696 sal::static_int_cast< sal_uInt16, sal_Int64 >(
m_xIndexHeightLB->get_value()), nFontHeightWhich);
734 <SID_PRINTER_NOTFOUND_WARN, SID_PRINTER_NOTFOUND_WARN,
735 SID_PRINTER_CHANGESTODOC, SID_PRINTER_CHANGESTODOC>>( *
rSet->
GetPool() );
744 std::set< OUString > aFontNames;
745 int nFontNames =
m_pPrt->GetFontFaceCollectionCount();
746 for(
int i = 0;
i < nFontNames;
i++ )
753 for(
const auto& rFontName : aFontNames )
773 OUString sListBackup;
776 sal_Int32 nStandardHeight = -1;
777 sal_Int32 nTitleHeight = -1;
778 sal_Int32 nListHeight = -1;
779 sal_Int32 nLabelHeight = -1;
780 sal_Int32 nIndexHeight = -1;
794 if( nStandardHeight <= 0)
796 if( nTitleHeight <= 0)
798 if( nListHeight <= 0)
800 if( nLabelHeight <= 0)
802 if( nIndexHeight <= 0)
812 const sal_uInt16 nFontHeightWhich =
816 nStandardHeight =
static_cast<sal_Int32
>(rFontHeightStandard.
GetHeight());
824 nTitleHeight =
static_cast<sal_Int32
>(rFontHeightTitle.
GetHeight());
826 const sal_uInt16 nFontWhich =
836 nListHeight =
static_cast<sal_Int32
>(rFontHeightList.
GetHeight());
844 nLabelHeight =
static_cast<sal_Int32
>(rFontHeightLabel.
GetHeight());
852 nIndexHeight =
static_cast<sal_Int32
>(rFontHeightIndex.
GetHeight());
894 m_xStandardBox->save_value();
895 m_xTitleBox->save_value();
896 m_xListBox->save_value();
897 m_xLabelBox->save_value();
898 m_xIdxBox->save_value();
902 MapUnit::MapTwip, 10 ));
905 nFontOffset, m_eLanguage), MapUnit::MapTwip, 10 ));
908 MapUnit::MapTwip, 10 ));
911 MapUnit::MapTwip, 10 ));
914 MapUnit::MapTwip, 10 ));
919 if (&rBox == m_xStandardBox.get())
921 const OUString sEntry = rBox.get_active_text();
922 if(m_bSetListDefault && m_bListDefault)
923 m_xListBox->set_entry_text(sEntry);
924 if(m_bSetLabelDefault && m_bLabelDefault)
925 m_xLabelBox->set_entry_text(sEntry);
926 if(m_bSetIdxDefault && m_bIdxDefault)
927 m_xIdxBox->set_entry_text(sEntry);
929 else if (&rBox == m_xListBox.get())
931 m_bSetListDefault =
false;
933 else if (&rBox == m_xLabelBox.get())
935 m_bSetLabelDefault =
false;
937 else if (&rBox == m_xIdxBox.get())
939 m_bSetIdxDefault =
false;
948 if (&rBox == m_xStandardBox.get())
950 pHeightLB = m_xStandardHeightLB.get();
952 else if (&rBox == m_xTitleBox.get())
954 pHeightLB = m_xTitleHeightLB.get();
956 else if (&rBox == m_xListBox.get())
958 pHeightLB = m_xListHeightLB.get();
960 else if (&rBox == m_xLabelBox.get())
962 pHeightLB = m_xLabelHeightLB.get();
966 pHeightLB = m_xIndexHeightLB.get();
969 pHeightLB->
Fill( m_pFontList.get() );
980 :
SfxTabPage(pPage, pController,
"modules/swriter/ui/opttablepage.ui",
"OptTablePage", &
rSet)
981 , m_pWrtShell(nullptr)
983 , m_xHeaderCB(m_xBuilder->weld_check_button(
"header"))
984 , m_xRepeatHeaderCB(m_xBuilder->weld_check_button(
"repeatheader"))
985 , m_xDontSplitCB(m_xBuilder->weld_check_button(
"dontsplit"))
986 , m_xBorderCB(m_xBuilder->weld_check_button(
"border"))
987 , m_xNumFormattingCB(m_xBuilder->weld_check_button(
"numformatting"))
988 , m_xNumFormatFormattingCB(m_xBuilder->weld_check_button(
"numfmtformatting"))
989 , m_xNumAlignmentCB(m_xBuilder->weld_check_button(
"numalignment"))
990 , m_xRowMoveMF(m_xBuilder->weld_metric_spin_button(
"rowmove",
FieldUnit::
CM))
991 , m_xColMoveMF(m_xBuilder->weld_metric_spin_button(
"colmove",
FieldUnit::
CM))
992 , m_xRowInsertMF(m_xBuilder->weld_metric_spin_button(
"rowinsert",
FieldUnit::
CM))
993 , m_xColInsertMF(m_xBuilder->weld_metric_spin_button(
"colinsert",
FieldUnit::
CM))
994 , m_xFixRB(m_xBuilder->weld_radio_button(
"fix"))
995 , m_xFixPropRB(m_xBuilder->weld_radio_button(
"fixprop"))
996 , m_xVarRB(m_xBuilder->weld_radio_button(
"var"))
1011 return std::make_unique<SwTableOptionsTabPage>(pPage, pController, *rAttrSet);
1046 static sal_uInt16 aInva[] =
1072 if (
m_xHeaderCB->get_state_changed_from_saved() ||
1166 m_xNumFormatFormattingCB->set_sensitive(m_xNumFormattingCB->get_active());
1167 m_xNumAlignmentCB->set_sensitive(m_xNumFormattingCB->get_active());
1168 m_xRepeatHeaderCB->set_sensitive(m_xHeaderCB->get_active());
1179 :
SfxTabPage(pPage, pController,
"modules/swriter/ui/optformataidspage.ui",
"OptFormatAidsPage", &
rSet)
1180 , m_pWrtShell(nullptr)
1181 , m_xParaCB(m_xBuilder->weld_check_button(
"paragraph"))
1182 , m_xSHyphCB(m_xBuilder->weld_check_button(
"hyphens"))
1183 , m_xSpacesCB(m_xBuilder->weld_check_button(
"spaces"))
1184 , m_xHSpacesCB(m_xBuilder->weld_check_button(
"nonbreak"))
1185 , m_xTabCB(m_xBuilder->weld_check_button(
"tabs"))
1186 , m_xTabLabel(m_xBuilder->weld_label(
"tabs_label"))
1187 , m_xBreakCB(m_xBuilder->weld_check_button(
"break"))
1188 , m_xCharHiddenCB(m_xBuilder->weld_check_button(
"hiddentext"))
1189 , m_xBookmarkCB(m_xBuilder->weld_check_button(
"bookmarks"))
1190 , m_xBookmarkLabel(m_xBuilder->weld_label(
"bookmarks_label"))
1191 , m_xDirectCursorFrame(m_xBuilder->weld_frame(
"directcrsrframe"))
1192 , m_xOnOffCB(m_xBuilder->weld_check_button(
"cursoronoff"))
1193 , m_xDirectCursorFillMode(m_xBuilder->weld_combo_box(
"cxDirectCursorFillMode"))
1194 , m_xCursorProtFrame(m_xBuilder->weld_frame(
"crsrprotframe"))
1195 , m_xImageFrame(m_xBuilder->weld_frame(
"frmImage"))
1196 , m_xCursorInProtCB(m_xBuilder->weld_check_button(
"cursorinprot"))
1197 , m_xDefaultAnchorType(m_xBuilder->weld_combo_box(
"cxDefaultAnchor"))
1198 , m_xMathBaselineAlignmentCB(m_xBuilder->weld_check_button(
"mathbaseline"))
1205 eMode = pItem->GetMode();
1206 bIsOn = pItem->IsOn();
1235 return std::make_unique<SwShdwCursorOptionsTabPage>(pPage, pController, *
rSet);
1255 if( !pShadowCursorItem || *pShadowCursorItem != aOpt )
1287 bRet |= (!pOldAttr || aDisp != *pOldAttr);
1289 bRet =
nullptr !=
rSet->
Put(aDisp);
1301 eMode = pItem->GetMode();
1302 bIsOn = pItem->IsOn();
1347 { SID_ATTR_CHAR_CASEMAP, sal_uInt16(SvxCaseMap::NotMapped) },
1353 { SID_ATTR_CHAR_CASEMAP, sal_uInt16(SvxCaseMap::Uppercase) },
1354 { SID_ATTR_CHAR_CASEMAP, sal_uInt16(SvxCaseMap::Lowercase) },
1355 { SID_ATTR_CHAR_CASEMAP, sal_uInt16(SvxCaseMap::SmallCaps) },
1356 { SID_ATTR_CHAR_CASEMAP, sal_uInt16(SvxCaseMap::Capitalize) },
1357 { SID_ATTR_BRUSH, 0 }
1418 const tools::Long nCorr = (nWidth & 1) != 0 ? 0 : 1;
1426 aShadow +=
Point(3, 3);
1481 aTextLine.
Move(0, 4);
1489 if (
i == (nLines - 1))
1495 aTextLine.
Move(0, nStep);
1497 aTextLine.
Move(0, -nStep);
1510 void lcl_FillRedlineAttrListBox(
1512 const sal_uInt16* pAttrMap,
const size_t nAttrMapSize)
1514 for (
size_t i = 0;
i != nAttrMapSize; ++
i)
1518 if (rAttr.nItemId == rAttrToSelect.
m_nItemId &&
1519 rAttr.nAttr == rAttrToSelect.
m_nAttr)
1527 :
SfxTabPage(pPage, pController,
"modules/swriter/ui/optredlinepage.ui",
"OptRedLinePage", &
rSet)
1528 , m_xInsertLB(m_xBuilder->weld_combo_box(
"insert"))
1529 , m_xInsertColorLB(new
ColorListBox(m_xBuilder->weld_menu_button(
"insertcolor"),
1532 , m_xInsertedPreview(
new weld::CustomWeld(*m_xBuilder,
"insertedpreview", *m_xInsertedPreviewWN))
1533 , m_xDeletedLB(m_xBuilder->weld_combo_box(
"deleted"))
1534 , m_xDeletedColorLB(
new ColorListBox(m_xBuilder->weld_menu_button(
"deletedcolor"),
1535 [
this]{ return GetDialogController()->getDialog(); }))
1537 , m_xDeletedPreview(
new weld::CustomWeld(*m_xBuilder,
"deletedpreview", *m_xDeletedPreviewWN))
1538 , m_xChangedLB(m_xBuilder->weld_combo_box(
"changed"))
1539 , m_xChangedColorLB(
new ColorListBox(m_xBuilder->weld_menu_button(
"changedcolor"),
1540 [
this]{ return GetDialogController()->getDialog(); }))
1542 , m_xChangedPreview(
new weld::CustomWeld(*m_xBuilder,
"changedpreview", *m_xChangedPreviewWN))
1543 , m_xMarkPosLB(m_xBuilder->weld_combo_box(
"markpos"))
1544 , m_xMarkColorLB(
new ColorListBox(m_xBuilder->weld_menu_button(
"markcolor"),
1545 [
this]{ return GetDialogController()->getDialog(); }))
1547 , m_xMarkPreview(
new weld::CustomWeld(*m_xBuilder,
"markpreview", *m_xMarkPreviewWN))
1551 m_xInsertColorLB->SetSlotId(SID_AUTHOR_COLOR,
true);
1552 m_xDeletedColorLB->SetSlotId(SID_AUTHOR_COLOR,
true);
1553 m_xChangedColorLB->SetSlotId(SID_AUTHOR_COLOR,
true);
1555 m_xInsertedPreviewWN->set_size_request(aPreviewSize.Width(), aPreviewSize.Height());
1556 m_xDeletedPreviewWN->set_size_request(aPreviewSize.Width(), aPreviewSize.Height());
1557 m_xChangedPreviewWN->set_size_request(aPreviewSize.Width(), aPreviewSize.Height());
1558 m_xMarkPreviewWN->set_size_request(aPreviewSize.Width(), aPreviewSize.Height());
1560 for (sal_Int32 i = 0, nEntryCount = m_xInsertLB->get_count(); i < nEntryCount; ++i)
1562 const OUString sEntry(m_xInsertLB->get_text(i));
1563 m_xDeletedLB->append_text(sEntry);
1564 m_xChangedLB->append_text(sEntry);
1569 m_xInsertLB->remove(5);
1570 m_xChangedLB->remove(5);
1571 m_xDeletedLB->remove(4);
1572 m_xDeletedLB->remove(3);
1575 m_xInsertLB->connect_changed( aLk );
1576 m_xDeletedLB->connect_changed( aLk );
1577 m_xChangedLB->connect_changed( aLk );
1580 m_xInsertColorLB->SetSelectHdl( aLk2 );
1581 m_xDeletedColorLB->SetSelectHdl( aLk2 );
1582 m_xChangedColorLB->SetSelectHdl( aLk2 );
1606 return std::make_unique<SwRedlineOptionsTabPage>(pPage, pController, *
rSet);
1629 aInsertedAttr.
m_nItemId = pAttr->nItemId;
1630 aInsertedAttr.
m_nAttr = pAttr->nAttr;
1639 aDeletedAttr.
m_nItemId = pAttr->nItemId;
1640 aDeletedAttr.
m_nAttr = pAttr->nAttr;
1649 aChangedAttr.
m_nItemId = pAttr->nItemId;
1650 aChangedAttr.
m_nAttr = pAttr->nAttr;
1659 case 1:
nPos = text::HoriOrientation::LEFT;
break;
1660 case 2:
nPos = text::HoriOrientation::RIGHT;
break;
1661 case 3:
nPos = text::HoriOrientation::OUTSIDE;
break;
1662 case 4:
nPos = text::HoriOrientation::INSIDE;
break;
1667 if (!(aInsertedAttr == aOldInsertAttr) ||
1668 !(aDeletedAttr == aOldDeletedAttr) ||
1669 !(aChangedAttr == aOldChangedAttr) ||
1722 case text::HoriOrientation::LEFT:
nPos = 1;
break;
1723 case text::HoriOrientation::RIGHT:
nPos = 2;
break;
1724 case text::HoriOrientation::OUTSIDE:
nPos = 3;
break;
1725 case text::HoriOrientation::INSIDE:
nPos = 4;
break;
1745 if (&rLB == m_xInsertLB.get())
1747 pColorLB = m_xInsertColorLB.get();
1748 pPrev = m_xInsertedPreviewWN.get();
1750 else if (&rLB == m_xDeletedLB.get())
1752 pColorLB = m_xDeletedColorLB.get();
1753 pPrev = m_xDeletedPreviewWN.get();
1757 pColorLB = m_xChangedColorLB.get();
1758 pPrev = m_xChangedPreviewWN.get();
1789 rFont.SetColor(aColor);
1790 rCJKFont.SetColor(aColor);
1797 CharAttr* pAttr = weld::fromId<CharAttr*>(rLB.
get_id(
nPos));
1800 switch (pAttr->nItemId)
1802 case SID_ATTR_CHAR_WEIGHT:
1803 rFont.SetWeight(
static_cast<FontWeight>(pAttr->nAttr) );
1804 rCJKFont.SetWeight(
static_cast<FontWeight>(pAttr->nAttr) );
1807 case SID_ATTR_CHAR_POSTURE:
1808 rFont.SetItalic(
static_cast<FontItalic>(pAttr->nAttr) );
1809 rCJKFont.SetItalic(
static_cast<FontItalic>(pAttr->nAttr) );
1812 case SID_ATTR_CHAR_UNDERLINE:
1813 rFont.SetUnderline(
static_cast<FontLineStyle>(pAttr->nAttr) );
1814 rCJKFont.SetUnderline(
static_cast<FontLineStyle>(pAttr->nAttr) );
1817 case SID_ATTR_CHAR_STRIKEOUT:
1818 rFont.SetStrikeout(
static_cast<FontStrikeout>(pAttr->nAttr) );
1819 rCJKFont.SetStrikeout(
static_cast<FontStrikeout>(pAttr->nAttr) );
1822 case SID_ATTR_CHAR_CASEMAP:
1827 case SID_ATTR_BRUSH:
1840 pPrev->Invalidate();
1849 if (pColorLB == m_xInsertColorLB.get())
1851 pLB = m_xInsertLB.get();
1852 pPrev = m_xInsertedPreviewWN.get();
1854 else if (pColorLB == m_xDeletedColorLB.get())
1856 pLB = m_xDeletedLB.get();
1857 pPrev = m_xDeletedPreviewWN.get();
1861 pLB = m_xChangedLB.get();
1862 pPrev = m_xChangedPreviewWN.get();
1871 CharAttr* pAttr = weld::fromId<CharAttr*>(pLB->
get_id(
nPos));
1873 if( pAttr->nItemId == SID_ATTR_BRUSH )
1900 rFont.SetColor(aColor);
1901 rCJKFont.SetColor(aColor);
1905 pPrev->Invalidate();
1935 OutputDevice& rDevice = rExampleWin.GetDrawingArea()->get_ref_device();
1938 GetDefaultFontFlags::OnlyOne, &rDevice ) );
1940 GetDefaultFontFlags::OnlyOne, &rDevice ) );
1942 GetDefaultFontFlags::OnlyOne, &rDevice ) );
1943 const Size aDefSize( 0, 12 );
1957 rCJKFont = aCJKFont;
1958 rCTLFont = aCTLFont;
1960 const Size aNewSize( 0, rExampleWin.GetOutputSizePixel().Height() * 2 / 3 );
1961 rFont.SetFontSize( aNewSize );
1962 rCJKFont.SetFontSize( aNewSize );
1964 rExampleWin.
SetFont( rFont, rCJKFont,rCTLFont );
1969 :
SfxTabPage(pPage, pController,
"modules/swriter/ui/optcomparison.ui",
"OptComparison", &
rSet)
1970 , m_xAutoRB(m_xBuilder->weld_radio_button(
"auto"))
1971 , m_xWordRB(m_xBuilder->weld_radio_button(
"byword"))
1972 , m_xCharRB(m_xBuilder->weld_radio_button(
"bycharacter"))
1973 , m_xRsidCB(m_xBuilder->weld_check_button(
"useRSID"))
1974 , m_xIgnoreCB(m_xBuilder->weld_check_button(
"ignore"))
1975 , m_xLenNF(m_xBuilder->weld_spin_button(
"ignorelen"))
1976 , m_xStoreRsidCB(m_xBuilder->weld_check_button(
"storeRSID"))
1992 return std::make_unique<SwCompareOptionsTabPage>(pPage, pController, *rAttrSet);
2000 if(
m_xAutoRB->get_state_changed_from_saved() ||
2001 m_xWordRB->get_state_changed_from_saved() ||
2002 m_xCharRB->get_state_changed_from_saved() )
2014 if(
m_xRsidCB->get_state_changed_from_saved() )
2026 if(
m_xLenNF->get_value_changed_from_saved() )
2088 if (!rButton.get_active())
2091 bool bChecked = !m_xAutoRB->get_active();
2092 m_xRsidCB->set_sensitive( bChecked );
2093 m_xIgnoreCB->set_sensitive( bChecked );
2094 m_xLenNF->set_sensitive( bChecked && m_xIgnoreCB->get_active() );
2099 m_xLenNF->set_sensitive(m_xIgnoreCB->get_active());
2105 :
SfxTabPage(pPage, pController,
"modules/swriter/ui/opttestpage.ui",
"OptTestPage", &rCoreSet)
2106 , m_bAttrModified( false )
2107 , m_xTest1CBox(m_xBuilder->weld_check_button(
"unused"))
2108 , m_xTest2CBox(m_xBuilder->weld_check_button(
"dynamic"))
2109 , m_xTest3CBox(m_xBuilder->weld_check_button(
"nocalm"))
2110 , m_xTest4CBox(m_xBuilder->weld_check_button(
"wysiwygdbg"))
2111 , m_xTest5CBox(m_xBuilder->weld_check_button(
"noidle"))
2112 , m_xTest6CBox(m_xBuilder->weld_check_button(
"noscreenadj"))
2113 , m_xTest7CBox(m_xBuilder->weld_check_button(
"winformat"))
2114 , m_xTest8CBox(m_xBuilder->weld_check_button(
"noscroll"))
2115 , m_xTest9CBox(m_xBuilder->weld_check_button(
"DrawingLayerNotLoading"))
2116 , m_xTest10CBox(m_xBuilder->weld_check_button(
"AutoFormatByInput"))
2128 return std::make_unique<SwTestTabPage>(pPage, pController, *rAttrSet);
2147 rCoreSet->
Put(aTestItem);
2189 m_bAttrModified =
true;
@ MATH_BASELINE_ALIGNMENT
const LanguageTag & GetUILanguageTag() const
const StyleSettings & GetStyleSettings() const
static const AllSettings & GetSettings()
sal_uInt16 GetValue() const
Color const & GetSelectEntryColor() const
void Fill(const FontList *pList)
virtual SfxPrinter * getPrinter(bool bCreate) const =0
Return the printer set at the document.
virtual bool get(DocumentSettingId id) const =0
Return the specified document setting.
virtual void set(DocumentSettingId id, bool value)=0
Set the specified document setting.
LanguageType getLanguageType(bool bResolveSystem=true) const
void DrawRect(const tools::Rectangle &rRect)
static vcl::Font GetDefaultFont(DefaultFontType nType, LanguageType eLang, GetDefaultFontFlags nFlags, const OutputDevice *pOutDev=nullptr)
static const std::vector< OUString > & GetPrinterQueues()
void Invalidate(sal_uInt16 nId)
SfxItemPool * GetPool() const
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
const SfxPoolItem * GetItem(sal_uInt16 nWhich, bool bSearchInParent=true) const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
static SAL_WARN_UNUSED_RESULT SfxObjectShell * GetNext(const SfxObjectShell &rPrev, const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true)
static SAL_WARN_UNUSED_RESULT SfxObjectShell * GetFirst(const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true)
const SfxItemSet & GetItemSet() const
SfxOkDialogController * GetDialogController() const
const SfxPoolItem * GetOldItem(const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
SfxBindings & GetBindings()
SfxViewFrame & GetViewFrame() const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
const Color & GetWindowColor() const
bool GetHighContrastMode() const
const Color & GetShadowColor() const
static bool IsCTLFontEnabled()
sal_uInt32 GetHeight() const
const OUString & GetFamilyName() const
void SetPreviewText(const OUString &rString)
void SetColor(const Color &rColor)
void SetFont(const SvxFont &rNormalFont, const SvxFont &rCJKFont, const SvxFont &rCTLFont)
void SetCaseMap(const SvxCaseMap eNew)
std::unique_ptr< weld::ComboBox > m_xFaxLB
std::unique_ptr< weld::CheckButton > m_xLeftPageCB
SwAddPrinterTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
void SetPreview(bool bPrev)
void SetFax(const std::vector< OUString > &)
std::unique_ptr< weld::Widget > m_xPagesFrame
std::unique_ptr< weld::RadioButton > m_xOnlyRB
std::unique_ptr< weld::CheckButton > m_xProspectCB
std::unique_ptr< weld::CheckButton > m_xPaperFromSetupCB
std::unique_ptr< weld::CheckButton > m_xBackgroundCB
std::unique_ptr< weld::CheckButton > m_xRightPageCB
virtual ~SwAddPrinterTabPage() override
virtual bool FillItemSet(SfxItemSet *rSet) override
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
virtual void Reset(const SfxItemSet *rSet) override
std::unique_ptr< weld::Widget > m_xCommentsFrame
std::unique_ptr< weld::RadioButton > m_xEndPageRB
std::unique_ptr< weld::CheckButton > m_xPrintTextPlaceholderCB
std::unique_ptr< weld::RadioButton > m_xNoRB
std::unique_ptr< weld::RadioButton > m_xInMarginsRB
std::unique_ptr< weld::CheckButton > m_xProspectCB_RTL
virtual void PageCreated(const SfxAllItemSet &aSet) override
std::unique_ptr< weld::CheckButton > m_xCtrlFieldCB
std::unique_ptr< weld::CheckButton > m_xGrfCB
std::unique_ptr< weld::CheckButton > m_xPrintEmptyPagesCB
std::unique_ptr< weld::RadioButton > m_xEndRB
std::unique_ptr< weld::CheckButton > m_xBlackFontCB
std::unique_ptr< weld::CheckButton > m_xPrintHiddenTextCB
std::unique_ptr< weld::RadioButton > m_xAutoRB
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
virtual void Reset(const SfxItemSet *rSet) override
std::unique_ptr< weld::CheckButton > m_xRsidCB
std::unique_ptr< weld::RadioButton > m_xCharRB
virtual bool FillItemSet(SfxItemSet *rSet) override
std::unique_ptr< weld::RadioButton > m_xWordRB
virtual ~SwCompareOptionsTabPage() override
std::unique_ptr< weld::CheckButton > m_xIgnoreCB
SwCompareOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
std::unique_ptr< weld::CheckButton > m_xStoreRsidCB
std::unique_ptr< weld::SpinButton > m_xLenNF
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
std::unique_ptr< weld::CheckButton > m_xPostItCB
std::unique_ptr< weld::CheckButton > m_xGrfCB
std::unique_ptr< weld::CheckButton > m_xShowChangesInMargin
std::unique_ptr< weld::CheckButton > m_xVRulerCBox
std::unique_ptr< weld::ComboBox > m_xVMetric
std::unique_ptr< weld::CheckButton > m_xShowOutlineContentVisibilityButton
SwContentOptPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
virtual void Reset(const SfxItemSet *rSet) override
std::unique_ptr< weld::CheckButton > m_xFieldHiddenCB
std::unique_ptr< weld::Frame > m_xSettingsFrame
std::unique_ptr< weld::CheckButton > m_xDrwCB
std::unique_ptr< weld::CheckButton > m_xTreatSubOutlineLevelsAsContent
std::unique_ptr< weld::Label > m_xSettingsLabel
std::unique_ptr< weld::ComboBox > m_xHMetric
std::unique_ptr< weld::CheckButton > m_xCrossCB
std::unique_ptr< weld::CheckButton > m_xFieldHiddenParaCB
std::unique_ptr< weld::CheckButton > m_xVRulerRightCBox
std::unique_ptr< weld::ComboBox > m_xMetricLB
std::unique_ptr< weld::CheckButton > m_xShowInlineTooltips
virtual ~SwContentOptPage() override
std::unique_ptr< weld::Label > m_xMetricLabel
std::unique_ptr< weld::CheckButton > m_xTableCB
std::unique_ptr< weld::CheckButton > m_xSmoothCBox
virtual bool FillItemSet(SfxItemSet *rSet) override
Item for settings dialog - document view.
sal_Int32 m_xDefaultAnchor
SwWrtShell * GetWrtShell()
Access to the SwWrtShell belonging to SwView.
IDocumentSettingAccess const & getIDocumentSettingAccess() const
void StartAllAction()
For all views of this document.
void SetDefault(const SfxPoolItem &)
Set attribute as new default attribute in document.
void SetTableChgMode(TableChgMode eMode)
SwTextFormatColl * GetTextCollFromPool(sal_uInt16 nId)
void UpdateRedlineAttr()
Redline attributes have been changed. Updated views.
bool m_bShowChangesInMargin
bool m_bShowInlineTooltips
bool m_bTreatSubOutlineLevelsAsContent
bool m_bShowOutlineContentVisibilityButton
static sal_uInt32 Count()
static FieldUnit GetValue(sal_uInt32 i)
static OUString GetString(sal_uInt32 i)
void PaintPage(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
tools::Rectangle m_aRightPagePrtArea
virtual ~SwMarkPreview() override
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &) override
tools::Rectangle m_aLeftPagePrtArea
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
void SetPieceLen(sal_uInt16 nLen)
sal_uInt16 GetPieceLen() const
void SetInsTableChangeNumFormat(bool bHTML, bool b)
sal_uInt16 GetTableHInsert() const
TableChgMode GetTableMode() const
void SetInsTableAlignNum(bool bHTML, bool b)
void SetInsTableFormatNum(bool bHTML, bool b)
void SetMarkAlignColor(const Color &rColor)
void SetTableHMove(sal_uInt16 nSet)
void SetTableVMove(sal_uInt16 nSet)
sal_uInt16 GetTableVMove() const
void SetFormatAuthorAttr(AuthorCharAttr const &rAttr)
void SetTableVInsert(sal_uInt16 nSet)
void SetInsertAuthorAttr(AuthorCharAttr const &rAttr)
const Color & GetMarkAlignColor() const
sal_uInt16 GetTableHMove() const
SwCompareMode GetCompareMode() const
void SetCompareMode(SwCompareMode eMode)
void SetStoreRsid(bool bStoreRsid)
void SetInsTableFlags(bool bHTML, const SwInsertTableOptions &rOpts)
const AuthorCharAttr & GetFormatAuthorAttr() const
bool IsInsTableAlignNum(bool bHTML) const
const AuthorCharAttr & GetDeletedAuthorAttr() const
bool IsInsTableChangeNumFormat(bool bHTML) const
const SwInsertTableOptions & GetInsTableFlags(bool bHTML) const
const AuthorCharAttr & GetInsertAuthorAttr() const
void SetIgnorePieces(bool b)
void SetTableHInsert(sal_uInt16 nSet)
bool IsInsTableFormatNum(bool bHTML) const
void SetMarkAlignMode(sal_uInt16 nMode)
void SetTableMode(TableChgMode eSet)
sal_uInt16 GetTableVInsert() const
bool IsIgnorePieces() const
sal_uInt16 GetMarkAlignMode() const
void SetDeletedAuthorAttr(AuthorCharAttr const &rAttr)
bool m_bPrintEmptyPages
Print empty pages.
bool m_bPrintTextPlaceholder
bool m_bPrintPageBackground
SwPostItMode m_nPrintPostIts
virtual void Reset(const SfxItemSet *rSet) override
static void InitFontStyle(SvxFontPrevWindow &rExampleWin, const OUString &rText)
std::unique_ptr< weld::ComboBox > m_xInsertLB
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
std::unique_ptr< SvxFontPrevWindow > m_xInsertedPreviewWN
std::unique_ptr< weld::CustomWeld > m_xChangedPreview
std::unique_ptr< SwMarkPreview > m_xMarkPreviewWN
std::unique_ptr< ColorListBox > m_xChangedColorLB
virtual bool FillItemSet(SfxItemSet *rSet) override
SwRedlineOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
std::unique_ptr< ColorListBox > m_xMarkColorLB
std::unique_ptr< weld::ComboBox > m_xChangedLB
std::unique_ptr< weld::CustomWeld > m_xInsertedPreview
std::unique_ptr< weld::CustomWeld > m_xMarkPreview
std::unique_ptr< SvxFontPrevWindow > m_xDeletedPreviewWN
virtual ~SwRedlineOptionsTabPage() override
std::unique_ptr< SvxFontPrevWindow > m_xChangedPreviewWN
std::unique_ptr< weld::CustomWeld > m_xDeletedPreview
std::unique_ptr< ColorListBox > m_xDeletedColorLB
std::unique_ptr< weld::ComboBox > m_xMarkPosLB
std::unique_ptr< weld::ComboBox > m_xDeletedLB
std::unique_ptr< ColorListBox > m_xInsertColorLB
Item for settings dialog, ShadowCursorPage.
void SetMode(SwFillMode eM)
std::unique_ptr< weld::CheckButton > m_xParaCB
virtual ~SwShdwCursorOptionsTabPage() override
virtual void Reset(const SfxItemSet *rSet) override
std::unique_ptr< weld::Frame > m_xImageFrame
std::unique_ptr< weld::CheckButton > m_xSpacesCB
std::unique_ptr< weld::Frame > m_xCursorProtFrame
virtual bool FillItemSet(SfxItemSet *rSet) override
std::unique_ptr< weld::Label > m_xBookmarkLabel
std::unique_ptr< weld::ComboBox > m_xDirectCursorFillMode
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
std::unique_ptr< weld::CheckButton > m_xMathBaselineAlignmentCB
std::unique_ptr< weld::CheckButton > m_xCursorInProtCB
std::unique_ptr< weld::ComboBox > m_xDefaultAnchorType
virtual void PageCreated(const SfxAllItemSet &aSet) override
std::unique_ptr< weld::Frame > m_xDirectCursorFrame
std::unique_ptr< weld::CheckButton > m_xCharHiddenCB
std::unique_ptr< weld::CheckButton > m_xHSpacesCB
std::unique_ptr< weld::CheckButton > m_xTabCB
std::unique_ptr< weld::CheckButton > m_xBreakCB
std::unique_ptr< weld::Label > m_xTabLabel
std::unique_ptr< weld::CheckButton > m_xOnOffCB
SwShdwCursorOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
std::unique_ptr< weld::CheckButton > m_xSHyphCB
std::unique_ptr< weld::CheckButton > m_xBookmarkCB
sal_Int32 GetFontHeight(sal_uInt8 nFont, sal_uInt8 nScriptType, LanguageType eLang)
const OUString & GetFontOutline(sal_uInt8 nFontGroup) const
void SetFontHeight(sal_Int32 nHeight, sal_uInt8 nFont, sal_uInt8 nScriptType)
const OUString & GetFontCaption(sal_uInt8 nFontGroup) const
void SetFontOutline(const OUString &rSet, sal_uInt8 nFontGroup)
const OUString & GetFontList(sal_uInt8 nFontGroup) const
void SetFontList(const OUString &rSet, sal_uInt8 nFontGroup)
static OUString GetDefaultFor(sal_uInt16 nFontType, LanguageType eLang)
void SetFontStandard(const OUString &rSet, sal_uInt8 nFontGroup)
void SetFontIndex(const OUString &rSet, sal_uInt8 nFontGroup)
static sal_Int32 GetDefaultHeightFor(sal_uInt16 nFontType, LanguageType eLang)
const OUString & GetFontStandard(sal_uInt8 nFontGroup) const
const OUString & GetFontIndex(sal_uInt8 nFontGroup) const
void SetFontCaption(const OUString &rSet, sal_uInt8 nFontGroup)
SwStdFontConfig * m_pFontConfig
std::unique_ptr< weld::Label > m_xLabelFT
VclPtr< SfxPrinter > m_pPrt
virtual void Reset(const SfxItemSet *rSet) override
std::unique_ptr< FontSizeBox > m_xTitleHeightLB
virtual bool FillItemSet(SfxItemSet *rSet) override
std::unique_ptr< weld::ComboBox > m_xTitleBox
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
OUString m_sScriptComplex
virtual ~SwStdFontTabPage() override
std::unique_ptr< weld::ComboBox > m_xListBox
std::unique_ptr< weld::Button > m_xStandardPB
std::unique_ptr< weld::ComboBox > m_xStandardBox
std::unique_ptr< FontSizeBox > m_xListHeightLB
std::unique_ptr< FontList > m_pFontList
virtual void PageCreated(const SfxAllItemSet &aSet) override
std::unique_ptr< FontSizeBox > m_xLabelHeightLB
std::unique_ptr< FontSizeBox > m_xIndexHeightLB
SwStdFontTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
std::unique_ptr< weld::ComboBox > m_xLabelBox
std::unique_ptr< FontSizeBox > m_xStandardHeightLB
std::unique_ptr< weld::ComboBox > m_xIdxBox
OUString m_sScriptWestern
std::unique_ptr< weld::CheckButton > m_xHeaderCB
std::unique_ptr< weld::MetricSpinButton > m_xColInsertMF
virtual ~SwTableOptionsTabPage() override
std::unique_ptr< weld::MetricSpinButton > m_xRowMoveMF
std::unique_ptr< weld::RadioButton > m_xVarRB
virtual void PageCreated(const SfxAllItemSet &aSet) override
std::unique_ptr< weld::CheckButton > m_xNumFormattingCB
SwTableOptionsTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
std::unique_ptr< weld::MetricSpinButton > m_xRowInsertMF
virtual void Reset(const SfxItemSet *rSet) override
std::unique_ptr< weld::CheckButton > m_xRepeatHeaderCB
std::unique_ptr< weld::CheckButton > m_xNumFormatFormattingCB
std::unique_ptr< weld::RadioButton > m_xFixPropRB
std::unique_ptr< weld::CheckButton > m_xDontSplitCB
std::unique_ptr< weld::CheckButton > m_xNumAlignmentCB
virtual bool FillItemSet(SfxItemSet *rSet) override
std::unique_ptr< weld::MetricSpinButton > m_xColMoveMF
std::unique_ptr< weld::CheckButton > m_xBorderCB
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
std::unique_ptr< weld::RadioButton > m_xFixRB
virtual void Reset(const SfxItemSet *rSet) override
std::unique_ptr< weld::CheckButton > m_xTest5CBox
std::unique_ptr< weld::CheckButton > m_xTest8CBox
std::unique_ptr< weld::CheckButton > m_xTest9CBox
std::unique_ptr< weld::CheckButton > m_xTest2CBox
std::unique_ptr< weld::CheckButton > m_xTest6CBox
virtual bool FillItemSet(SfxItemSet *rSet) override
std::unique_ptr< weld::CheckButton > m_xTest10CBox
std::unique_ptr< weld::CheckButton > m_xTest3CBox
std::unique_ptr< weld::CheckButton > m_xTest7CBox
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
SwTestTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
std::unique_ptr< weld::CheckButton > m_xTest4CBox
std::unique_ptr< weld::CheckButton > m_xTest1CBox
virtual ~SwTestTabPage() override
Represents the style of a paragraph.
virtual bool ResetFormatAttr(sal_uInt16 nWhich1, sal_uInt16 nWhich2=0) override
virtual bool SetFormatAttr(const SfxPoolItem &rAttr) override
Override to recognize changes on the <SwNumRuleItem> and register/unregister the paragragh style at t...
const Color & GetFontColor() const
static const SwViewOption & GetCurrentViewOptions()
const IDocumentDeviceAccess & getIDocumentDeviceAccess() const
Provides access to the document device interface.
SwWrtShell * GetValue() const
Used by the UI to modify the document model.
SelectionType GetSelectionType() const
const SwView & GetView() const
static VclPtr< reference_type > Create(Arg &&... arg)
void SetFontSize(const Size &)
FontFamily GetFamilyType()
void SetFillColor(const Color &)
void SetWeight(FontWeight)
const OUString & GetFamilyName() const
rtl_TextEncoding GetCharSet() const
virtual OUString get_id(int pos) const=0
virtual void set_id(int row, const OUString &rId)=0
virtual void set_active(int pos)=0
virtual int get_active() const=0
virtual int get_count() const=0
virtual OutputDevice & get_ref_device()=0
#define FN_VSCROLL_METRIC
#define FN_TABLE_MODE_FIX_PROP
#define FN_PARAM_SHADOWCURSOR
#define FN_TABLE_MODE_VARIABLE
#define FN_PARAM_STDFONTS
#define FN_PARAM_ADDPRINTER
#define FN_PARAM_WRTSHELL
#define FN_HSCROLL_METRIC
#define FN_TABLE_MODE_FIX
#define FN_PARAM_CRSR_IN_PROTECTED
constexpr ::Color COL_LIGHTRED(0xFF, 0x00, 0x00)
constexpr ::Color COL_GRAY(0x80, 0x80, 0x80)
constexpr ::Color COL_RED(0x80, 0x00, 0x00)
constexpr ::Color COL_LIGHTGRAY(0xC0, 0xC0, 0xC0)
constexpr ::Color COL_BLACK(0x00, 0x00, 0x00)
constexpr ::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
@ Tab
default, fill with tabs
Size SFX2_DLLPUBLIC getPreviewOptionsSize(const OutputDevice &rReference)
#define FONT_GROUP_DEFAULT
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CTL_FONTSIZE(28)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_FONTSIZE(8)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CJK_FONTSIZE(23)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CTL_FONT(27)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
LanguageType GetAppLanguage()
#define LINK(Instance, Class, Member)
#define SAL_N_ELEMENTS(arr)
bool IsVerticalTextEnabled()
OUString toId(const void *pValue)
IMPL_LINK(SwContentOptPage, VertRulerHdl, weld::Toggleable &, rBox, void)
CharAttr const aRedlineAttr[]
static void lcl_SetColl(SwWrtShell *pWrtShell, sal_uInt16 nType, SfxPrinter const *pPrt, const OUString &rStyle, sal_uInt16 nFontWhich)
static void lcl_SelectMetricLB(weld::ComboBox &rMetric, TypedWhichId< SfxUInt16Item > nSID, const SfxItemSet &rSet)
static sal_uInt16 aDeletedAttrMap[]
static sal_uInt16 aInsertAttrMap[]
static sal_uInt16 aChangedAttrMap[]
IMPL_LINK_NOARG(SwAddPrinterTabPage, AutoClickHdl, weld::Toggleable &, void)
@ RES_POOLCOLL_STANDARD
Standard.
@ RES_POOLCOLL_REGISTER_BASE
Base index.
@ RES_POOLCOLL_LABEL
Subgroup labels.
@ RES_POOLCOLL_NUMBER_BULLET_BASE
Base list.
@ RES_POOLCOLL_HEADLINE_BASE
Subgroup headings.
sal_uInt16 mnRowsToRepeat
SwInsertTableFlags mnInsMode
OUString SwResId(TranslateId aId)
SVT_DLLPUBLIC tools::Long CalcToPoint(tools::Long nIn, MapUnit eUnit, sal_uInt16 nFactor)
SVT_DLLPUBLIC tools::Long CalcToUnit(float nIn, MapUnit eUnit)