private ConversionJobSettings FillWordConversionOptions(OASModels.ConversionOptions co)
        {
            ConversionJobSettings res = new ConversionJobSettings();

            res.FixedFormatSettings.BalloonState              = (Microsoft.Office.Word.Server.Conversions.BalloonState)co.BalloonState;
            res.FixedFormatSettings.BitmapEmbeddedFonts       = co.BitmapEmbeddedFonts;
            res.FixedFormatSettings.Bookmarks                 = (Microsoft.Office.Word.Server.Conversions.FixedFormatBookmark)co.Bookmarks;
            res.FixedFormatSettings.IncludeDocumentProperties = co.IncludeDocumentProperties;
            res.FixedFormatSettings.IncludeDocumentStructure  = co.IncludeDocumentStructure;
            res.FixedFormatSettings.OutputQuality             = (Microsoft.Office.Word.Server.Conversions.FixedFormatQuality)co.OutputQuality;
            res.FixedFormatSettings.UsePDFA = co.UsePDFA;

            return(res);
        }
        private Microsoft.Office.Server.PowerPoint.Conversion.FixedFormatSettings FillPowerPointConversionOptions(OASModels.ConversionOptions co)
        {
            Microsoft.Office.Server.PowerPoint.Conversion.FixedFormatSettings res = new Microsoft.Office.Server.PowerPoint.Conversion.FixedFormatSettings();


            res.BitmapUnembeddableFonts      = co.BitmapEmbeddedFonts;
            res.FrameSlides                  = co.FrameSlides;
            res.IncludeDocumentProperties    = co.IncludeDocumentProperties;
            res.IncludeDocumentStructureTags = co.IncludeDocumentStructure;
            res.IncludeHiddenSlides          = co.IncludeHiddenSlides;
            res.OptimizeForMinimumSize       = (co.OutputQuality == OASModels.FixedFormatQuality.Minimum ? true : false);
            res.UsePdfA          = co.UsePDFA;
            res.UseVerticalOrder = co.UseVerticalOrder;

            return(res);
        }