WIP: Add iOS version #10

Draft
Deadpikle wants to merge 67 commits from feature/ios into main
2 changed files with 17 additions and 11 deletions
Showing only changes of commit b0c897bef9 - Show all commits
+1 -1
View File
@@ -10,7 +10,7 @@
-this sort of works, something is wrong with the upgrade process where the UUID is not brought over properly; need to test and fix (maybe fixed already and my dataset is wrong?) -this sort of works, something is wrong with the upgrade process where the UUID is not brought over properly; need to test and fix (maybe fixed already and my dataset is wrong?)
*-add dropdown to Add Items button to have add items from folder and remove choose working folder option (data always saved internally) *-add dropdown to Add Items button to have add items from folder and remove choose working folder option (data always saved internally)
-not going to do this; they can always select multiple items from the current picker -not going to do this; they can always select multiple items from the current picker
-Now that the BaseFolder is always internal...update options for PDF output location *-Now that the BaseFolder is always internal...update options for PDF output location
-output in internal dir (default) -output in internal dir (default)
-always ask me every time (opens save file picker after generating PDF to ask user where they want it) -always ask me every time (opens save file picker after generating PDF to ask user where they want it)
-always put in X folder (uses existing option) -always put in X folder (uses existing option)
+16 -10
View File
@@ -37,22 +37,28 @@
HorizontalAlignment="Left" HorizontalAlignment="Left"
Margin="0,0,0,4" /> Margin="0,0,0,4" />
<CheckBox IsChecked="{Binding !UseDocnetPDFImageRendering}">Use legacy PDF handling (does not work with macOS annotations)</CheckBox> <CheckBox IsChecked="{Binding !UseDocnetPDFImageRendering}">Use legacy PDF handling (does not work with macOS annotations)</CheckBox>
<StackPanel Spacing="0"> <StackPanel Spacing="4">
<Label HorizontalAlignment="Left"> <Label HorizontalAlignment="Left">
Save created PDF Report in the following location: Save created PDF Report in the following location:
</Label> </Label>
<RadioButton Content="MayShow application directory" <RadioButton IsChecked="{Binding PDFOutputSaveLocation,
IsChecked="{Binding PDFOutputSaveLocation,
Converter={StaticResource EnumToBoolConverter}, Converter={StaticResource EnumToBoolConverter},
ConverterParameter={x:Static enums:PDFSaveLocation.BaseFolder}}" /> ConverterParameter={x:Static enums:PDFSaveLocation.BaseFolder}}">
<RadioButton Content="Ask me where to save the PDF file every time" <TextBlock TextWrapping="Wrap"
IsChecked="{Binding PDFOutputSaveLocation, Text="MayShow application directory (uses report title as file name)"/>
</RadioButton>
<RadioButton IsChecked="{Binding PDFOutputSaveLocation,
Converter={StaticResource EnumToBoolConverter}, Converter={StaticResource EnumToBoolConverter},
ConverterParameter={x:Static enums:PDFSaveLocation.AlwaysAsk}}" /> ConverterParameter={x:Static enums:PDFSaveLocation.AlwaysAsk}}">
<RadioButton Content="Always save PDF file in the same folder of my choice" <TextBlock TextWrapping="Wrap"
IsChecked="{Binding PDFOutputSaveLocation, Text="Ask me where and with what file name I want to save the PDF file every time"/>
</RadioButton>
<RadioButton IsChecked="{Binding PDFOutputSaveLocation,
Converter={StaticResource EnumToBoolConverter}, Converter={StaticResource EnumToBoolConverter},
ConverterParameter={x:Static enums:PDFSaveLocation.OtherChosenDir}}" /> ConverterParameter={x:Static enums:PDFSaveLocation.OtherChosenDir}}">
<TextBlock TextWrapping="Wrap"
Text="Always save PDF file in the same folder of my choice (uses report title as file name)"/>
</RadioButton>
</StackPanel> </StackPanel>
<Grid ColumnDefinitions="Auto, *" <Grid ColumnDefinitions="Auto, *"
IsVisible="{Binding SaveOutputPdfInChosenDir}"> IsVisible="{Binding SaveOutputPdfInChosenDir}">