case SID_HELPLINES_VISIBLE: // not here yet!
{ if ( GetDoc()->GetDocumentType() == DocumentType::Impress )
officecfg::Office::Impress::Layout::Display::Helpline::set(!mpDrawView->IsHlplVisible(), batch); else
officecfg::Office::Draw::Layout::Display::Helpline::set(!mpDrawView->IsHlplVisible(), batch);
} break;
case SID_HELPLINES_USE:
{ if (GetDoc()->GetDocumentType() == DocumentType::Impress)
officecfg::Office::Impress::Snap::Object::SnapLine::set(!mpDrawView->IsHlplSnap(), batch); else
officecfg::Office::Draw::Snap::Object::SnapLine::set(!mpDrawView->IsHlplSnap(), batch);
} break;
case SID_HELPLINES_MOVE:
{ if ( GetDoc()->GetDocumentType() == DocumentType::Impress )
officecfg::Office::Impress::Layout::Display::Guide::set(!mpDrawView->IsDragStripes(), batch); else
officecfg::Office::Draw::Layout::Display::Guide::set(!mpDrawView->IsDragStripes(), batch);
} break;
case SID_SNAP_BORDER:
{ if ( GetDoc()->GetDocumentType() == DocumentType::Impress )
officecfg::Office::Impress::Snap::Object::PageMargin::set( !mpDrawView->IsBordSnap(), batch ); else
officecfg::Office::Draw::Snap::Object::PageMargin::set( !mpDrawView->IsBordSnap(), batch );
} break;
case SID_SNAP_FRAME:
{ if ( GetDoc()->GetDocumentType() == DocumentType::Impress )
officecfg::Office::Impress::Snap::Object::ObjectFrame::set(!mpDrawView->IsOFrmSnap(), batch); else
officecfg::Office::Draw::Snap::Object::ObjectFrame::set(!mpDrawView->IsOFrmSnap(), batch);
} break;
case SID_SNAP_POINTS:
{ if ( GetDoc()->GetDocumentType() == DocumentType::Impress )
officecfg::Office::Impress::Snap::Object::ObjectPoint::set( !mpDrawView->IsOPntSnap(), batch ); else
officecfg::Office::Draw::Snap::Object::ObjectPoint::set( !mpDrawView->IsOPntSnap(), batch );
} break;
case SID_QUICKEDIT:
{
pOptions->SetQuickEdit( !mpDrawView->IsQuickTextEditMode() );
} break;
case SID_PICK_THROUGH:
{
pOptions->SetPickThrough(
!mpDrawView->GetModel().IsPickThroughTransparentTextFrames() );
} break;
case SID_DOUBLECLICK_TEXTEDIT:
{
pOptions->SetDoubleClickTextEdit( !mpFrameView->IsDoubleClickTextEdit() );
} break;
case SID_CLICK_CHANGE_ROTATION:
{
pOptions->SetClickChangeRotation( !mpFrameView->IsClickChangeRotation() );
} break;
default:
bDefault = true; break;
}
if( bDefault ) return;
batch->commit();
pOptions->StoreConfig();
// Saves the configuration IMMEDIATELY // SfxGetpApp()->SaveConfiguration();
WriteFrameViewData();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.