diff --git a/FormFields/Export&ImportFormFields/App.config b/FormFields/Export&ImportFormFields/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/FormFields/Export&ImportFormFields/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/FormFields/Export&ImportFormFields/App.xaml b/FormFields/Export&ImportFormFields/App.xaml new file mode 100644 index 0000000..bb92315 --- /dev/null +++ b/FormFields/Export&ImportFormFields/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/FormFields/Export&ImportFormFields/App.xaml.cs b/FormFields/Export&ImportFormFields/App.xaml.cs new file mode 100644 index 0000000..d28730e --- /dev/null +++ b/FormFields/Export&ImportFormFields/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace Export_ImportFormFields +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/FormFields/Export&ImportFormFields/Export&ImportFormFields.csproj b/FormFields/Export&ImportFormFields/Export&ImportFormFields.csproj new file mode 100644 index 0000000..ac68c29 --- /dev/null +++ b/FormFields/Export&ImportFormFields/Export&ImportFormFields.csproj @@ -0,0 +1,27 @@ + + + WinExe + Export_ImportFormFields + Export&ImportFormFields + + + + + + + + + + + + + + + 4.0 + + + + + + + \ No newline at end of file diff --git a/FormFields/Export&ImportFormFields/Export&ImportFormFields.sln b/FormFields/Export&ImportFormFields/Export&ImportFormFields.sln new file mode 100644 index 0000000..5000c00 --- /dev/null +++ b/FormFields/Export&ImportFormFields/Export&ImportFormFields.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.14.36119.2 d17.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Export&ImportFormFields", "Export&ImportFormFields.csproj", "{C365A46E-5AF8-436E-A969-FBB028690E16}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C365A46E-5AF8-436E-A969-FBB028690E16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C365A46E-5AF8-436E-A969-FBB028690E16}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C365A46E-5AF8-436E-A969-FBB028690E16}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C365A46E-5AF8-436E-A969-FBB028690E16}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {8C21E232-1D66-45CB-B197-6D07AB54913D} + EndGlobalSection +EndGlobal diff --git a/FormFields/Export&ImportFormFields/FormFillingDocument.pdf b/FormFields/Export&ImportFormFields/FormFillingDocument.pdf new file mode 100644 index 0000000..a3346fd Binary files /dev/null and b/FormFields/Export&ImportFormFields/FormFillingDocument.pdf differ diff --git a/FormFields/Export&ImportFormFields/MainWindow.xaml b/FormFields/Export&ImportFormFields/MainWindow.xaml new file mode 100644 index 0000000..bf2c81d --- /dev/null +++ b/FormFields/Export&ImportFormFields/MainWindow.xaml @@ -0,0 +1,58 @@ + + + + + + + + + + + + + FDF + + + XFDF + + + + + + + + + + + + + + + diff --git a/FormFields/Export&ImportFormFields/MainWindow.xaml.cs b/FormFields/Export&ImportFormFields/MainWindow.xaml.cs new file mode 100644 index 0000000..598f2a9 --- /dev/null +++ b/FormFields/Export&ImportFormFields/MainWindow.xaml.cs @@ -0,0 +1,55 @@ +using System.Windows; + +namespace Export_ImportFormFields +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + string filePath = "../../../FormFillingDocument.pdf"; + public MainWindow() + { + InitializeComponent(); + pdfViewer.Load(filePath); + } + private void ImportButton_Click(object sender, RoutedEventArgs e) + { + Microsoft.Win32.OpenFileDialog openFileDlg = new Microsoft.Win32.OpenFileDialog(); + if (fdfRadioButton.IsChecked.Value) + openFileDlg.Filter = "FDF Documents|*.fdf"; + else + openFileDlg.Filter = "XFDF Documents|*.xfdf"; + if (openFileDlg.ShowDialog().Value) + { + Syncfusion.Pdf.Parsing.DataFormat dataFormat; + if (fdfRadioButton.IsChecked.Value) + dataFormat = Syncfusion.Pdf.Parsing.DataFormat.Fdf; + else + dataFormat = Syncfusion.Pdf.Parsing.DataFormat.XFdf; + //Import PDF form data + pdfViewer.ImportFormData(openFileDlg.FileName, dataFormat); + } + } + + private void ExportButton_Click(object sender, RoutedEventArgs e) + { + pdfViewer.Save("Modified.pdf"); + Microsoft.Win32.SaveFileDialog saveFileDlg = new Microsoft.Win32.SaveFileDialog(); + if (fdfRadioButton.IsChecked.Value) + saveFileDlg.Filter = "FDF Documents|*.fdf"; + else + saveFileDlg.Filter = "XFDF Documents|*.xfdf"; + if (saveFileDlg.ShowDialog().Value) + { + Syncfusion.Pdf.Parsing.DataFormat dataFormat; + if (fdfRadioButton.IsChecked.Value) + dataFormat = Syncfusion.Pdf.Parsing.DataFormat.Fdf; + else + dataFormat = Syncfusion.Pdf.Parsing.DataFormat.XFdf; + //Export PDF form data + pdfViewer.ExportFormData(saveFileDlg.FileName, dataFormat, "Modified.pdf"); + } + } + } +} diff --git a/FormFields/Export&ImportFormFields/Properties/AssemblyInfo.cs b/FormFields/Export&ImportFormFields/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8745ea7 --- /dev/null +++ b/FormFields/Export&ImportFormFields/Properties/AssemblyInfo.cs @@ -0,0 +1,52 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Export&ImportFormFields")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Export&ImportFormFields")] +[assembly: AssemblyCopyright("Copyright © 2025")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//CultureYouAreCodingWith in your .csproj file +//inside a . For example, if you are using US english +//in your source files, set the to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/FormFields/Export&ImportFormFields/Properties/Resources.Designer.cs b/FormFields/Export&ImportFormFields/Properties/Resources.Designer.cs new file mode 100644 index 0000000..1b20491 --- /dev/null +++ b/FormFields/Export&ImportFormFields/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Export_ImportFormFields.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Export_ImportFormFields.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/FormFields/Export&ImportFormFields/Properties/Resources.resx b/FormFields/Export&ImportFormFields/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/FormFields/Export&ImportFormFields/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/FormFields/Export&ImportFormFields/Properties/Settings.Designer.cs b/FormFields/Export&ImportFormFields/Properties/Settings.Designer.cs new file mode 100644 index 0000000..3f39f16 --- /dev/null +++ b/FormFields/Export&ImportFormFields/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Export_ImportFormFields.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/FormFields/Export&ImportFormFields/Properties/Settings.settings b/FormFields/Export&ImportFormFields/Properties/Settings.settings new file mode 100644 index 0000000..033d7a5 --- /dev/null +++ b/FormFields/Export&ImportFormFields/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/FormFields/Export&ImportFormFields/packages.config b/FormFields/Export&ImportFormFields/packages.config new file mode 100644 index 0000000..5b33600 --- /dev/null +++ b/FormFields/Export&ImportFormFields/packages.config @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/FormFields/Export&ImportFormFields/targets/MultiTargeting.targets b/FormFields/Export&ImportFormFields/targets/MultiTargeting.targets new file mode 100644 index 0000000..4a85629 --- /dev/null +++ b/FormFields/Export&ImportFormFields/targets/MultiTargeting.targets @@ -0,0 +1,10 @@ + + + net462;net8.0-windows;net9.0-windows + true + False + True + True + True + + \ No newline at end of file diff --git a/Localization/App.config b/Localization/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/Localization/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Localization/App.xaml b/Localization/App.xaml new file mode 100644 index 0000000..9201ab6 --- /dev/null +++ b/Localization/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/Localization/App.xaml.cs b/Localization/App.xaml.cs new file mode 100644 index 0000000..61653fe --- /dev/null +++ b/Localization/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace LocalizationSample +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/Localization/HTTP Succinctly.pdf b/Localization/HTTP Succinctly.pdf new file mode 100644 index 0000000..67a4494 Binary files /dev/null and b/Localization/HTTP Succinctly.pdf differ diff --git a/Localization/LocalizationSample.csproj b/Localization/LocalizationSample.csproj new file mode 100644 index 0000000..1587f67 --- /dev/null +++ b/Localization/LocalizationSample.csproj @@ -0,0 +1,27 @@ + + + WinExe + LocalizationSample + LocalizationSample + + + + + + + + + + + + + + + 4.0 + + + + + + + \ No newline at end of file diff --git a/Localization/LocalizationSample.sln b/Localization/LocalizationSample.sln new file mode 100644 index 0000000..a33a3bd --- /dev/null +++ b/Localization/LocalizationSample.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.14.36119.2 d17.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LocalizationSample", "LocalizationSample.csproj", "{ADFE7539-2891-4E4B-8245-631448806F5C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {ADFE7539-2891-4E4B-8245-631448806F5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ADFE7539-2891-4E4B-8245-631448806F5C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ADFE7539-2891-4E4B-8245-631448806F5C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ADFE7539-2891-4E4B-8245-631448806F5C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {5B590E8B-7017-4FD8-B9CA-BB4C6A8FB2B7} + EndGlobalSection +EndGlobal diff --git a/Localization/MainWindow.xaml b/Localization/MainWindow.xaml new file mode 100644 index 0000000..18962f3 --- /dev/null +++ b/Localization/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/Localization/MainWindow.xaml.cs b/Localization/MainWindow.xaml.cs new file mode 100644 index 0000000..5175e7c --- /dev/null +++ b/Localization/MainWindow.xaml.cs @@ -0,0 +1,17 @@ +using System.Windows; + +namespace LocalizationSample +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("fr"); + InitializeComponent(); + pdfViewer.Load("../../../HTTP Succinctly.pdf"); + } + } +} diff --git a/Localization/Properties/AssemblyInfo.cs b/Localization/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..4ed2dd2 --- /dev/null +++ b/Localization/Properties/AssemblyInfo.cs @@ -0,0 +1,52 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("LocalizationSample")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("LocalizationSample")] +[assembly: AssemblyCopyright("Copyright © 2025")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//CultureYouAreCodingWith in your .csproj file +//inside a . For example, if you are using US english +//in your source files, set the to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Localization/Properties/Resources.Designer.cs b/Localization/Properties/Resources.Designer.cs new file mode 100644 index 0000000..09c30ca --- /dev/null +++ b/Localization/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace LocalizationSample.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LocalizationSample.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/Localization/Properties/Resources.resx b/Localization/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/Localization/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Localization/Properties/Settings.Designer.cs b/Localization/Properties/Settings.Designer.cs new file mode 100644 index 0000000..89d5ac6 --- /dev/null +++ b/Localization/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace LocalizationSample.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Localization/Properties/Settings.settings b/Localization/Properties/Settings.settings new file mode 100644 index 0000000..033d7a5 --- /dev/null +++ b/Localization/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/Localization/Resources/Syncfusion.PdfViewer.WPF.fr.resx b/Localization/Resources/Syncfusion.PdfViewer.WPF.fr.resx new file mode 100644 index 0000000..bb26548 --- /dev/null +++ b/Localization/Resources/Syncfusion.PdfViewer.WPF.fr.resx @@ -0,0 +1,741 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Ajouter un calque + + + Ajouter une étiquette de signature + + + Ajouter un message de tampon + + + Apparence + + + Appliquer l'étiquette + + + Appliquer l'étiquette de biffure + + + Appliquer le message de rédaction + + + La Flèche + + + Auteure + + + Titre du signet + + + Couleur de la bordure + + + Épaisseur de la bordure + + + Annuler + + + Effacer l'étiquette + + + Fermer le signet + + + Fermer la fenêtre contextuelle des polices + + + Fermer le message des options de formulaire + + + Fermer le calque + + + Fermer le message de l'organiseur de page + + + Fermer le message de rédaction + + + Fermer la barre de recherche + + + Fermer la miniature + + + Couleur + + + Pipette à couleurs + + + Commentaire + + + copie + + + Message dans le sens antihoraire + + + Créer une étiquette de signature + + + Numéro de page actuel + + + Étiquette de texte personnalisée + + + Diminuer le grossissement + + + Effacer + + + Supprimer le calque + + + Supprimer le mesage de pages + + + Document protégé + + + Cercle + + + Outils de dessin + + + Dessiner de l'encre + + + Ligne + + + Polygone + + + Polyligne + + + Rectangle + + + Fin + + + Agrandir les vignettes de page + + + Entrer le mot de passe + + + Visionneuse PDF essentielle + + + Exporter le message de données + + + La couleur de remplissage + + + Remplir l'étiquette d'opacité + + + Ajuster la page + + + Ajuster la largeur + + + Couleur de la police + + + Étiquette de police + + + Étiquette de taille de police + + + Données de formulaire + + + Données de formulaireMessage + + + Exportation de formulaire + + + Importation de formulaire + + + TextBox gratuit + + + Propriétés du texte libre + + + Générale + + + Aller à la première page + + + Aller à la dernière page + + + Aller à la page suivante + + + Aller à la page précédente + + + Message de signature manuscrite + + + Étiquette de propriétés de signature manuscrite + + + Aidez-moi + + + Mettre en évidence les propriétés + + + Texte surligné + + + Icône + + + Importer un message de données + + + Augmenter le grossissement + + + Propriétés de l'encre + + + Insérer + + + Clé + + + Titre du calque + + + Propriétés de la ligne + + + Faire défaut + + + Marquer pour étiquette de biffure + + + Marquer pour le message de biffure + + + Zoom de sélection + + + Cas de correspondance + + + Modifié + + + Plus d'actions + + + Nouveau paragraphe + + + Suivante + + + Aucun résultat + + + Remarque + + + De + + + D'accord + + + Opacité + + + Ouvrir le document + + + Ouvrir la note contextuelle + + + Étiquette de couleur de contour + + + Propriétés ovales + + + Étiquette de titre de texte de superposition + + + Nombre de pages + + + Titre de l'organiseur de page + + + Panoramique + + + Paragraphe + + + Bouton d'annulation du mot de passe + + + Bouton OK du mot de passe + + + Propriétés des lignes de polygone + + + Propriétés du polygone + + + Précédente + + + Imprimer le document + + + Propriétés + + + Propriétés du rectangle + + + Remplissage de la zone expurgée + + + Étiquette de biffure + + + Apparence de la marque de biffure + + + Message de rédaction + + + Étiquette de propriétés de biffure + + + Message de propriétés de rédaction + + + Réduire les miniatures de page + + + Renommer + + + Faire pivoter le message dans le sens des aiguilles d'une montre + + + Enregistrer le document + + + Indicateur de recherche + + + Texte de recherche + + + Outil de sélection + + + Étiquette des propriétés du tampon + + + Étiquette standard + + + Début + + + Note collante + + + Propriétés du pense-bête + + + Propriétés barrées + + + Texte barré + + + Matière + + + Propriétés du texte + + + Épaisseur + + + Titre de la miniature + + + Propriétés de soulignement + + + Texte souligné + + + Utiliser l'étiquette de texte de superposition + + + Afficher les favoris + + + Afficher les couches + + + Afficher le message de l'organiseur de page + + + Afficher les miniatures + + + Le niveau de zoom + + + Le signet n'existe pas + + + Confirmation avant la fermeture + + + Confirmation de la suppression des pages + + + Supprimer la limitation des pages + + + Informations sur le fichier déjà ouvert + + + Entrée numérique incorrecte + + + Erreur de mot de passe non valide + + + La page n'existe pas + + + Confirmation de rédaction + + + RedactionWarning + + + Demander un mot de passe correct + + + La valeur dépasse la limite + + + Erreur + + + Mot de passe incorrect + + + Information + + + Page de chargement + + + Message + + + avertissement + + + Activer la sélection de pages multiples + + + Ajouter un post-it + + + Ajouter un tampon + + + Bout + + + Fermé + + + Tampons personnalisés + + + diamant + + + Cliquez pour ouvrir, enregistrer et imprimer un document PDF + + + Déposer + + + Texte libre + + + Surligner + + + Encrer + + + Cliquez pour effacer une partie de l'annotation à l'encre (dessins à main levée) + + + Le lecteur a terminé la recherche dans le document. Aucune autre correspondance n'a été trouvée + + + Rien + + + Ouvert + + + ovale + + + Imprimer + + + Fermé (Inversé) + + + Ouvert (Inversé) + + + Rond + + + Cliquez pour enregistrer le document sur le disque local + + + Enregistrer sous + + + Sauvegarder + + + Sabrer + + + Carré + + + Timbre + + + Barré + + + Souligner + + + Ouvrir + + + Onduleux + + + Nuage + + + Légende de texte + + + Insert + + + Page blanche + + + À partir du fichier + + + Insérer des pages + + + D'abord + + + Dernier + + + Page + + + Page + + + De + + + Sélectionnez le PDF à insérer + + + Insérer du texte + + + Page blanche + + + Location + + + Après + + + Avant + + \ No newline at end of file diff --git a/Localization/packages.config b/Localization/packages.config new file mode 100644 index 0000000..5b33600 --- /dev/null +++ b/Localization/packages.config @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/Localization/targets/MultiTargeting.targets b/Localization/targets/MultiTargeting.targets new file mode 100644 index 0000000..4a85629 --- /dev/null +++ b/Localization/targets/MultiTargeting.targets @@ -0,0 +1,10 @@ + + + net462;net8.0-windows;net9.0-windows + true + False + True + True + True + + \ No newline at end of file diff --git a/RTL/App.config b/RTL/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/RTL/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/RTL/App.xaml b/RTL/App.xaml new file mode 100644 index 0000000..996fa3d --- /dev/null +++ b/RTL/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/RTL/App.xaml.cs b/RTL/App.xaml.cs new file mode 100644 index 0000000..7223fa0 --- /dev/null +++ b/RTL/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace RTLSample +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/RTL/Data/RTLText.pdf b/RTL/Data/RTLText.pdf new file mode 100644 index 0000000..1df8285 Binary files /dev/null and b/RTL/Data/RTLText.pdf differ diff --git a/RTL/MainWindow.xaml b/RTL/MainWindow.xaml new file mode 100644 index 0000000..b27df47 --- /dev/null +++ b/RTL/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/RTL/MainWindow.xaml.cs b/RTL/MainWindow.xaml.cs new file mode 100644 index 0000000..1d3bc29 --- /dev/null +++ b/RTL/MainWindow.xaml.cs @@ -0,0 +1,16 @@ +using System.Windows; + +namespace RTLSample +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + pdfViewer.Load("../../../Data/RTLText.pdf"); + } + } +} diff --git a/RTL/Properties/AssemblyInfo.cs b/RTL/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..128fff2 --- /dev/null +++ b/RTL/Properties/AssemblyInfo.cs @@ -0,0 +1,52 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("RTLSample")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("RTLSample")] +[assembly: AssemblyCopyright("Copyright © 2025")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//CultureYouAreCodingWith in your .csproj file +//inside a . For example, if you are using US english +//in your source files, set the to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/RTL/Properties/Resources.Designer.cs b/RTL/Properties/Resources.Designer.cs new file mode 100644 index 0000000..ed61801 --- /dev/null +++ b/RTL/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace RTLSample.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("RTLSample.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/RTL/Properties/Resources.resx b/RTL/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/RTL/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/RTL/Properties/Settings.Designer.cs b/RTL/Properties/Settings.Designer.cs new file mode 100644 index 0000000..f165e7f --- /dev/null +++ b/RTL/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace RTLSample.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/RTL/Properties/Settings.settings b/RTL/Properties/Settings.settings new file mode 100644 index 0000000..033d7a5 --- /dev/null +++ b/RTL/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/RTL/RTLSample.csproj b/RTL/RTLSample.csproj new file mode 100644 index 0000000..42ed5a3 --- /dev/null +++ b/RTL/RTLSample.csproj @@ -0,0 +1,27 @@ + + + WinExe + RTLSample + RTLSample + + + + + + + + + + + + + + + 4.0 + + + + + + + \ No newline at end of file diff --git a/RTL/RTLSample.sln b/RTL/RTLSample.sln new file mode 100644 index 0000000..a003ce6 --- /dev/null +++ b/RTL/RTLSample.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.14.36119.2 d17.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RTLSample", "RTLSample.csproj", "{95C92FF3-805B-49C3-8A17-54753237D357}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {95C92FF3-805B-49C3-8A17-54753237D357}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {95C92FF3-805B-49C3-8A17-54753237D357}.Debug|Any CPU.Build.0 = Debug|Any CPU + {95C92FF3-805B-49C3-8A17-54753237D357}.Release|Any CPU.ActiveCfg = Release|Any CPU + {95C92FF3-805B-49C3-8A17-54753237D357}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2A1F7867-356F-41BC-BBF7-DFE65123E4ED} + EndGlobalSection +EndGlobal diff --git a/RTL/packages.config b/RTL/packages.config new file mode 100644 index 0000000..5b33600 --- /dev/null +++ b/RTL/packages.config @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/RTL/targets/MultiTargeting.targets b/RTL/targets/MultiTargeting.targets new file mode 100644 index 0000000..4a85629 --- /dev/null +++ b/RTL/targets/MultiTargeting.targets @@ -0,0 +1,10 @@ + + + net462;net8.0-windows;net9.0-windows + true + False + True + True + True + + \ No newline at end of file