Files
community/Ink Canvas/Windows/SettingsViews/Pages/PPTPage.xaml
T
PrefacedCorg b949b1651a add:新设置
2026-04-23 06:48:52 +08:00

170 lines
10 KiB
XML

<ui:Page x:Class="Ink_Canvas.Windows.SettingsViews.Pages.PPTPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Ink_Canvas.Windows.SettingsViews.Pages"
xmlns:helpers="clr-namespace:Ink_Canvas.Windows.SettingsViews.Helpers"
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf"
xmlns:i18n="clr-namespace:Ink_Canvas.MarkupExtensions"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:controls="clr-namespace:Ink_Canvas.Controls;assembly=InkCanvas.Controls"
xmlns:c="clr-namespace:Ink_Canvas.Converter"
mc:Ignorable="d"
Title="PPT">
<ScrollViewer PanningMode="VerticalFirst">
<Grid Margin="59,0,59,0">
<FrameworkElement.Resources>
<sys:Double x:Key="SettingsCardSpacing">4</sys:Double>
<Style x:Key="SettingsSectionHeaderTextBlockStyle"
BasedOn="{StaticResource BodyStrongTextBlockStyle}"
TargetType="TextBlock">
<Style.Setters>
<Setter Property="Margin" Value="1,30,0,6" />
</Style.Setters>
</Style>
</FrameworkElement.Resources>
<Grid>
<ikw:SimpleStackPanel MaxWidth="1000"
HorizontalAlignment="Stretch"
Spacing="{StaticResource SettingsCardSpacing}">
<TextBlock Style="{StaticResource SettingsSectionHeaderTextBlockStyle}"
Text="PPT 支持" />
<controls:LabeledSettingsCard x:Name="CardSupportPowerPoint"
Header="{i18n:I18n Key=PPT_SupportPowerPoint}"
Icon="{x:Static ui:SegoeFluentIcons.Document}"
SwitchName="ToggleSwitchSupportPowerPoint"
Toggled="ToggleSwitchSupportPowerPoint_Toggled" />
<controls:LabeledSettingsCard x:Name="CardPowerPointEnhancement"
Header="{i18n:I18n Key=PPT_Enhancement}"
Icon="{x:Static ui:SegoeFluentIcons.Lightbulb}"
SwitchName="ToggleSwitchPowerPointEnhancement"
Toggled="ToggleSwitchPowerPointEnhancement_Toggled" />
<controls:LabeledSettingsCard x:Name="CardSkipAnimationsWhenGoNext"
Header="{i18n:I18n Key=PPT_SkipAnimations}"
Icon="{x:Static ui:SegoeFluentIcons.FastForward}"
SwitchName="ToggleSwitchSkipAnimationsWhenGoNext"
Toggled="ToggleSwitchSkipAnimationsWhenGoNext_Toggled" />
<controls:LabeledSettingsCard x:Name="CardUseRotPptLink"
Header="{i18n:I18n Key=PPT_UseRotPptLink}"
Icon="{x:Static ui:SegoeFluentIcons.Link}"
SwitchName="ToggleSwitchUseRotPptLink"
Toggled="ToggleSwitchUseRotPptLink_Toggled" />
<controls:LabeledSettingsCard x:Name="CardSupportWPS"
Header="{i18n:I18n Key=PPT_SupportWPS}"
Icon="{x:Static ui:SegoeFluentIcons.Document}"
SwitchName="ToggleSwitchSupportWPS"
Toggled="ToggleSwitchSupportWPS_Toggled" />
<controls:LabeledSettingsCard x:Name="CardEnableWppProcessKill"
Header="{i18n:I18n Key=PPT_EnableWppProcessKill}"
Icon="{x:Static ui:SegoeFluentIcons.Cancel}"
SwitchName="ToggleSwitchEnableWppProcessKill"
Toggled="ToggleSwitchEnableWppProcessKill_Toggled" />
<TextBlock Style="{StaticResource SettingsSectionHeaderTextBlockStyle}"
Text="PPT 翻页按钮" />
<controls:LabeledSettingsCard x:Name="CardShowPPTButton"
Header="{i18n:I18n Key=PPT_ShowPPTButton}"
Icon="{x:Static ui:SegoeFluentIcons.OpenPane}"
SwitchName="ToggleSwitchShowPPTButton"
Toggled="ToggleSwitchShowPPTButton_Toggled" />
<controls:LabeledSettingsCard x:Name="CardEnablePPTButtonPageClickable"
Header="{i18n:I18n Key=PPT_EnablePageClickable}"
Icon="{x:Static ui:SegoeFluentIcons.Touch}"
SwitchName="ToggleSwitchEnablePPTButtonPageClickable"
Toggled="ToggleSwitchEnablePPTButtonPageClickable_Toggled" />
<controls:LabeledSettingsCard x:Name="CardEnablePPTButtonLongPressPageTurn"
Header="{i18n:I18n Key=PPT_EnableLongPressPageTurn}"
Icon="{x:Static ui:SegoeFluentIcons.Touch}"
SwitchName="ToggleSwitchEnablePPTButtonLongPressPageTurn"
Toggled="ToggleSwitchEnablePPTButtonLongPressPageTurn_Toggled" />
<controls:LabeledSettingsCard x:Name="CardShowPPTSidebarByDefault"
Header="{i18n:I18n Key=PPT_ShowSidebarByDefault}"
Icon="{x:Static ui:SegoeFluentIcons.OpenPane}"
SwitchName="ToggleSwitchShowPPTSidebarByDefault"
Toggled="ToggleSwitchShowPPTSidebarByDefault_Toggled" />
<TextBlock Style="{StaticResource SettingsSectionHeaderTextBlockStyle}"
Text="PPT 演示设置" />
<controls:LabeledSettingsCard x:Name="CardShowCanvasAtNewSlideShow"
Header="{i18n:I18n Key=PPT_ShowCanvasAtNewSlideShow}"
Icon="{x:Static ui:SegoeFluentIcons.Edit}"
SwitchName="ToggleSwitchShowCanvasAtNewSlideShow"
Toggled="ToggleSwitchShowCanvasAtNewSlideShow_Toggled" />
<controls:LabeledSettingsCard x:Name="CardEnableTwoFingerGestureInPresentationMode"
Header="{i18n:I18n Key=PPT_EnableTwoFingerGesture}"
Icon="{x:Static ui:SegoeFluentIcons.Touch}"
SwitchName="ToggleSwitchEnableTwoFingerGestureInPresentationMode"
Toggled="ToggleSwitchEnableTwoFingerGestureInPresentationMode_Toggled" />
<controls:LabeledSettingsCard x:Name="CardEnableFingerGestureSlideShowControl"
Header="{i18n:I18n Key=PPT_EnableFingerGestureControl}"
Icon="{x:Static ui:SegoeFluentIcons.Handwriting}"
SwitchName="ToggleSwitchEnableFingerGestureSlideShowControl"
Toggled="ToggleSwitchEnableFingerGestureSlideShowControl_Toggled" />
<controls:LabeledSettingsCard x:Name="CardEnablePPTTimeCapsule"
Header="{i18n:I18n Key=PPT_EnableTimeCapsule}"
Icon="{x:Static ui:SegoeFluentIcons.DateTime}"
SwitchName="ToggleSwitchEnablePPTTimeCapsule"
Toggled="ToggleSwitchEnablePPTTimeCapsule_Toggled" />
<controls:LabeledSettingsCard x:Name="CardAutoSaveScreenShotInPowerPoint"
Header="{i18n:I18n Key=PPT_AutoSaveScreenshot}"
Icon="{x:Static ui:SegoeFluentIcons.Save}"
SwitchName="ToggleSwitchAutoSaveScreenShotInPowerPoint"
Toggled="ToggleSwitchAutoSaveScreenShotInPowerPoint_Toggled" />
<controls:LabeledSettingsCard x:Name="CardAutoSaveStrokesInPowerPoint"
Header="{i18n:I18n Key=PPT_AutoSaveStrokes}"
Icon="{x:Static ui:SegoeFluentIcons.SaveLocal}"
SwitchName="ToggleSwitchAutoSaveStrokesInPowerPoint"
Toggled="ToggleSwitchAutoSaveStrokesInPowerPoint_Toggled" />
<controls:LabeledSettingsCard x:Name="CardNotifyPreviousPage"
Header="{i18n:I18n Key=PPT_NotifyPreviousPage}"
Icon="{x:Static ui:SegoeFluentIcons.Previous}"
SwitchName="ToggleSwitchNotifyPreviousPage"
Toggled="ToggleSwitchNotifyPreviousPage_Toggled" />
<controls:LabeledSettingsCard x:Name="CardAlwaysGoToFirstPageOnReenter"
Header="{i18n:I18n Key=PPT_AlwaysGoToFirstPage}"
Icon="{x:Static ui:SegoeFluentIcons.Rewind}"
SwitchName="ToggleSwitchAlwaysGoToFirstPageOnReenter"
Toggled="ToggleSwitchAlwaysGoToFirstPageOnReenter_Toggled" />
<controls:LabeledSettingsCard x:Name="CardNotifyHiddenPage"
Header="{i18n:I18n Key=PPT_NotifyHiddenPage}"
Icon="{x:Static ui:SegoeFluentIcons.Hide}"
SwitchName="ToggleSwitchNotifyHiddenPage"
Toggled="ToggleSwitchNotifyHiddenPage_Toggled" />
<controls:LabeledSettingsCard x:Name="CardNotifyAutoPlayPresentation"
Header="{i18n:I18n Key=PPT_NotifyAutoPlay}"
Icon="{x:Static ui:SegoeFluentIcons.Play}"
SwitchName="ToggleSwitchNotifyAutoPlayPresentation"
Toggled="ToggleSwitchNotifyAutoPlayPresentation_Toggled" />
<Rectangle Height="48" />
</ikw:SimpleStackPanel>
</Grid>
</Grid>
</ScrollViewer>
</ui:Page>