diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2014-04-18 22:47:46 -0700 |
---|---|---|
committer | Michael Vrhel <michael.vrhel@artifex.com> | 2014-09-09 16:39:34 -0700 |
commit | 154922fa139a31768338eabcf87aa74871e85ece (patch) | |
tree | 4ccd0ac6fee4c495ff8461577d5062cb33492a66 /platform/winrt/gsview | |
parent | 75679d3ed3896ac44d6e804345404bc19a8b98c7 (diff) | |
download | mupdf-154922fa139a31768338eabcf87aa74871e85ece.tar.xz |
UI set up for additional features.
Diffstat (limited to 'platform/winrt/gsview')
-rw-r--r-- | platform/winrt/gsview/MainWindow.xaml | 6 | ||||
-rw-r--r-- | platform/winrt/gsview/MainWindow.xaml.cs | 23 |
2 files changed, 27 insertions, 2 deletions
diff --git a/platform/winrt/gsview/MainWindow.xaml b/platform/winrt/gsview/MainWindow.xaml index 2ce168b2..cfd02b29 100644 --- a/platform/winrt/gsview/MainWindow.xaml +++ b/platform/winrt/gsview/MainWindow.xaml @@ -156,6 +156,7 @@ <MenuItem Header="PWG" Click="SavePWG"/> <MenuItem Header="PNM" Click="SavePNM"/> <MenuItem Header="TEXT" Click="SaveText"/> + <MenuItem Header="HTML" Click="SaveHTML"/> </MenuItem> <MenuItem Header="_Close" > <MenuItem.Icon> @@ -197,6 +198,7 @@ </MenuItem> </MenuItem> <MenuItem Header="_Edit" > + <MenuItem Header="Extract PDF Pages" Click="ExtractPages"/> <MenuItem Header="Copy Page" Click="CopyPage"> <MenuItem.Icon> <Image Source="Resources/copy.ico" /> @@ -230,8 +232,8 @@ <MenuItem Header="Zoom Control" IsCheckable="true" Checked="ShowFooter" Unchecked="HideFooter"/> </MenuItem> - <MenuItem Header="_Help" /> - <MenuItem Header="About"/> + <MenuItem Header="_Help" Click="OnHelpClick"/> + <MenuItem Header="About" Click="OnAboutClick"/> </Menu> <!-- List of icons for page navigation, print, etc --> diff --git a/platform/winrt/gsview/MainWindow.xaml.cs b/platform/winrt/gsview/MainWindow.xaml.cs index 8b953f9c..d8dee6ef 100644 --- a/platform/winrt/gsview/MainWindow.xaml.cs +++ b/platform/winrt/gsview/MainWindow.xaml.cs @@ -1706,10 +1706,17 @@ namespace gsview { SaveFile(Save_Type_t.TEXT); } + + private void SaveHTML(object sender, RoutedEventArgs e) + { + + } + private void SavePDF13(object sender, RoutedEventArgs e) { SaveFile(Save_Type_t.PDF13); } + private void SavePDFX3_Gray(object sender, RoutedEventArgs e) { if (m_outputintents.gray_icc == null) @@ -1719,6 +1726,7 @@ namespace gsview } SaveFile(Save_Type_t.PDFX3_GRAY); } + private void SavePDFX3_CMYK(object sender, RoutedEventArgs e) { if (m_outputintents.cmyk_icc == null) @@ -1728,6 +1736,7 @@ namespace gsview } SaveFile(Save_Type_t.PDFX3_CMYK); } + private void SavePDFA1_RGB(object sender, RoutedEventArgs e) { if (m_outputintents.rgb_icc == null) @@ -3404,5 +3413,19 @@ namespace gsview */ #endregion TextSelection + private void OnAboutClick(object sender, RoutedEventArgs e) + { + + } + + private void OnHelpClick(object sender, RoutedEventArgs e) + { + + } + + private void ExtractPages(object sender, RoutedEventArgs e) + { + + } } }
\ No newline at end of file |