Example #1
0
 private SystemFile(int compat, SystemFileEntry[] entries)
 {
     _compat = Enum.IsDefined(typeof(Compatibility), compat) ?
         (Compatibility)compat :
         Compatibility.Version_Unknown;
     _entries = entries;
 }
    static void BothUnsignedOrSignedWithSameKey(Assembly runner, Assembly context, Compatibility result)
    {
      var runnerToken = ToReadableString(runner.GetName().GetPublicKeyToken());
      var contextToken = ToReadableString(context.GetName().GetPublicKeyToken());

      var compatible = runnerToken.Equals(contextToken, StringComparison.OrdinalIgnoreCase);

      result.Mark(compatible);
      result.Runner.MSpec.PublicKeyToken = String.IsNullOrEmpty(runnerToken) ? "null" : runnerToken;
      result.ContextAssembly.MSpec.PublicKeyToken = String.IsNullOrEmpty(contextToken) ? "null" : contextToken;
    }
    static void VersionMajorMinorEquality(Assembly runner, Assembly context, Compatibility result)
    {
      var runnerVersion = runner.GetName().Version;
      var contextVersion = context.GetName().Version;

      var compatible = runnerVersion == contextVersion;

      result.Mark(compatible);
      result.Runner.MSpec.Version = runnerVersion;
      result.ContextAssembly.MSpec.Version = contextVersion;
    }
    /// <summary>
    /// Checks for compatibility issues between the Machine.Specifications.dll referenced by the ReSharper runner and
    /// the context assembly (i.e. test assembly).
    /// </summary>
    /// <remarks>
    /// Scenarios that do not work, that is, will display gray test icons in the ReSharper Unit Test Session window:
    /// - Runner reference is strong-named, context reference is not strong-named
    /// - Runner reference is not strong-named, context reference is strong-named
    /// - Both references are strong-named, but version numbers do not match
    /// 
    /// When both references are not strong-named and provided API compatibility is met, the runner will work even 
    /// if version numbers do not match.
    /// </remarks>
    public static Compatibility Check(Assembly contextAssembly)
    {
      var result = new Compatibility();
      result.ContextAssembly.Path = contextAssembly.Location;

      var referenced = FindMSpecReference(contextAssembly);
      if (referenced == null)
      {
        return result;
      }

      var runner = typeof(DefaultRunner).Assembly;

      foreach (var rule in Rules)
      {
        rule(runner, referenced, result);
      }

      return result;
    }
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14" } };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "100" };
            ProofState proofState1 = new ProofState() { Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 708 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference() { Id = -1 };
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference() { Id = 0 };

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference() { Id = -1 };
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference() { Id = 0 };

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting() { Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "14" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting() { Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting() { Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting() { Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "00945FC6" };
            Rsid rsid1 = new Rsid() { Val = "00391036" };
            Rsid rsid2 = new Rsid() { Val = "00571FC0" };
            Rsid rsid3 = new Rsid() { Val = "00900A10" };
            Rsid rsid4 = new Rsid() { Val = "00945FC6" };
            Rsid rsid5 = new Rsid() { Val = "00D60978" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "ru-RU" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults1 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults2 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 1026 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "," };
            ListSeparator listSeparator1 = new ListSeparator() { Val = ";" };

            settings1.Append(zoom1);
            settings1.Append(proofState1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);

            documentSettingsPart1.Settings = settings1;
        }
Example #6
0
		/// <summary>
		/// Creates a new 1D FFT plan (new API)
		/// </summary>
		/// <param name="handle">cufftHandle object</param>
		/// <param name="nx">The transform size (e.g., 256 for a 256-point FFT)</param>
		/// <param name="type">The transform data type (e.g., C2C for complex to complex)</param>
		/// <param name="batch">Number of transforms of size nx</param>
		/// <param name="stream">A valid CUDA stream created with cudaStreamCreate() (or 0 for the default stream)</param>
		/// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
		/// <param name="size"></param>
		public CudaFFTPlan1D(cufftHandle handle, int nx, cufftType type, int batch, CUstream stream, Compatibility mode, ref SizeT size)
			: this(handle, nx, type, batch, ref size)
		{
			SetStream(stream);
			SetCompatibilityMode(mode);
		}
Example #7
0
        public void DefineKeyboardControl(IKeyboardController _pool, string controllerId)
        {
            var pool = Compatibility.Check <KeyboardController <HommCommand> >(this, _pool);

            if (controllerId == TwoPlayersId.Left)
            {
                pool.Add(Keys.W, () => new HommCommand {
                    Movement = new HexMovement(Direction.Up)
                });
                pool.Add(Keys.S, () => new HommCommand {
                    Movement = new HexMovement(Direction.Down)
                });
                pool.Add(Keys.A, () => new HommCommand {
                    Movement = new HexMovement(Direction.LeftDown)
                });
                pool.Add(Keys.D, () => new HommCommand {
                    Movement = new HexMovement(Direction.RightDown)
                });
                pool.Add(Keys.Q, () => new HommCommand {
                    Movement = new HexMovement(Direction.LeftUp)
                });
                pool.Add(Keys.E, () => new HommCommand {
                    Movement = new HexMovement(Direction.RightUp)
                });

                pool.Add(Keys.Space, () => new HommCommand {
                    HireOrder = new HireOrder(5)
                });

                pool.Add(Keys.X, () => new HommCommand
                {
                    WaitInGarrison = new Dictionary <UnitType, int> {
                        { UnitType.Militia, 5 }
                    }
                });
            }
            else if (controllerId == TwoPlayersId.Right)
            {
                pool.Add(Keys.I, () => new HommCommand {
                    Movement = new HexMovement(Direction.Up)
                });
                pool.Add(Keys.K, () => new HommCommand {
                    Movement = new HexMovement(Direction.Down)
                });
                pool.Add(Keys.J, () => new HommCommand {
                    Movement = new HexMovement(Direction.LeftDown)
                });
                pool.Add(Keys.L, () => new HommCommand {
                    Movement = new HexMovement(Direction.RightDown)
                });
                pool.Add(Keys.U, () => new HommCommand {
                    Movement = new HexMovement(Direction.LeftUp)
                });
                pool.Add(Keys.O, () => new HommCommand {
                    Movement = new HexMovement(Direction.RightUp)
                });

                pool.Add(Keys.Enter, () => new HommCommand {
                    HireOrder = new HireOrder(5)
                });

                pool.Add(Keys.M, () => new HommCommand
                {
                    WaitInGarrison = new Dictionary <UnitType, int> {
                        { UnitType.Militia, 5 }
                    }
                });
            }

            pool.StopCommand = () => new HommCommand {
                Movement = new HexMovement(waitDuration: 0.1)
            };
        }
Example #8
0
        /// <summary>
		/// Creates a new 2D FFT plan (old API)
        /// </summary>
        /// <param name="nx">The transform size in the X dimension (number of rows)</param>
        /// <param name="ny">The transform size in the Y dimension (number of columns)</param>
        /// <param name="type">The transform data type (e.g., C2R for complex to real)</param>
        /// <param name="stream">A valid CUDA stream created with cudaStreamCreate() (or 0 for the default stream)</param>
        /// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
        public CudaFFTPlan2D(int nx, int ny, cufftType type, CUstream stream, Compatibility mode)
            : this(nx, ny, type)
        {
            SetStream(stream);
            SetCompatibilityMode(mode);
        }
 static void RunnerPath(Assembly runner, Assembly context, Compatibility result)
 {
   result.Runner.Path = typeof(VersionCompatibilityChecker).Assembly.Location;
 }
 public async Task <Config> SetCompatibilityAsync(string subject, Compatibility compatibility)
 => await RequestAsync <Config>($"config/{WebUtility.UrlEncode(subject)}", HttpMethod.Put, new Config(compatibility))
 .ConfigureAwait(continueOnCapturedContext: false);
Example #11
0
		/// <summary>
		/// Creates a new 2D FFT plan (new API)
		/// </summary>
		/// <param name="handle">cufftHandle object</param>
		/// <param name="nx">The transform size in the X dimension (number of rows)</param>
		/// <param name="ny">The transform size in the Y dimension (number of columns)</param>
		/// <param name="type">The transform data type (e.g., C2R for complex to real)</param>
		/// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
		/// <param name="size"></param>
		public CudaFFTPlan2D(cufftHandle handle, int nx, int ny, cufftType type, Compatibility mode, ref SizeT size)
			: this(handle, nx, ny, type, ref size)
		{
			SetCompatibilityMode(mode);
		}
Example #12
0
        /// <summary>
        /// Generate test scene.
        /// </summary>
        protected void GenerateScene()
        {
            GenerateSceneContent();

            Compatibility.SceneSave(SavePath + "/" + Info.ShortTypeName + ".unity");
        }
 public Compatibility GetCompatibility(ZodiacType zodiacType1, ZodiacType zodiacType2)
 {
     using var command   = _connection.CreateCommand();
     command.Connection  = _connection;
     command.CommandText =
         $"select {Compatibility.GetIdColumnName()}, {Compatibility.GetZodiac1ColumnName()}, {Compatibility.GetZodiac2ColumnName()}, " +
         $"{Compatibility.GetCompatibilityValueColumnName()}, {Compatibility.GetTextValueColumnName()} " +
         $"from {Compatibility.GetTableName()} " +
         $"where {Compatibility.GetZodiac1ColumnName()} = :zodiac1Type " +
         $"and {Compatibility.GetZodiac2ColumnName()} = :zodiac2Type;";
     command.Parameters.AddWithValue("zodiac1Type", zodiacType1);
     command.Parameters.AddWithValue("zodiac2Type", zodiacType2);
     Console.WriteLine("Execute SQL: " + command.CommandText);
     return(Factory.CreateCompatibility(command.ExecuteReader(), this));
 }
Example #14
0
 public static RetCode SetCompatibility(Compatibility value)
 {
     Globals.Compatibility = value;
     return(RetCode.Success);
 }
Example #15
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14" }  };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom(){ Percent = "130" };
            ProofState proofState1 = new ProofState(){ Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            AttachedTemplate attachedTemplate1 = new AttachedTemplate(){ Id = "rId1" };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop(){ Val = 720 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl(){ Val = CharacterSpacingValues.DoNotCompress };

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting(){ Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "14" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting(){ Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting(){ Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot(){ Val = "00F00514" };
            Rsid rsid13 = new Rsid(){ Val = "0013421C" };
            Rsid rsid14 = new Rsid(){ Val = "00185682" };
            Rsid rsid15 = new Rsid(){ Val = "001E7601" };
            Rsid rsid16 = new Rsid(){ Val = "00227AB2" };
            Rsid rsid17 = new Rsid(){ Val = "0028497E" };
            Rsid rsid18 = new Rsid(){ Val = "002A4705" };
            Rsid rsid19 = new Rsid(){ Val = "00354CB4" };
            Rsid rsid20 = new Rsid(){ Val = "003C2296" };
            Rsid rsid21 = new Rsid(){ Val = "004140B7" };
            Rsid rsid22 = new Rsid(){ Val = "006217A5" };
            Rsid rsid23 = new Rsid(){ Val = "00672B88" };
            Rsid rsid24 = new Rsid(){ Val = "006E6D18" };
            Rsid rsid25 = new Rsid(){ Val = "00734DD4" };
            Rsid rsid26 = new Rsid(){ Val = "0083080C" };
            Rsid rsid27 = new Rsid(){ Val = "0088581B" };
            Rsid rsid28 = new Rsid(){ Val = "00A1337C" };
            Rsid rsid29 = new Rsid(){ Val = "00A213D6" };
            Rsid rsid30 = new Rsid(){ Val = "00AA3180" };
            Rsid rsid31 = new Rsid(){ Val = "00D77907" };
            Rsid rsid32 = new Rsid(){ Val = "00E74180" };
            Rsid rsid33 = new Rsid(){ Val = "00EF4816" };
            Rsid rsid34 = new Rsid(){ Val = "00F00514" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid13);
            rsids1.Append(rsid14);
            rsids1.Append(rsid15);
            rsids1.Append(rsid16);
            rsids1.Append(rsid17);
            rsids1.Append(rsid18);
            rsids1.Append(rsid19);
            rsids1.Append(rsid20);
            rsids1.Append(rsid21);
            rsids1.Append(rsid22);
            rsids1.Append(rsid23);
            rsids1.Append(rsid24);
            rsids1.Append(rsid25);
            rsids1.Append(rsid26);
            rsids1.Append(rsid27);
            rsids1.Append(rsid28);
            rsids1.Append(rsid29);
            rsids1.Append(rsid30);
            rsids1.Append(rsid31);
            rsids1.Append(rsid32);
            rsids1.Append(rsid33);
            rsids1.Append(rsid34);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont(){ Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary(){ Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction(){ Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction(){ Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin(){ Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin(){ Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification(){ Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent(){ Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation(){ Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation(){ Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages(){ Val = "en-US" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping(){ Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults1 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults2 = new Ovml.ShapeDefaults(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 1026 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout(){ Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol(){ Val = "." };
            ListSeparator listSeparator1 = new ListSeparator(){ Val = "," };

            settings1.Append(zoom1);
            settings1.Append(proofState1);
            settings1.Append(attachedTemplate1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);

            documentSettingsPart1.Settings = settings1;
        }
Example #16
0
        /// <summary>
		/// Creates a new 1D FFT plan (old API)
        /// </summary>
        /// <param name="nx">The transform size (e.g., 256 for a 256-point FFT)</param>
        /// <param name="type">The transform data type (e.g., C2C for complex to complex)</param>
        /// <param name="batch">Number of transforms of size nx</param>
        /// <param name="stream">A valid CUDA stream created with cudaStreamCreate() (or 0 for the default stream)</param>
        /// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
        public CudaFFTPlan1D(int nx, cufftType type, int batch, CUstream stream, Compatibility mode)
            : this(nx, type, batch)
        {
            SetStream(stream);
            SetCompatibilityMode(mode);
		}
Example #17
0
		/// <summary>
		/// Creates a new 1D FFT plan (new API)
		/// </summary>
		/// <param name="handle">cufftHandle object</param>
		/// <param name="nx">The transform size (e.g., 256 for a 256-point FFT)</param>
		/// <param name="type">The transform data type (e.g., C2C for complex to complex)</param>
		/// <param name="batch">Number of transforms of size nx</param>
		/// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
		/// <param name="size"></param>
		/// <param name="autoAllocate">indicates that the caller intends to allocate and manage
		/// work areas for plans that have been generated.</param>
		public CudaFFTPlan1D(cufftHandle handle, int nx, cufftType type, int batch, Compatibility mode, ref SizeT size, bool autoAllocate)
			: this(handle, nx, type, batch, ref size)
		{
			SetCompatibilityMode(mode);
			SetAutoAllocation(autoAllocate);
		}
Example #18
0
		/// <summary>
		/// Creates a new 1D FFT plan (new API)
		/// </summary>
		/// <param name="handle">cufftHandle object</param>
		/// <param name="nx">The transform size (e.g., 256 for a 256-point FFT)</param>
		/// <param name="type">The transform data type (e.g., C2C for complex to complex)</param>
		/// <param name="batch">Number of transforms of size nx</param>
		/// <param name="stream">A valid CUDA stream created with cudaStreamCreate() (or 0 for the default stream)</param>
		/// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
		/// <param name="autoAllocate">indicates that the caller intends to allocate and manage
		/// work areas for plans that have been generated.</param>
		public CudaFFTPlan1D(cufftHandle handle, int nx, cufftType type, int batch, CUstream stream, Compatibility mode, bool autoAllocate)
			: this(handle, nx, type, batch)
		{
			SetStream(stream);
			SetCompatibilityMode(mode);
			SetAutoAllocation(autoAllocate);
		}
Example #19
0
        public static void OnRendered(object sender, RenderedWorldEventArgs e)
        {
            if (!Context.IsWorldReady)
            {
                return;
            }
            if (Game1.activeClickableMenu != null || Game1.currentMinigame != null)
            {
                return;
            }

            foreach (Monster monster in Game1.currentLocation.characters.OfType <Monster>())
            {
                if (monster.IsInvisible || !Utility.isOnScreen(monster.position, 3 * Game1.tileSize))
                {
                    continue;
                }

                if ((monster.Position.X > Game1.player.Position.X + _verification_range ||
                     monster.Position.X < Game1.player.Position.X - _verification_range ||
                     monster.Position.Y > Game1.player.Position.Y + _verification_range ||
                     monster.Position.Y < Game1.player.Position.Y - _verification_range) &&
                    ModEntry.config.Range_Verification)
                {
                    continue;
                }


                Texture2D _current_sprite;
                Color     _bar_color          = new Color(172, 50, 50);
                Color     _border_color       = Color.White;
                Color     _hp_color           = new Color(0, 0, 0, 200);
                int       _height             = 3;
                float     _current_health     = monster.Health;
                float     _current_max_health = Math.Max(monster.Health, monster.MaxHealth);
                monster.MaxHealth = (int)_current_max_health;

                if (_current_health >= _current_max_health && !ModEntry.config.Show_Full_Life)
                {
                    continue;
                }

                if (Compatibility.BlackListedMonster(monster.Name))
                {
                    continue;
                }

                if (monster is GreenSlime slime)
                {
                    if (monster.Name == "Frost Jelly")
                    {
                        _current_sprite = Textures.blueslime_theme;
                        _bar_color      = new Color(69, 142, 212);
                        _border_color   = slime.color;
                    }
                    else if (monster.Name == "Tiger Slime")
                    {
                        _current_sprite = Textures.tigerslime_theme;
                        _bar_color      = new Color(174, 84, 18);
                    }
                    else
                    {
                        Color c1 = slime.color;
                        float cR = c1.R * 1.25f;
                        float cG = c1.G * 1.25f;
                        float cB = c1.B * 1.25f;
                        byte  cA = 255;
                        Color c2 = new Color((int)cR, (int)cG, (int)cB, cA);

                        _current_sprite = Textures.greenslime_theme;
                        _bar_color      = c2;
                        _border_color   = slime.color;
                    }
                }
                else if (monster is Bat bat)
                {
                    if (monster.Name == "Frost Bat")
                    {
                        if (bat.isHardModeMonster)
                        {
                            _current_sprite = Textures.hardmode_frostbat;
                            _bar_color      = new Color(231, 116, 10);
                        }
                        else
                        {
                            _current_sprite = Textures.frostbat_theme;
                            _bar_color      = new Color(77, 122, 145);
                        }
                    }
                    else if (monster.Name == "Lava Bat")
                    {
                        _current_sprite = Textures.lavabat_theme;
                        _bar_color      = new Color(190, 23, 23);
                    }
                    else if (monster.Name == "Magma Sprite")
                    {
                        _current_sprite = Textures.magmasprite_theme;
                        _bar_color      = new Color(255, 204, 51);
                    }
                    else if (monster.Name == "Magma Sparker")
                    {
                        _current_sprite = Textures.magmasparker_theme;
                        _bar_color      = new Color(221, 250, 117);
                    }
                    else if (monster.Name == "Iridium Bat")
                    {
                        _current_sprite = Textures.iridiumbat_theme;
                        _bar_color      = new Color(226, 72, 205);
                    }
                    else if (monster.Name == "Haunted Skull")
                    {
                        _current_sprite = Textures.hauntedskull_theme;
                        _bar_color      = new Color(172, 172, 172);
                        _hp_color       = Color.Red;
                    }
                    else
                    {
                        _current_sprite = Textures.bat_theme;
                    }
                }
                else if (monster is Bug bug)
                {
                    if (bug.isArmoredBug.Value)
                    {
                        _current_sprite = Textures.armoredbug_theme;
                    }
                    else if (bug.isHardModeMonster)
                    {
                        _current_sprite = Textures.hardmode_bug;
                        _bar_color      = new Color(0, 127, 199);
                    }
                    else
                    {
                        _current_sprite = Textures.bug_theme;
                        _bar_color      = new Color(130, 199, 171);
                    }
                    _height = 15;
                }
                else if (monster is Fly)
                {
                    if (Game1.player.currentLocation.Name == "BugLand" || Game1.CurrentMineLevel > 120)
                    {
                        _current_sprite = Textures.mutantfly_theme;
                        _bar_color      = new Color(0, 194, 31);
                    }
                    else
                    {
                        _current_sprite = Textures.cavefly_theme;
                        _bar_color      = new Color(207, 43, 156);
                    }
                }
                else if (monster is Duggy duggy)
                {
                    if (monster.Name == "Magma Duggy")
                    {
                        _current_sprite = Textures.magmaduggy_theme;
                        _bar_color      = new Color(246, 59, 59);
                    }
                    else if (duggy.isHardModeMonster)
                    {
                        _current_sprite = Textures.hardmode_duggy;
                        _bar_color      = new Color(50, 99, 172);
                    }
                    else
                    {
                        _current_sprite = Textures.duggy_theme;
                    }
                }
                else if (monster is Grub)
                {
                    if (Game1.player.currentLocation.Name == "BugLand" || Game1.CurrentMineLevel > 120)
                    {
                        _current_sprite = Textures.mutantgrub_theme;
                        _bar_color      = new Color(75, 242, 63);
                    }
                    else
                    {
                        _current_sprite = Textures.grub_theme;
                        _bar_color      = new Color(255, 215, 135);
                    }
                }
                else if (monster is RockCrab crab)
                {
                    if (monster.Sprite.CurrentFrame % 4 == 0)
                    {
                        continue;
                    }
                    if (monster.Name == "Lava Crab")
                    {
                        if (crab.isHardModeMonster)
                        {
                            _current_sprite = Textures.hardmode_lavacrab;
                            _bar_color      = new Color(135, 17, 168);
                        }
                        else
                        {
                            _current_sprite = Textures.lavacrab_theme;
                            _bar_color      = new Color(172, 50, 101);
                        }
                    }
                    else if (monster.Name == "Iridium Crab")
                    {
                        _current_sprite = Textures.iridiumcrab_theme;
                        _bar_color      = new Color(226, 72, 205);
                    }
                    else
                    {
                        if (crab.isHardModeMonster)
                        {
                            if (monster.Name == "Stick Bug")
                            {
                                _current_sprite = Textures.hardmode_stickbug;
                                _bar_color      = new Color(139, 65, 0);
                            }
                            else
                            {
                                _current_sprite = Textures.hardmode_crab;
                                _bar_color      = new Color(46, 74, 116);
                            }
                        }
                        else
                        {
                            _current_sprite = Textures.rockcrab_theme;
                        }
                    }
                }
                else if (monster is RockGolem golem)
                {
                    if (monster.Sprite.CurrentFrame == 16)
                    {
                        continue;
                    }
                    if (golem.wildernessFarmMonster)
                    {
                        _current_sprite = Textures.wildernessgolem_theme;
                        _bar_color      = new Color(78, 62, 41);
                    }
                    else
                    {
                        _current_sprite = Textures.stonegolem_theme;
                        _bar_color      = new Color(121, 121, 121);
                    }
                }
                else if (monster is DustSpirit dust)
                {
                    if (dust.isHardModeMonster)
                    {
                        _current_sprite = Textures.hardmode_dust;
                        _bar_color      = new Color(255, 255, 255);
                    }
                    else
                    {
                        _current_sprite = Textures.dust_theme;
                        _bar_color      = new Color(86, 88, 104);
                    }
                }
                else if (monster is Ghost)
                {
                    if (monster.Name == "Putrid Ghost")
                    {
                        _current_sprite = Textures.hardmode_putridghost;
                        _bar_color      = new Color(164, 238, 135);
                    }
                    else
                    {
                        _current_sprite = Textures.ghost_theme;
                        _bar_color      = new Color(197, 238, 155);
                    }
                }
                else if (monster is Skeleton skeleton)
                {
                    if (skeleton.isHardModeMonster)
                    {
                        _current_sprite = Textures.hardmode_skeleton;
                        _bar_color      = new Color(207, 250, 255);
                    }
                    else
                    {
                        _current_sprite = Textures.skeleton_theme;
                        _bar_color      = new Color(255, 255, 255);
                    }
                }
                else if (monster is MetalHead metalhead)
                {
                    if (monster.Name == "Hot Head")
                    {
                        _current_sprite = Textures.hothead_theme;
                        _bar_color      = new Color(255, 93, 43);
                    }
                    else
                    {
                        if (metalhead.isHardModeMonster)
                        {
                            _current_sprite = Textures.hardmode_metalhead;
                            _bar_color      = new Color(60, 60, 60);
                        }
                        else
                        {
                            _current_sprite = Textures.metalhead_theme;
                            _bar_color      = new Color(220, 123, 5);
                        }
                    }
                    _hp_color = Color.Red;
                }
                else if (monster is ShadowBrute)
                {
                    _current_sprite = Textures.shadowbrute_theme;
                    _bar_color      = new Color(52, 52, 52);
                }
                else if (monster is ShadowShaman shadowshaman)
                {
                    if (shadowshaman.isHardModeMonster)
                    {
                        _current_sprite = Textures.hardmode_shadowshaman;
                        _bar_color      = new Color(98, 164, 59);
                    }
                    else
                    {
                        _current_sprite = Textures.shadowshaman_theme;
                        _bar_color      = new Color(98, 164, 59);
                    }
                }
                else if (monster is SquidKid squidkid)
                {
                    if (squidkid.isHardModeMonster)
                    {
                        _current_sprite = Textures.hardmode_squidkid;
                        _bar_color      = new Color(255, 189, 94);
                    }
                    else
                    {
                        _current_sprite = Textures.squidkid_theme;
                        _bar_color      = new Color(255, 145, 130);
                    }
                }
                else if (monster is Mummy)
                {
                    _current_sprite = Textures.mummy_theme;
                    _bar_color      = new Color(225, 203, 101);
                }
                else if (monster is DinoMonster)
                {
                    _current_sprite = Textures.pepperrex_theme;
                    _bar_color      = new Color(137, 180, 56);
                }
                else if (monster is Serpent)
                {
                    _current_sprite = Textures.serpent_theme;
                    _bar_color      = new Color(82, 251, 163);
                    _height         = -5;
                }
                else if (monster is DwarvishSentry)
                {
                    _current_sprite = Textures.dwarvishsentry_theme;
                    _bar_color      = new Color(172, 112, 105);
                    _height         = 14;
                }
                else if (monster is LavaLurk)
                {
                    _current_sprite = Textures.lavalurk_theme;
                    _bar_color      = new Color(220, 123, 5);
                }
                else if (monster is BlueSquid)
                {
                    _current_sprite = Textures.hardmode_squid;
                    _bar_color      = new Color(160, 210, 255);
                }
                else if (monster.Name == "False Magma Cap")
                {
                    _current_sprite = Textures.falsemagmacap_theme;
                    _bar_color      = new Color(255, 242, 201);
                }
                else if (monster.Name == "Spider")
                {
                    _current_sprite = Textures.hardmode_spider;
                    _bar_color      = new Color(102, 209, 169);
                }
                else if (monster is Shooter)
                {
                    _current_sprite = Textures.shadowbrute_theme;
                    _bar_color      = new Color(52, 52, 52);
                }
                else if (monster is Spiker)
                {
                    continue;
                }
                else
                {
                    _current_sprite = Textures.default_theme;
                }

                if (Game1.player.currentLocation.Name == "CrimsonBadlands" || Game1.player.currentLocation.Name == "IridiumQuarry")
                {
                    _bar_color    = new Color(192, 64, 45);
                    _border_color = new Color(192, 64, 45);
                }

                if (ModEntry.config.Only_One_Theme)
                {
                    _current_sprite = Textures.default_theme;
                    _border_color   = Color.White;
                    _bar_color      = new Color(172, 50, 50);
                    _hp_color       = new Color(0, 0, 0, 200);
                }

                Vector2 _monsterPos = monster.getLocalPosition(Game1.viewport);

                Game1.spriteBatch.Draw(
                    Textures.GetPixel(),
                    new Rectangle(
                        (int)_monsterPos.X - (Textures.GetPixel().Width *Game1.pixelZoom) / 2 + (monster.Sprite.SpriteWidth * Game1.pixelZoom) / 2 - Database.distance_x * Game1.pixelZoom,
                        (int)_monsterPos.Y - monster.Sprite.SpriteHeight * Game1.pixelZoom - _height * Game1.pixelZoom + 8 * Game1.pixelZoom,
                        (Textures.GetPixel().Width *Game1.pixelZoom) * Database.bar_size,
                        (Textures.GetPixel().Height *Game1.pixelZoom) * 4),
                    new Color(0, 0, 0, 135));

                Game1.spriteBatch.Draw(
                    Textures.GetPixel(),
                    new Rectangle(
                        (int)_monsterPos.X - (Textures.GetPixel().Width *Game1.pixelZoom) / 2 + (monster.Sprite.SpriteWidth * Game1.pixelZoom) / 2 - Database.distance_x * Game1.pixelZoom,
                        (int)_monsterPos.Y - monster.Sprite.SpriteHeight * Game1.pixelZoom - _height * Game1.pixelZoom + 8 * Game1.pixelZoom,
                        (Textures.GetPixel().Width *Game1.pixelZoom) * (int)((_current_health / _current_max_health) * Database.bar_size),
                        (Textures.GetPixel().Height *Game1.pixelZoom) * 4),
                    _bar_color);

                Game1.spriteBatch.Draw(
                    _current_sprite,
                    new Rectangle(
                        (int)_monsterPos.X - (_current_sprite.Width * Game1.pixelZoom) / 2 + (monster.Sprite.SpriteWidth * Game1.pixelZoom) / 2,
                        (int)_monsterPos.Y - monster.Sprite.SpriteHeight * Game1.pixelZoom - _height * Game1.pixelZoom,
                        _current_sprite.Width * Game1.pixelZoom,
                        _current_sprite.Height * Game1.pixelZoom),
                    _border_color);

                if (!ModEntry.config.Show_Monsters_HP)
                {
                    if (ModEntry.config.Bars_Theme == 2)
                    {
                        continue;
                    }
                    Game1.spriteBatch.Draw(
                        Textures.hp_sprite,
                        new Rectangle(
                            (int)_monsterPos.X - (Textures.hp_sprite.Width * Game1.pixelZoom) / 2 + (monster.Sprite.SpriteWidth * Game1.pixelZoom) / 2,
                            (int)_monsterPos.Y - monster.Sprite.SpriteHeight * Game1.pixelZoom - _height * Game1.pixelZoom,
                            Textures.hp_sprite.Width * Game1.pixelZoom,
                            Textures.hp_sprite.Height * Game1.pixelZoom),
                        _hp_color);
                }
                else
                {
                    Vector2 textsize = Game1.tinyFont.MeasureString(monster.Health.ToString());
                    Game1.spriteBatch.DrawString(
                        Game1.tinyFont,
                        monster.Health.ToString(),
                        new Vector2((int)_monsterPos.X - (Textures.hp_sprite.Width * Game1.pixelZoom) / 2 + (monster.Sprite.SpriteWidth * Game1.pixelZoom) / 2 + 13 * Game1.pixelZoom,
                                    (int)_monsterPos.Y - monster.Sprite.SpriteHeight * Game1.pixelZoom - _height * Game1.pixelZoom + 10 * Game1.pixelZoom),
                        _hp_color,
                        0f,
                        new Vector2(textsize.X / 2, textsize.Y / 2),
                        1.25f,
                        SpriteEffects.None,
                        0f);
                }
            }
        }
 public List <Compatibility> GetCompatibilities()
 {
     using var command   = _connection.CreateCommand();
     command.Connection  = _connection;
     command.CommandText =
         $"select {Compatibility.GetIdColumnName()}, {Compatibility.GetZodiac1ColumnName()}, {Compatibility.GetZodiac2ColumnName()}, " +
         $"{Compatibility.GetCompatibilityValueColumnName()}, {Compatibility.GetTextValueColumnName()} " +
         $"from {Compatibility.GetTableName()};";
     Console.WriteLine("Execute SQL: " + command.CommandText);
     return(Factory.CreateCompatibilityList(command.ExecuteReader(), this));
 }
Example #21
0
    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        string strWebService = "";
        string strMethod     = "";

        lblMessageToUser.Text      = "";
        txtCompatMessage.Text      = "";
        txtResults.Text            = "";
        lblCompatCheckResults.Text = "";

        //**************************************************
        // edit on user input to GUI

        if (Session["SelectedWebService"] != null)
        {
            strWebService = Session["SelectedWebService"].ToString();
        }
        if (strWebService == "")
        {
            lblMessageToUser.Text = "Error: Please select web service.";
            return;
        }

        //**************************************************

        if (Session["SelectedMethod"] != null)
        {
            strMethod = Session["SelectedMethod"].ToString();
        }
        if (strMethod == "")
        {
            lblMessageToUser.Text = "Error: Please select method to call.";
            return;
        }

        //************************************************

        string strParamsSpecified = txtParamSpecified.Text.Trim();

        if (
            (strParamsSpecified == "") &&
            (lstParam.Items.Count > 0)
            )
        {
            lblMessageToUser.Text = "Error: Please specify required parameters.";
            return;
        }

        string[] arrIndividualParam = strParamsSpecified.Split(',');

        int arrCount = arrIndividualParam.Count();

        if (arrCount != lstParam.Items.Count)
        {
            lblMessageToUser.Text = "Required number of parameters were not specified.";
            return;
        }

        //************************************************

        float flClientThreshold = 0;
        bool  blnIsFloat        = float.TryParse(txtClientThreshold.Text.ToString(), out flClientThreshold);

        if (blnIsFloat)
        {
            if ((flClientThreshold >= 0) && (flClientThreshold <= 1))
            {
                updateClientPrivacyMatchThreshold(flClientThreshold);
            }
            else
            {
                lblMessageToUser.Text = "Client Threshold must be >=0 and <= 1.";
                return;
            }
        }
        else
        {
            lblMessageToUser.Text = "Client Threshold must be numeric.";
            return;
        }

        //************************************************

        // WS ID (which web service to call)
        const string c_strWebService1 = "WebService1";
        const string c_strWebService2 = "WebService2";
        const string c_strWebService3 = "WebService3";
        const string c_strWebService4 = "WebService4";
        const string c_strWebService5 = "WebService5";
        const int    c_intWebService1 = 1;
        const int    c_intWebService2 = 2;
        const int    c_intWebService3 = 3;
        const int    c_intWebService4 = 4;
        const int    c_intWebService5 = 5;
        int          intWebService    = 0;

        bool          blnCompatible                      = false;
        string        strDynamicCall_TypeName            = "";
        string        strDynamicCall_ConstructorArgument = "";
        Compatibility comp = new Compatibility();
        Type          typeWebServiceClient = null;

        switch (strWebService)
        {
        case c_strWebService1:
            intWebService                      = c_intWebService1;
            strDynamicCall_TypeName            = "WebService1.WebService1Client";
            strDynamicCall_ConstructorArgument = "BasicHttpBinding_IWebService1";
            typeWebServiceClient               = typeof(WebService1.WebService1Client);
            break;

        case c_strWebService2:
            intWebService                      = c_intWebService2;
            strDynamicCall_TypeName            = "WebService2.WebService2Client";
            strDynamicCall_ConstructorArgument = "BasicHttpBinding_IWebService2";
            typeWebServiceClient               = typeof(WebService2.WebService2Client);
            break;

        case c_strWebService3:
            intWebService                      = c_intWebService3;
            strDynamicCall_TypeName            = "WebService3.WebService3Client";
            strDynamicCall_ConstructorArgument = "BasicHttpBinding_IWebService3";
            typeWebServiceClient               = typeof(WebService3.WebService3Client);
            break;

        case c_strWebService4:
            intWebService                      = c_intWebService4;
            strDynamicCall_TypeName            = "WebService4.WebService4Client";
            strDynamicCall_ConstructorArgument = "BasicHttpBinding_IWebService4";
            typeWebServiceClient               = typeof(WebService4.WebService4Client);
            break;

        case c_strWebService5:
            intWebService                      = c_intWebService5;
            strDynamicCall_TypeName            = "WebService5.WebService5Client";
            strDynamicCall_ConstructorArgument = "BasicHttpBinding_IWebService5";
            typeWebServiceClient               = typeof(WebService5.WebService5Client);
            break;

        default:
            lblMessageToUser.Text = "Error: web service selected is not available";
            return;
        }

        //***************************************************************

        string test_results            = "";
        string strReturnMessage        = "";
        string strCompatibilityMessage = "";

        string strUniqueIdentifierForResubmit = txtUniqueIdentifierForResubmit.Text.Trim();
        Guid   gid = new Guid();

        if (strUniqueIdentifierForResubmit != "")
        {
            try
            {
                gid = new Guid(strUniqueIdentifierForResubmit);
            }
            catch (Exception ex)
            {
                lblCompatCheckResults.Text = "Unique identifier entered is not a GUID in the form required (for example, 0f8fad5b-d9cb-469f-a165-70867728950e)";
                return;
            }
        }
        string strIncentive = "";

        // check to make sure the client is compatible with the web service method
        blnCompatible = comp.checkClientCompatWithServiceMethod(intWebService, strMethod, ref strCompatibilityMessage, ref gid, ref strIncentive);

        //************************************************************
        if (blnCompatible)
        {
            // Compatible
            // No need to give Submission Identifier because user is not going to resubmit
            txtCompatMessage.Text = "Web Service " + intWebService.ToString() + ", Method " + strMethod + "\n\n" +
                                    strCompatibilityMessage;
            Session["CompatibilityMessage"] = txtCompatMessage.Text;
        }
        else
        {
            // incompatible

            if (strIncentive == "No Incentive")
            {
                // no incentive offered by WS
                txtCompatMessage.Text = "Web Service " + intWebService.ToString() + ", Method " + strMethod + "\n\n" +
                                        "Submission Identifier: " + gid.ToString() + "\n" +
                                        "There are no additional WS offers.\n" +
                                        "Please change incompatible privacy requirements and resubmit with identifier.\n\n" +
                                        strCompatibilityMessage;
                Session["CompatibilityMessage"] = txtCompatMessage.Text;
            }
            else
            {
                // incentive offered by WS, display to user
                txtCompatMessage.Text = "Web Service " + intWebService.ToString() + ", Method " + strMethod + "\n\n" +
                                        "Submission Identifier: " + gid.ToString() + "\n" +
                                        "Incentive offered by WS: " + strIncentive + "\n" +
                                        "* To accept offer, change incompatible privacy requirements and resubmit with identifier.\n" +
                                        "* To seek another offer, keep privacy requirements as they are and resubmit with identifier.\n\n" +
                                        strCompatibilityMessage;
                Session["CompatibilityMessage"] = txtCompatMessage.Text;
            }
        }

        //************************************************************

        // if compatible, then proceed with calling the specified method
        if (blnCompatible)
        {
            lblCompatCheckResults.Text = "Client Privacy Requirements and WS Method Privacy Policies <u>are compatible</u>. Now calling method.";

            string strParamDescription  = "";
            int    intIndexOfLeftParen  = 0;
            int    intIndexOfRightParen = 0;
            string strSubString         = "";

            // We go through the names of parameters that pertain to method that is going to be called
            int      intNewSize   = 0;
            object[] arrayOfParam = new object[0];
            for (int x = 0; x < lstParam.Items.Count; x++)
            {
                intNewSize++;
                Array.Resize(ref arrayOfParam, intNewSize);
                strParamDescription = lstParam.Items[x].ToString();

                if (strParamDescription.Contains("Output Param"))
                {
                    // this is an output param, so we just send an empty string to the method
                    // the user should not have specified any value for this parameter
                    arrayOfParam[intNewSize - 1] = "";
                }
                else
                {
                    // this is not an output parameter; we use the user-specified value
                    intIndexOfLeftParen  = strParamDescription.IndexOf("(");
                    intIndexOfRightParen = strParamDescription.IndexOf(")");
                    strSubString         = strParamDescription.Substring(intIndexOfLeftParen + 1, intIndexOfRightParen - intIndexOfLeftParen - 1);

                    // this would need to be expanded later to handle the full range of types
                    // (at present, handle int and string)
                    Type myClassType = null;
                    if (strSubString == "int")
                    {
                        int  intNum;
                        bool IsInt = int.TryParse(arrIndividualParam[x].ToString(), out intNum);

                        if (IsInt)
                        {
                            strSubString = "System.Int32";
                            myClassType  = Type.GetType(strSubString);
                            arrayOfParam[intNewSize - 1] = doCast(arrIndividualParam[x], myClassType);
                        }
                        else
                        {
                            lblMessageToUser.Text = "Error: the value entered (" + arrIndividualParam[x].ToString()
                                                    + ") is not an int";
                            return;
                        }
                    }
                    else
                    {
                        // put the user-specified param value in the array that will store all specified values
                        arrayOfParam[intNewSize - 1] = arrIndividualParam[x];
                    }
                }
            }

            // dynamically call the web service and method specified by the user in the GUI
            // this allows us to have a dynamic number of parameters
            strReturnMessage = (string)Invoker.CreateAndInvoke
                               (
                typeWebServiceClient,
                strDynamicCall_TypeName,                                // ex) "WebService1.WebService1Client"
                new object[] { strDynamicCall_ConstructorArgument },    // ex) "BasicHttpBinding_IWebService1"
                strMethod,                                              // ex) "getLabResults"
                arrayOfParam                                            // note: this will contain the return ref param value
                               );

            // ORIGINAL CODE (example):
            //proxy1 = new WebService1.WebService1Client("BasicHttpBinding_IWebService1");
            //strReturnMessage = proxy1.getLabResults(patient_id, ref test_results);

            // Note: in order to get the full set of parameters after the fact, whether by-value or by-ref param,
            // we need to look at arrayOfParam
            test_results = arrayOfParam[1].ToString();  // get the return ref param value

            txtResults.Text = strReturnMessage + test_results;
        }
        else
        {
            lblCompatCheckResults.Text = "Client Privacy Requirements and WS Method Privacy Policies <u>are not compatible</u>. Method will not be called.";
        }
    }
Example #22
0
 public DaggerUnit(IActor actor)
 {
     this.actor = Compatibility.Check <IDaggerRobot>(this, actor);
 }
        public override void OnInspectorGUI()
        {
            serializedObject.Update();

            if (_isInitialized.value.boolValue == false)
            {
                _bloomIntensity.value.floatValue        = 1f;
                _bloomIntensity.overrideState.boolValue = true;

                _lensSurfaceDirtIntensity.value.floatValue               = 2.5f;
                _lensSurfaceDirtIntensity.overrideState.boolValue        = true;
                _lensSurfaceDiffractionIntensity.value.floatValue        = 2f;
                _lensSurfaceDiffractionIntensity.overrideState.boolValue = true;

                _lensFlareGhostIntensity.value.floatValue        = 1.0f;
                _lensFlareGhostIntensity.overrideState.boolValue = true;
                _lensFlareHaloIntensity.value.floatValue         = 1.0f;
                _lensFlareHaloIntensity.overrideState.boolValue  = true;

                _glareSample0Intensity.value.floatValue        = 1.0f;
                _glareSample0Intensity.overrideState.boolValue = true;
                _glareSample1Intensity.value.floatValue        = 1.0f;
                _glareSample1Intensity.overrideState.boolValue = true;
                _glareSample2Intensity.value.floatValue        = 1.0f;
                _glareSample2Intensity.overrideState.boolValue = true;
                _glareSample3Intensity.value.floatValue        = 1.0f;
                _glareSample3Intensity.overrideState.boolValue = true;

                _isInitialized.value.boolValue = true;
            }

            EditorHelper.VerticalSpace();

            EditorHelper.EditorUIContent.IsNotSupportedWarning();
            EditorHelper.EditorUIContent.XRUnityVersionWarning();
            if (_workflow.value.enumValueIndex == 1)
            {
                EditorHelper.EditorUIContent.SelectiveWorkflowDeprecated();
            }

            if (EditorHelper.HandleBehavior(_showEditorMainBehavior.value.serializedObject.targetObject, EditorHelper.EditorUIContent.mainTitle, "", _showEditorMainBehavior.value, null))
            {
                PropertyField(_allowGeometryShaders, Tooltips.allowGeometryShaders);
                PropertyField(_allowComputeShaders, Tooltips.allowComputeShaders);
                PropertyField(_renderPriority, Tooltips.renderPriority);
                PropertyField(_debugView, Tooltips.debugView);
                PropertyField(_quality, Tooltips.quality);
                PropertyField(_antiFlickerMode, Tooltips.antiFlickerMode);
                PropertyField(_workflow, Tooltips.workflow);
                EditorHelper.EditorUIContent.SelectiveWorkflowVRWarning((Workflow)_workflow.value.enumValueIndex);
                if (_workflow.value.enumValueIndex == 1)
                {
                    PropertyField(_selectiveRenderLayerMask, Tooltips.selectiveRenderLayerMask);
                }
                PropertyField(_anamorphicRatio, Tooltips.anamorphicRatio);
                PropertyField(_lumaScale, Tooltips.lumaScale);
                if (_renderPriority.value.enumValueIndex != 2 && _workflow.value.enumValueIndex != 2)
                {
                    PropertyField(_blooming, Tooltips.blooming);
                }
                EditorHelper.VerticalSpace();
            }

            if (EditorHelper.HandleBehavior(_showEditorBloomBehavior.value.serializedObject.targetObject, EditorHelper.EditorUIContent.bloomTitle, "", _showEditorBloomBehavior.value, null))
            {
                if (_workflow.value.enumValueIndex == 0)
                {
                    PropertyField(_bloomThreshold, Tooltips.bloomThreshold);
                }
                PropertyField(_bloomScattering, Tooltips.bloomScattering);
                PropertyField(_bloomIntensity, Tooltips.bloomIntensity);
                _bloomIntensity.value.floatValue = Mathf.Max(0, _bloomIntensity.value.floatValue);

                EditorHelper.VerticalSpace();
            }

            if (EditorHelper.HandleBehavior(_showEditorLensSurfaceBehavior.value.serializedObject.targetObject, EditorHelper.EditorUIContent.lensSurfaceTitle, "", _showEditorLensSurfaceBehavior.value, _allowLensSurface.value))
            {
                using (new EditorGUI.DisabledScope(!_allowLensSurface.value.boolValue))
                {
                    EditorHelper.DrawHeader(EditorHelper.EditorUIContent.dirtTitle);
                    PropertyField(_lensSurfaceDirtTexture, Tooltips.lensSurfaceDirtTexture);
                    PropertyField(_lensSurfaceDirtIntensity, Tooltips.lensSurfaceDirtIntensity);
                    _lensSurfaceDirtIntensity.value.floatValue = Mathf.Max(0, _lensSurfaceDirtIntensity.value.floatValue);
                    EditorGUILayout.Space();
                    EditorHelper.DrawHeader(EditorHelper.EditorUIContent.diffractionTitle);
                    PropertyField(_lensSurfaceDiffractionTexture, Tooltips.lensSurfaceDiffractionTexture);
                    PropertyField(_lensSurfaceDiffractionIntensity, Tooltips.lensSurfaceDiffractionIntensity);
                    _lensSurfaceDiffractionIntensity.value.floatValue = Mathf.Max(0, _lensSurfaceDiffractionIntensity.value.floatValue);
                }
                EditorHelper.VerticalSpace();
            }

            if (Compatibility.CheckLensFlareFeatureSupport() && _quality.value.intValue <= 4)
            {
                if (EditorHelper.HandleBehavior(_showEditorLensFlareBehavior.value.serializedObject.targetObject, EditorHelper.EditorUIContent.lensFlareTitle, "", _showEditorLensFlareBehavior.value, _allowLensFlare.value))
                {
                    using (new EditorGUI.DisabledScope(!_allowLensFlare.value.boolValue))
                    {
                        PropertyField(_lensFlareStyle, Tooltips.lensFlareStyle);
                        if (_workflow.value.enumValueIndex == 0)
                        {
                            PropertyField(_lensFlareThreshold, Tooltips.lensFlareThreshold);
                        }
                        PropertyField(_lensFlareScattering, Tooltips.lensFlareScattering);
                        PropertyField(_lensFlareColorRamp, Tooltips.lensFlareColorRamp);
                        PropertyField(_lensFlareChromaticAberration, Tooltips.lensFlareChromaticAberration);

                        EditorGUILayout.Space();
                        EditorHelper.DrawHeader(EditorHelper.EditorUIContent.ghostsTitle);
                        if (_lensFlareStyle.value.enumValueIndex == 0)
                        {
                            PropertyField(_lensFlareGhostFade, Tooltips.lensFlareGhostFade);
                            PropertyField(_lensFlareGhostCount, Tooltips.lensFlareGhostCount);
                            PropertyField(_lensFlareGhostDispersal, Tooltips.lensFlareGhostDispersal);
                        }
                        PropertyField(_lensFlareGhostIntensity, Tooltips.lensFlareGhostIntensity);
                        _lensFlareGhostIntensity.value.floatValue = Mathf.Max(0, _lensFlareGhostIntensity.value.floatValue);

                        EditorGUILayout.Space();
                        EditorHelper.DrawHeader(EditorHelper.EditorUIContent.haloTitle);
                        if (_lensFlareStyle.value.enumValueIndex == 0)
                        {
                            PropertyField(_lensFlareHaloFade, Tooltips.lensFlareHaloFade);
                            PropertyField(_lensFlareHaloSize, Tooltips.lensFlareHaloSize);
                        }
                        PropertyField(_lensFlareHaloIntensity, Tooltips.lensFlareHaloIntensity);
                        _lensFlareHaloIntensity.value.floatValue = Mathf.Max(0, _lensFlareHaloIntensity.value.floatValue);
                    }
                    EditorHelper.VerticalSpace();
                }
            }
            else
            {
                EditorHelper.DrawSplitter();
                EditorHelper.EditorUIContent.LensFlareFeatureNotSupportedWarning();
            }

            if (Compatibility.CheckGlareFeatureSupport() && _quality.value.intValue <= 4)
            {
                if (EditorHelper.HandleBehavior(_showEditorGlareBehavior.value.serializedObject.targetObject, EditorHelper.EditorUIContent.glareTitle, "", _showEditorGlareBehavior.value, _allowGlare.value))
                {
                    using (new EditorGUI.DisabledScope(!_allowGlare.value.boolValue))
                    {
                        PropertyField(_glareStyle, Tooltips.glareStyle);
                        if (_workflow.value.enumValueIndex == 0)
                        {
                            PropertyField(_glareThreshold, Tooltips.glareThreshold);
                        }
                        if (_glareStyle.value.enumValueIndex == 0)
                        {
                            PropertyField(_glareStreaks, Tooltips.glareStreaks);
                        }
                        PropertyField(_glareBlend, Tooltips.glareBlend);
                        PropertyField(_glareAngle, Tooltips.glareAngle);
                        PropertyField(_glareScattering, Tooltips.glareScattering);
                        PropertyField(_glareIntensity, Tooltips.glareIntensity);
                        _glareScattering.value.floatValue = Mathf.Max(0, _glareScattering.value.floatValue);
                        _glareIntensity.value.floatValue  = Mathf.Max(0, _glareIntensity.value.floatValue);

                        if (_glareStyle.value.enumValueIndex == 0)
                        {
                            EditorGUILayout.Space();
                            EditorHelper.DrawHeader(EditorHelper.EditorUIContent.sample0Title);
                            PropertyField(_glareSample0Scattering, Tooltips.glareSample0Scattering);
                            PropertyField(_glareSample0Angle, Tooltips.glareSample0Angle);
                            PropertyField(_glareSample0Offset, Tooltips.glareSample0Offset);
                            PropertyField(_glareSample0Intensity, Tooltips.glareSample0Intensity);
                            _glareSample0Intensity.value.floatValue = Mathf.Max(0, _glareSample0Intensity.value.floatValue);

                            if (_glareStreaks.value.intValue >= 2)
                            {
                                EditorGUILayout.Space();
                                EditorHelper.DrawHeader(EditorHelper.EditorUIContent.sample1Title);
                                PropertyField(_glareSample1Scattering, Tooltips.glareSample1Scattering);
                                PropertyField(_glareSample1Angle, Tooltips.glareSample1Angle);
                                PropertyField(_glareSample1Offset, Tooltips.glareSample1Offset);
                                PropertyField(_glareSample1Intensity, Tooltips.glareSample1Intensity);
                                _glareSample1Intensity.value.floatValue = Mathf.Max(0, _glareSample1Intensity.value.floatValue);
                            }

                            if (_glareStreaks.value.intValue >= 3)
                            {
                                EditorGUILayout.Space();
                                EditorHelper.DrawHeader(EditorHelper.EditorUIContent.sample2Title);
                                PropertyField(_glareSample2Scattering, Tooltips.glareSample2Scattering);
                                PropertyField(_glareSample2Angle, Tooltips.glareSample2Angle);
                                PropertyField(_glareSample2Offset, Tooltips.glareSample2Offset);
                                PropertyField(_glareSample2Intensity, Tooltips.glareSample2Intensity);
                                _glareSample2Intensity.value.floatValue = Mathf.Max(0, _glareSample2Intensity.value.floatValue);
                            }

                            if (_glareStreaks.value.intValue >= 4)
                            {
                                EditorGUILayout.Space();
                                EditorHelper.DrawHeader(EditorHelper.EditorUIContent.sample3Title);
                                PropertyField(_glareSample3Scattering, Tooltips.glareSample3Scattering);
                                PropertyField(_glareSample3Angle, Tooltips.glareSample3Angle);
                                PropertyField(_glareSample3Offset, Tooltips.glareSample3Offset);
                                PropertyField(_glareSample3Intensity, Tooltips.glareSample3Intensity);
                                _glareSample3Intensity.value.floatValue = Mathf.Max(0, _glareSample3Intensity.value.floatValue);
                            }
                        }
                    }
                }
                EditorHelper.VerticalSpace();
            }
            else
            {
                EditorHelper.DrawSplitter();
                EditorHelper.EditorUIContent.GlareFeatureNotSupportedWarning();
            }
            EditorHelper.DrawSplitter();

            serializedObject.ApplyModifiedProperties();
        }
Example #24
0
 public void SaveOrUpdate(Compatibility compatibility)
 {
     GetDatabaseConnection().SaveOrUpdate(compatibility);
 }
Example #25
0
		/// <summary>
		/// Creates a new 2D FFT plan (new API)
		/// </summary>
		/// <param name="handle">cufftHandle object</param>
		/// <param name="nx">The transform size in the X dimension (number of rows)</param>
		/// <param name="ny">The transform size in the Y dimension (number of columns)</param>
		/// <param name="type">The transform data type (e.g., C2R for complex to real)</param>
		/// <param name="stream">A valid CUDA stream created with cudaStreamCreate() (or 0 for the default stream)</param>
		/// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
		/// <param name="size"></param>
		/// <param name="autoAllocate">indicates that the caller intends to allocate and manage
		/// work areas for plans that have been generated.</param>
		public CudaFFTPlan2D(cufftHandle handle, int nx, int ny, cufftType type, CUstream stream, Compatibility mode, ref SizeT size, bool autoAllocate)
			: this(handle, nx, ny, type, ref size)
		{
			SetStream(stream);
			SetCompatibilityMode(mode);
			SetAutoAllocation(autoAllocate);
		}
Example #26
0
 public WardUnit(IActor actor)
 {
     this.actor = Compatibility.Check <IWardRobot>(this, actor);
 }
Example #27
0
 protected override void OnMouseDown(Compatibility.Gtk.MouseEventArgs e)
 {
     OnChartMouseDown(this, e);
     base.OnMouseDown(e);
 }
 public Task <Config> SetGlobalCompatibilityAsync(Compatibility compatibility)
 => RequestAsync <Config>(
     "/config",
     HttpMethod.Put,
     new Config(compatibility));
Example #29
0
 /// <summary>
 /// Creates a new 1D FFT plan (new API)
 /// </summary>
 /// <param name="handle">cufftHandle object</param>
 /// <param name="nx">The transform size (e.g., 256 for a 256-point FFT)</param>
 /// <param name="type">The transform data type (e.g., C2C for complex to complex)</param>
 /// <param name="batch">Number of transforms of size nx</param>
 /// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
 /// <param name="size"></param>
 public CudaFFTPlan1D(cufftHandle handle, int nx, cufftType type, int batch, Compatibility mode, ref SizeT size)
     : this(handle, nx, type, batch, ref size)
 {
     SetCompatibilityMode(mode);
 }
Example #30
0
		/// <summary>
		/// Creates a new 1D FFT plan (new API)
		/// </summary>
		/// <param name="handle">cufftHandle object</param>
		/// <param name="nx">The transform size (e.g., 256 for a 256-point FFT)</param>
		/// <param name="type">The transform data type (e.g., C2C for complex to complex)</param>
		/// <param name="batch">Number of transforms of size nx</param>
		/// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
		public CudaFFTPlan1D(cufftHandle handle, int nx, cufftType type, int batch, Compatibility mode)
			: this(handle, nx, type, batch)
		{
			SetCompatibilityMode(mode);
		}
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15" } };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "120" };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 720 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting() { Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting() { Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting() { Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting() { Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting() { Name = new EnumValue<CompatSettingNameValues>() { InnerText = "differentiateMultirowTableHeaders" }, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "00BC116E" };
            Rsid rsid1 = new Rsid() { Val = "00283DF8" };
            Rsid rsid2 = new Rsid() { Val = "00361E43" };
            Rsid rsid3 = new Rsid() { Val = "00370D51" };
            Rsid rsid4 = new Rsid() { Val = "004C4FC4" };
            Rsid rsid5 = new Rsid() { Val = "006D7AD3" };
            Rsid rsid6 = new Rsid() { Val = "00962641" };
            Rsid rsid7 = new Rsid() { Val = "00A93DB9" };
            Rsid rsid8 = new Rsid() { Val = "00AB286F" };
            Rsid rsid9 = new Rsid() { Val = "00BC116E" };
            Rsid rsid10 = new Rsid() { Val = "00D26AC8" };
            Rsid rsid11 = new Rsid() { Val = "00FF01F2" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);
            rsids1.Append(rsid9);
            rsids1.Append(rsid10);
            rsids1.Append(rsid11);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "en-NZ" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults1 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults2 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 1026 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "." };
            ListSeparator listSeparator1 = new ListSeparator() { Val = "," };
            OpenXmlUnknownElement openXmlUnknownElement1 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<w15:chartTrackingRefBased xmlns:w15=\"http://schemas.microsoft.com/office/word/2012/wordml\" />");

            OpenXmlUnknownElement openXmlUnknownElement2 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<w15:docId w15:val=\"{454EFE2E-17DD-4236-8FF7-F2C7EA139650}\" xmlns:w15=\"http://schemas.microsoft.com/office/word/2012/wordml\" />");

            settings1.Append(zoom1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(openXmlUnknownElement1);
            settings1.Append(openXmlUnknownElement2);

            documentSettingsPart1.Settings = settings1;
        }
Example #32
0
 /// <summary>
 /// Creates a new 1D FFT plan (new API)
 /// </summary>
 /// <param name="handle">cufftHandle object</param>
 /// <param name="nx">The transform size (e.g., 256 for a 256-point FFT)</param>
 /// <param name="type">The transform data type (e.g., C2C for complex to complex)</param>
 /// <param name="batch">Number of transforms of size nx</param>
 /// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
 /// <param name="autoAllocate">indicates that the caller intends to allocate and manage
 /// work areas for plans that have been generated.</param>
 public CudaFFTPlan1D(cufftHandle handle, int nx, cufftType type, int batch, Compatibility mode, bool autoAllocate)
     : this(handle, nx, type, batch)
 {
     SetCompatibilityMode(mode);
     SetAutoAllocation(autoAllocate);
 }
 public Task <Config> SetCompatibilityAsync(string subject, Compatibility compatibility)
 => RequestAsync <Config>(
     $"/config/{subject}",
     HttpMethod.Put,
     new Config(compatibility));
Example #34
0
 /// <summary>
 /// Creates a new 1D FFT plan (new API)
 /// </summary>
 /// <param name="handle">cufftHandle object</param>
 /// <param name="nx">The transform size (e.g., 256 for a 256-point FFT)</param>
 /// <param name="type">The transform data type (e.g., C2C for complex to complex)</param>
 /// <param name="batch">Number of transforms of size nx</param>
 /// <param name="stream">A valid CUDA stream created with cudaStreamCreate() (or 0 for the default stream)</param>
 /// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
 /// <param name="size"></param>
 /// <param name="autoAllocate">indicates that the caller intends to allocate and manage
 /// work areas for plans that have been generated.</param>
 public CudaFFTPlan1D(cufftHandle handle, int nx, cufftType type, int batch, CUstream stream, Compatibility mode, ref SizeT size, bool autoAllocate)
     : this(handle, nx, type, batch, ref size)
 {
     SetStream(stream);
     SetCompatibilityMode(mode);
     SetAutoAllocation(autoAllocate);
 }
Example #35
0
        public void DefineKeyboardControl(IKeyboardController _pool, string controllerId)
        {
            var pool = Compatibility.Check <KeyboardController <PudgeCommand> >(this, _pool);

            if (controllerId == TwoPlayersId.Left)
            {
                pool.Add(Keys.W, () => new PudgeCommand {
                    GameMovement = new GameMovement {
                        Range = keyboardMovementRange
                    }
                });
                pool.Add(Keys.A,
                         () => new PudgeCommand {
                    GameMovement = new GameMovement {
                        Angle = keyboardRotationAngle
                    }
                });
                pool.Add(Keys.D,
                         () => new PudgeCommand {
                    GameMovement = new GameMovement {
                        Angle = -keyboardRotationAngle
                    }
                });
                pool.Add(Keys.Space, () => new PudgeCommand {
                    MakeHook = true
                });
                pool.Add(Keys.F, () => new PudgeCommand {
                    MakeDagger        = true,
                    DaggerDestination = new DaggerDestinationPoint(0, 0)
                });
                pool.Add(Keys.G, () => new PudgeCommand {
                    MakeWard = true
                });
            }
            else
            {
                pool.Add(Keys.I, () => new PudgeCommand {
                    GameMovement = new GameMovement {
                        Range = MovementRange
                    }
                });
                pool.Add(Keys.J,
                         () => new PudgeCommand {
                    GameMovement = new GameMovement {
                        Angle = keyboardRotationAngle
                    }
                });
                pool.Add(Keys.L,
                         () => new PudgeCommand {
                    GameMovement = new GameMovement {
                        Angle = -keyboardRotationAngle
                    }
                });
                pool.Add(Keys.Enter, () => new PudgeCommand {
                    MakeHook = true
                });
            }
            pool.StopCommand = () => new PudgeCommand {
                GameMovement = new GameMovement {
                    WaitTime = WaitDuration
                }
            };
        }
Example #36
0
 /// <summary>
 /// Creates a new 1D FFT plan (old API)
 /// </summary>
 /// <param name="nx">The transform size (e.g., 256 for a 256-point FFT)</param>
 /// <param name="type">The transform data type (e.g., C2C for complex to complex)</param>
 /// <param name="batch">Number of transforms of size nx</param>
 /// <param name="stream">A valid CUDA stream created with cudaStreamCreate() (or 0 for the default stream)</param>
 /// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
 public CudaFFTPlan1D(int nx, cufftType type, int batch, CUstream stream, Compatibility mode)
     : this(nx, type, batch)
 {
     SetStream(stream);
     SetCompatibilityMode(mode);
 }
Example #37
0
 protected void AdjustButtons(Padding padding, Padding margin)
 {
     panel2.Margin  = Compatibility.ToWinFormPadding(margin);
     panel2.Padding = Compatibility.ToWinFormPadding(padding);
 }
Example #38
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14 w15" }  };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom(){ Percent = "120" };
            DoNotDisplayPageBoundaries doNotDisplayPageBoundaries1 = new DoNotDisplayPageBoundaries();
            BordersDoNotSurroundHeader bordersDoNotSurroundHeader1 = new BordersDoNotSurroundHeader();
            BordersDoNotSurroundFooter bordersDoNotSurroundFooter1 = new BordersDoNotSurroundFooter();
            ProofState proofState1 = new ProofState(){ Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop(){ Val = 840 };
            DisplayHorizontalDrawingGrid displayHorizontalDrawingGrid1 = new DisplayHorizontalDrawingGrid(){ Val = 0 };
            DisplayVerticalDrawingGrid displayVerticalDrawingGrid1 = new DisplayVerticalDrawingGrid(){ Val = 2 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl(){ Val = CharacterSpacingValues.CompressPunctuation };

            Compatibility compatibility1 = new Compatibility();
            SpaceForUnderline spaceForUnderline1 = new SpaceForUnderline();
            BalanceSingleByteDoubleByteWidth balanceSingleByteDoubleByteWidth1 = new BalanceSingleByteDoubleByteWidth();
            DoNotLeaveBackslashAlone doNotLeaveBackslashAlone1 = new DoNotLeaveBackslashAlone();
            UnderlineTrailingSpaces underlineTrailingSpaces1 = new UnderlineTrailingSpaces();
            DoNotExpandShiftReturn doNotExpandShiftReturn1 = new DoNotExpandShiftReturn();
            AdjustLineHeightInTable adjustLineHeightInTable1 = new AdjustLineHeightInTable();
            UseFarEastLayout useFarEastLayout1 = new UseFarEastLayout();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting(){ Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting(){ Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting(){ Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DifferentiateMultirowTableHeaders, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(spaceForUnderline1);
            compatibility1.Append(balanceSingleByteDoubleByteWidth1);
            compatibility1.Append(doNotLeaveBackslashAlone1);
            compatibility1.Append(underlineTrailingSpaces1);
            compatibility1.Append(doNotExpandShiftReturn1);
            compatibility1.Append(adjustLineHeightInTable1);
            compatibility1.Append(useFarEastLayout1);
            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot(){ Val = "009423EF" };
            Rsid rsid1 = new Rsid(){ Val = "0008591D" };
            Rsid rsid2 = new Rsid(){ Val = "000F6BB9" };
            Rsid rsid3 = new Rsid(){ Val = "009423EF" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont(){ Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary(){ Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction(){ Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction(){ Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin(){ Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin(){ Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification(){ Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent(){ Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation(){ Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation(){ Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages(){ Val = "en-US", EastAsia = "ja-JP" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping(){ Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults1 = new ShapeDefaults();

            Ovml.ShapeDefaults shapeDefaults2 = new Ovml.ShapeDefaults(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 1026 };
            V.TextBox textBox1 = new V.TextBox(){ Inset = "5.85pt,.7pt,5.85pt,.7pt" };

            shapeDefaults2.Append(textBox1);

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout(){ Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol(){ Val = "." };
            ListSeparator listSeparator1 = new ListSeparator(){ Val = "," };
            W14.DocumentId documentId1 = new W14.DocumentId(){ Val = "5F9C04B8" };
            W15.ChartTrackingRefBased chartTrackingRefBased1 = new W15.ChartTrackingRefBased();
            W15.PersistentDocumentId persistentDocumentId1 = new W15.PersistentDocumentId(){ Val = "{F93C67B3-65D9-4EFC-B3C8-42982111CA48}" };

            settings1.Append(zoom1);
            settings1.Append(doNotDisplayPageBoundaries1);
            settings1.Append(bordersDoNotSurroundHeader1);
            settings1.Append(bordersDoNotSurroundFooter1);
            settings1.Append(proofState1);
            settings1.Append(defaultTabStop1);
            settings1.Append(displayHorizontalDrawingGrid1);
            settings1.Append(displayVerticalDrawingGrid1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(documentId1);
            settings1.Append(chartTrackingRefBased1);
            settings1.Append(persistentDocumentId1);

            documentSettingsPart1.Settings = settings1;
        }
Example #39
0
        protected override void OnMouseMove(MouseEventArgs e)
        {
            if (!Table.IsEnabled || mouseDown == null)
            {
                base.OnMouseMove(e);
                return;
            }

            Point          pos       = e.Location;
            DrawnTableCell?cellUnder = Table.Cells[pos];

            if (mouseDown == false)
            {
                if (cellUnder != null && cellUnder.Enabled)
                {
                    Cursor = Cursors.Hand;
                }
                else
                {
                    Cursor = Cursors.Default;
                }
                if (toolTip.Tag != null && !IsInArea((RectangleF)toolTip.Tag, pos))
                {
                    toolTip.Tag = null;
                    toolTip.Hide(this);
                }
                else if (Table.ShowToolTip && toolTip.Tag == null && cellUnder != null)
                {
                    Task.Factory.StartNew(async() =>
                    {
                        string?tipText = cellUnder.ToString();
                        if (cellUnder is DrawnTableCellsOverlap cellUnderOverlap)
                        {
                            tipText = "";
                            foreach (DrawnTableCell cell in cellUnderOverlap.Value)
                            {
                                tipText += cell + "\r\n\r\n";
                            }
                        }
                        if (string.IsNullOrEmpty(tipText))
                        {
                            return;
                        }

                        await Compatibility.TaskDelay(500);

                        try
                        {
                            if (mouseDown == true || toolTip.Tag != null)
                            {
                                return;
                            }
                            Invoke((MethodInvoker) delegate
                            {
                                Point posNew = CursorPosition();
                                if (cellUnder != Table.Cells[posNew])
                                {
                                    return;
                                }
                                RectangleF lPos = cellUnder.Area;
                                toolTip.Tag     = lPos;
                                toolTip.Show(tipText, this, new Point((int)lPos.Left + 5, (int)lPos.Bottom + 5), int.MaxValue);
                            });
                        }
                        catch { }
                    });
                }
            }
            else
            {
                toolTip.Tag = null;
                toolTip.Hide(this);
            }

            if (mouseDown != true)
            {
                action = InteractAction.Hover;
                base.OnMouseMove(e);
                return;
            }

            if (action == InteractAction.CellCreating)
            {
                _ = interactWith ?? throw new NullReferenceException(nameof(interactWith));

                CellLocation?cLoc = Table.GetCellLocation(e.Location, false);
                if (cLoc != null && cLoc.Value.Row != interactWith.Location.Row + interactWith.Rowspan - 1)
                {
                    if (cLoc.Value.Row >= interactWith.Location.Row)
                    {
                        int newRowspan = cLoc.Value.Row - interactWith.Location.Row + 1;
                        for (int i = 1; i < newRowspan; i++)
                        {
                            DrawnTableCell?tmp = Table.Cells[interactWith.Location.Row + i, interactWith.Location.Column];
                            if (interactWith.Location.Row + i >= Table.RowCount() || (tmp != null && tmp != interactWith))
                            {
                                newRowspan = i;
                                break;
                            }
                        }
                        interactWith.Rowspan = newRowspan;
                    }
                    else
                    {
                        interactWith.Rowspan = 1;
                    }
                }
            }
            else if (interactWith != null && interactWith.Enabled)
            {
                Cursor = Cursors.Hand;

                if (interactWith is DrawnTableCellsOverlap)
                {
                    allowDrop = false;
                }
                else if (Table.AllowDragDrop)
                {
                    bool isMovedFarEnoughToStartDragDrop = Math.Pow(startDrag.X - e.X, 2) + Math.Pow(startDrag.Y - e.Y, 2) > 3;
                    if (action == InteractAction.Drag || isMovedFarEnoughToStartDragDrop)
                    {
                        action = InteractAction.Drag;
                        Table.dRedrawEx.Execute(() => RedrawCellDrag(e));
                    }
                }
            }

            base.OnMouseMove(e);
        }
        protected override void ResetValues()
        {
            base.ResetValues();

            m_HasModified = false;
            m_DefineConstraintState.Clear();

            var minSizeOfDefines = importers.Min(x => x.DefineConstraints.Length);

            string[] baseImporterDefineConstraints = importer.DefineConstraints;

            foreach (var pluginImporter in importers)
            {
                var importerDefineConstraints = pluginImporter.DefineConstraints.Take(minSizeOfDefines).ToList();

                for (var i = 0; i < importerDefineConstraints.Count; i++)
                {
                    var importerDefineConstraint = importerDefineConstraints[i];
                    try
                    {
                        var symbolName = importerDefineConstraint.StartsWith(DefineConstraintsHelper.Not) ? importerDefineConstraint.Substring(1) : importerDefineConstraint;
                        if (!SymbolNameRestrictions.IsValid(symbolName))
                        {
                            throw new PrecompiledAssemblyException($"Invalid define constraint {symbolName}", symbolName);
                        }

                        Compatibility mixedValue = importerDefineConstraints[i] != baseImporterDefineConstraints[i] ? Compatibility.Mixed : Compatibility.Compatible;
                        m_DefineConstraintState.Add(new DefineConstraint {
                            name = importerDefineConstraint, displayValue = mixedValue
                        });
                    }
                    catch (PrecompiledAssemblyException exception)
                    {
                        Debug.LogException(exception, pluginImporter);
                        m_HasModified = true;
                    }
                }
            }

            ResetCompatability(ref m_CompatibleWithEditor, (imp => imp.GetCompatibleWithEditor()));
            ResetCompatability(ref m_AutoReferenced, (imp => !imp.IsExplicitlyReferenced));
            // If Any Platform is selected, initialize m_Compatible* variables using compatability function
            // If Any Platform is unselected, initialize m_Compatible* variables using exclude function
            // This gives correct initialization in case when plugin is imported for the first time, and only "Any Platform" is selected
            if (m_CompatibleWithAnyPlatform < Compatibility.Compatible)
            {
                ResetCompatability(ref m_CompatibleWithEditor, (imp => imp.GetCompatibleWithEditor("", "")));

                foreach (BuildTarget platform in GetValidBuildTargets())
                {
                    ResetCompatability(ref m_CompatibleWithPlatform[(int)platform], (imp => imp.GetCompatibleWithPlatform(platform)));
                }
            }
            else
            {
                ResetCompatability(ref m_CompatibleWithEditor, (imp => !imp.GetExcludeEditorFromAnyPlatform()));

                foreach (BuildTarget platform in GetValidBuildTargets())
                {
                    ResetCompatability(ref m_CompatibleWithPlatform[(int)platform], (imp => !imp.GetExcludeFromAnyPlatform(platform)));
                }
            }

            if (!IsEditingPlatformSettingsSupported())
            {
                return;
            }

            foreach (var extension in additionalExtensions)
            {
                extension.ResetValues(this);
            }

            foreach (BuildTarget platform in GetValidBuildTargets())
            {
                IPluginImporterExtension extension = ModuleManager.GetPluginImporterExtension(platform);
                if (extension != null)
                {
                    extension.ResetValues(this);
                }
            }
        }
 public async Task <Config> SetGlobalCompatibilityAsync(Compatibility compatibility)
 => await RequestAsync <Config>("config", HttpMethod.Put, new Config(compatibility))
 .ConfigureAwait(continueOnCapturedContext: false);
 private Compatibility SwitchToInclude(Compatibility value)
 {
     return(value);
 }
Example #43
0
 public static void Unlock()
 {
     Compatibility.LockCursor(false);
     Compatibility.SetCursorVisible(true);
     instance.LockCursor = false;
 }
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings();
            Zoom zoom1 = new Zoom() { Percent = "100" };
            AttachedTemplate attachedTemplate1 = new AttachedTemplate() { Id = "rId1" };
            LinkStyles linkStyles1 = new LinkStyles();
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 720 };
            HyphenationZone hyphenationZone1 = new HyphenationZone() { Val = "425" };
            NoPunctuationKerning noPunctuationKerning1 = new NoPunctuationKerning();
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };
            DoNotValidateAgainstSchema doNotValidateAgainstSchema1 = new DoNotValidateAgainstSchema();
            SaveInvalidXml saveInvalidXml1 = new SaveInvalidXml();
            IgnoreMixedContent ignoreMixedContent1 = new IgnoreMixedContent();

            HeaderShapeDefaults headerShapeDefaults1 = new HeaderShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults1 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 300034 };

            headerShapeDefaults1.Append(shapeDefaults1);

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference() { Id = -1 };
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference() { Id = 0 };

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference() { Id = -1 };
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference() { Id = 0 };

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);

            Compatibility compatibility1 = new Compatibility();
            UseFarEastLayout useFarEastLayout1 = new UseFarEastLayout();

            compatibility1.Append(useFarEastLayout1);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "002E7D22" };
            Rsid rsid1 = new Rsid() { Val = "00000151" };
            Rsid rsid2 = new Rsid() { Val = "0000036F" };
            Rsid rsid3 = new Rsid() { Val = "000107CA" };
            Rsid rsid4 = new Rsid() { Val = "00011A83" };
            Rsid rsid5 = new Rsid() { Val = "00026250" };
            Rsid rsid6 = new Rsid() { Val = "0002709C" };
            Rsid rsid7 = new Rsid() { Val = "00033A61" };
            Rsid rsid8 = new Rsid() { Val = "000369F7" };
            Rsid rsid9 = new Rsid() { Val = "00037233" };
            Rsid rsid10 = new Rsid() { Val = "000432BA" };
            Rsid rsid11 = new Rsid() { Val = "00046BAE" };
            Rsid rsid12 = new Rsid() { Val = "00050CB1" };
            Rsid rsid13 = new Rsid() { Val = "00055488" };
            Rsid rsid14 = new Rsid() { Val = "00056308" };
            Rsid rsid15 = new Rsid() { Val = "00056347" };
            Rsid rsid16 = new Rsid() { Val = "00067CFE" };
            Rsid rsid17 = new Rsid() { Val = "00072CF0" };
            Rsid rsid18 = new Rsid() { Val = "00090FFC" };
            Rsid rsid19 = new Rsid() { Val = "000A24FF" };
            Rsid rsid20 = new Rsid() { Val = "000A318E" };
            Rsid rsid21 = new Rsid() { Val = "000A5DCE" };
            Rsid rsid22 = new Rsid() { Val = "000A6BF0" };
            Rsid rsid23 = new Rsid() { Val = "000A778A" };
            Rsid rsid24 = new Rsid() { Val = "000A7D4C" };
            Rsid rsid25 = new Rsid() { Val = "000B0A8A" };
            Rsid rsid26 = new Rsid() { Val = "000B25F2" };
            Rsid rsid27 = new Rsid() { Val = "000B5DD7" };
            Rsid rsid28 = new Rsid() { Val = "000C0418" };
            Rsid rsid29 = new Rsid() { Val = "000C29E0" };
            Rsid rsid30 = new Rsid() { Val = "000C42AA" };
            Rsid rsid31 = new Rsid() { Val = "000C4F36" };
            Rsid rsid32 = new Rsid() { Val = "000D1AC7" };
            Rsid rsid33 = new Rsid() { Val = "000D6093" };
            Rsid rsid34 = new Rsid() { Val = "000E1B96" };
            Rsid rsid35 = new Rsid() { Val = "000E2EEF" };
            Rsid rsid36 = new Rsid() { Val = "000E365D" };
            Rsid rsid37 = new Rsid() { Val = "000E5A65" };
            Rsid rsid38 = new Rsid() { Val = "000E62B4" };
            Rsid rsid39 = new Rsid() { Val = "000F60EB" };
            Rsid rsid40 = new Rsid() { Val = "000F68FD" };
            Rsid rsid41 = new Rsid() { Val = "00100B85" };
            Rsid rsid42 = new Rsid() { Val = "00103C4D" };
            Rsid rsid43 = new Rsid() { Val = "0010766E" };
            Rsid rsid44 = new Rsid() { Val = "00113178" };
            Rsid rsid45 = new Rsid() { Val = "0012032A" };
            Rsid rsid46 = new Rsid() { Val = "00121411" };
            Rsid rsid47 = new Rsid() { Val = "001255B1" };
            Rsid rsid48 = new Rsid() { Val = "0013124D" };
            Rsid rsid49 = new Rsid() { Val = "001357A3" };
            Rsid rsid50 = new Rsid() { Val = "00136DF8" };
            Rsid rsid51 = new Rsid() { Val = "00140622" };
            Rsid rsid52 = new Rsid() { Val = "00141D32" };
            Rsid rsid53 = new Rsid() { Val = "00150E17" };
            Rsid rsid54 = new Rsid() { Val = "00151C60" };
            Rsid rsid55 = new Rsid() { Val = "00156A9E" };
            Rsid rsid56 = new Rsid() { Val = "00157D8A" };
            Rsid rsid57 = new Rsid() { Val = "001717CD" };
            Rsid rsid58 = new Rsid() { Val = "001777F8" };
            Rsid rsid59 = new Rsid() { Val = "00185AFD" };
            Rsid rsid60 = new Rsid() { Val = "00187ACA" };
            Rsid rsid61 = new Rsid() { Val = "0019393C" };
            Rsid rsid62 = new Rsid() { Val = "00194B6D" };
            Rsid rsid63 = new Rsid() { Val = "00195CE8" };
            Rsid rsid64 = new Rsid() { Val = "00196E39" };
            Rsid rsid65 = new Rsid() { Val = "001974FE" };
            Rsid rsid66 = new Rsid() { Val = "001A0A63" };
            Rsid rsid67 = new Rsid() { Val = "001A4082" };
            Rsid rsid68 = new Rsid() { Val = "001A67D6" };
            Rsid rsid69 = new Rsid() { Val = "001B011D" };
            Rsid rsid70 = new Rsid() { Val = "001B225F" };
            Rsid rsid71 = new Rsid() { Val = "001B6F6C" };
            Rsid rsid72 = new Rsid() { Val = "001B746B" };
            Rsid rsid73 = new Rsid() { Val = "001C4579" };
            Rsid rsid74 = new Rsid() { Val = "001D5E74" };
            Rsid rsid75 = new Rsid() { Val = "001D60A9" };
            Rsid rsid76 = new Rsid() { Val = "001D6F62" };
            Rsid rsid77 = new Rsid() { Val = "001E724B" };
            Rsid rsid78 = new Rsid() { Val = "001F7499" };
            Rsid rsid79 = new Rsid() { Val = "002058A3" };
            Rsid rsid80 = new Rsid() { Val = "00206CCC" };
            Rsid rsid81 = new Rsid() { Val = "00216E92" };
            Rsid rsid82 = new Rsid() { Val = "00222633" };
            Rsid rsid83 = new Rsid() { Val = "0022367F" };
            Rsid rsid84 = new Rsid() { Val = "00227F18" };
            Rsid rsid85 = new Rsid() { Val = "00233025" };
            Rsid rsid86 = new Rsid() { Val = "00233DD2" };
            Rsid rsid87 = new Rsid() { Val = "00240AED" };
            Rsid rsid88 = new Rsid() { Val = "00243071" };
            Rsid rsid89 = new Rsid() { Val = "00244BC4" };
            Rsid rsid90 = new Rsid() { Val = "002462E2" };
            Rsid rsid91 = new Rsid() { Val = "002509D3" };
            Rsid rsid92 = new Rsid() { Val = "00256073" };
            Rsid rsid93 = new Rsid() { Val = "002614AB" };
            Rsid rsid94 = new Rsid() { Val = "00261E4D" };
            Rsid rsid95 = new Rsid() { Val = "0026354B" };
            Rsid rsid96 = new Rsid() { Val = "00264CFB" };
            Rsid rsid97 = new Rsid() { Val = "00267B3B" };
            Rsid rsid98 = new Rsid() { Val = "00272AD9" };
            Rsid rsid99 = new Rsid() { Val = "00273990" };
            Rsid rsid100 = new Rsid() { Val = "00275427" };
            Rsid rsid101 = new Rsid() { Val = "00280514" };
            Rsid rsid102 = new Rsid() { Val = "002825BD" };
            Rsid rsid103 = new Rsid() { Val = "00282F5E" };
            Rsid rsid104 = new Rsid() { Val = "002836D3" };
            Rsid rsid105 = new Rsid() { Val = "00283CC4" };
            Rsid rsid106 = new Rsid() { Val = "00292192" };
            Rsid rsid107 = new Rsid() { Val = "00295BC7" };
            Rsid rsid108 = new Rsid() { Val = "002A248B" };
            Rsid rsid109 = new Rsid() { Val = "002A33EC" };
            Rsid rsid110 = new Rsid() { Val = "002A4E0E" };
            Rsid rsid111 = new Rsid() { Val = "002A5362" };
            Rsid rsid112 = new Rsid() { Val = "002A7539" };
            Rsid rsid113 = new Rsid() { Val = "002B0C9D" };
            Rsid rsid114 = new Rsid() { Val = "002B7BE9" };
            Rsid rsid115 = new Rsid() { Val = "002C2313" };
            Rsid rsid116 = new Rsid() { Val = "002C57EF" };
            Rsid rsid117 = new Rsid() { Val = "002D3F1B" };
            Rsid rsid118 = new Rsid() { Val = "002D5864" };
            Rsid rsid119 = new Rsid() { Val = "002D5BB8" };
            Rsid rsid120 = new Rsid() { Val = "002E1DC5" };
            Rsid rsid121 = new Rsid() { Val = "002E32B1" };
            Rsid rsid122 = new Rsid() { Val = "002E4819" };
            Rsid rsid123 = new Rsid() { Val = "002E5FC9" };
            Rsid rsid124 = new Rsid() { Val = "002E707E" };
            Rsid rsid125 = new Rsid() { Val = "002E7D22" };
            Rsid rsid126 = new Rsid() { Val = "003000C4" };
            Rsid rsid127 = new Rsid() { Val = "0031558F" };
            Rsid rsid128 = new Rsid() { Val = "00317CC3" };
            Rsid rsid129 = new Rsid() { Val = "00336490" };
            Rsid rsid130 = new Rsid() { Val = "00336875" };
            Rsid rsid131 = new Rsid() { Val = "0034101A" };
            Rsid rsid132 = new Rsid() { Val = "00344459" };
            Rsid rsid133 = new Rsid() { Val = "00354726" };
            Rsid rsid134 = new Rsid() { Val = "00356266" };
            Rsid rsid135 = new Rsid() { Val = "00374165" };
            Rsid rsid136 = new Rsid() { Val = "00375BA9" };
            Rsid rsid137 = new Rsid() { Val = "00381D4A" };
            Rsid rsid138 = new Rsid() { Val = "00385C36" };
            Rsid rsid139 = new Rsid() { Val = "00387921" };
            Rsid rsid140 = new Rsid() { Val = "003907B3" };
            Rsid rsid141 = new Rsid() { Val = "003924C4" };
            Rsid rsid142 = new Rsid() { Val = "00397A9E" };
            Rsid rsid143 = new Rsid() { Val = "003C2666" };
            Rsid rsid144 = new Rsid() { Val = "003C5F5D" };
            Rsid rsid145 = new Rsid() { Val = "003C6DE9" };
            Rsid rsid146 = new Rsid() { Val = "003D7741" };
            Rsid rsid147 = new Rsid() { Val = "003D786B" };
            Rsid rsid148 = new Rsid() { Val = "003E0EAC" };
            Rsid rsid149 = new Rsid() { Val = "003E4D99" };
            Rsid rsid150 = new Rsid() { Val = "003F0DD8" };
            Rsid rsid151 = new Rsid() { Val = "003F1967" };
            Rsid rsid152 = new Rsid() { Val = "003F1E87" };
            Rsid rsid153 = new Rsid() { Val = "003F2779" };
            Rsid rsid154 = new Rsid() { Val = "00401509" };
            Rsid rsid155 = new Rsid() { Val = "00413F24" };
            Rsid rsid156 = new Rsid() { Val = "00417B92" };
            Rsid rsid157 = new Rsid() { Val = "00417CB6" };
            Rsid rsid158 = new Rsid() { Val = "00423094" };
            Rsid rsid159 = new Rsid() { Val = "00430E1B" };
            Rsid rsid160 = new Rsid() { Val = "00432185" };
            Rsid rsid161 = new Rsid() { Val = "004427CC" };
            Rsid rsid162 = new Rsid() { Val = "004431D7" };
            Rsid rsid163 = new Rsid() { Val = "004438D9" };
            Rsid rsid164 = new Rsid() { Val = "00443A55" };
            Rsid rsid165 = new Rsid() { Val = "00443CD0" };
            Rsid rsid166 = new Rsid() { Val = "00444A32" };
            Rsid rsid167 = new Rsid() { Val = "00447118" };
            Rsid rsid168 = new Rsid() { Val = "00451171" };
            Rsid rsid169 = new Rsid() { Val = "004522C9" };
            Rsid rsid170 = new Rsid() { Val = "00453E48" };
            Rsid rsid171 = new Rsid() { Val = "00456F84" };
            Rsid rsid172 = new Rsid() { Val = "00461D37" };
            Rsid rsid173 = new Rsid() { Val = "00464492" };
            Rsid rsid174 = new Rsid() { Val = "004657C1" };
            Rsid rsid175 = new Rsid() { Val = "00466898" };
            Rsid rsid176 = new Rsid() { Val = "00472DEA" };
            Rsid rsid177 = new Rsid() { Val = "004805C1" };
            Rsid rsid178 = new Rsid() { Val = "004826CB" };
            Rsid rsid179 = new Rsid() { Val = "0049162E" };
            Rsid rsid180 = new Rsid() { Val = "00495D69" };
            Rsid rsid181 = new Rsid() { Val = "004A5AE6" };
            Rsid rsid182 = new Rsid() { Val = "004A6E9F" };
            Rsid rsid183 = new Rsid() { Val = "004A7F93" };
            Rsid rsid184 = new Rsid() { Val = "004B2B7F" };
            Rsid rsid185 = new Rsid() { Val = "004C0DA7" };
            Rsid rsid186 = new Rsid() { Val = "004C4687" };
            Rsid rsid187 = new Rsid() { Val = "004C7C60" };
            Rsid rsid188 = new Rsid() { Val = "004D12BE" };
            Rsid rsid189 = new Rsid() { Val = "004D5ECC" };
            Rsid rsid190 = new Rsid() { Val = "004E16FD" };
            Rsid rsid191 = new Rsid() { Val = "004E195A" };
            Rsid rsid192 = new Rsid() { Val = "004E54D9" };
            Rsid rsid193 = new Rsid() { Val = "004E7907" };
            Rsid rsid194 = new Rsid() { Val = "004F2494" };
            Rsid rsid195 = new Rsid() { Val = "004F2A92" };
            Rsid rsid196 = new Rsid() { Val = "00506462" };
            Rsid rsid197 = new Rsid() { Val = "00514769" };
            Rsid rsid198 = new Rsid() { Val = "00517D57" };
            Rsid rsid199 = new Rsid() { Val = "00523FC2" };
            Rsid rsid200 = new Rsid() { Val = "00524AA7" };
            Rsid rsid201 = new Rsid() { Val = "00532951" };
            Rsid rsid202 = new Rsid() { Val = "00535256" };
            Rsid rsid203 = new Rsid() { Val = "00544156" };
            Rsid rsid204 = new Rsid() { Val = "00545261" };
            Rsid rsid205 = new Rsid() { Val = "00547DDD" };
            Rsid rsid206 = new Rsid() { Val = "005536AE" };
            Rsid rsid207 = new Rsid() { Val = "00554657" };
            Rsid rsid208 = new Rsid() { Val = "005546F4" };
            Rsid rsid209 = new Rsid() { Val = "00560517" };
            Rsid rsid210 = new Rsid() { Val = "00561A98" };
            Rsid rsid211 = new Rsid() { Val = "005623FA" };
            Rsid rsid212 = new Rsid() { Val = "00562F9B" };
            Rsid rsid213 = new Rsid() { Val = "00566334" };
            Rsid rsid214 = new Rsid() { Val = "00572029" };
            Rsid rsid215 = new Rsid() { Val = "00574E3B" };
            Rsid rsid216 = new Rsid() { Val = "005754DB" };
            Rsid rsid217 = new Rsid() { Val = "00583853" };
            Rsid rsid218 = new Rsid() { Val = "00583E34" };
            Rsid rsid219 = new Rsid() { Val = "00584020" };
            Rsid rsid220 = new Rsid() { Val = "00592E66" };
            Rsid rsid221 = new Rsid() { Val = "00594B09" };
            Rsid rsid222 = new Rsid() { Val = "005A4976" };
            Rsid rsid223 = new Rsid() { Val = "005A4CCC" };
            Rsid rsid224 = new Rsid() { Val = "005A4E70" };
            Rsid rsid225 = new Rsid() { Val = "005A6F62" };
            Rsid rsid226 = new Rsid() { Val = "005B5C7C" };
            Rsid rsid227 = new Rsid() { Val = "005B7379" };
            Rsid rsid228 = new Rsid() { Val = "005C5D0D" };
            Rsid rsid229 = new Rsid() { Val = "005C5E18" };
            Rsid rsid230 = new Rsid() { Val = "005C722F" };
            Rsid rsid231 = new Rsid() { Val = "005D27DE" };
            Rsid rsid232 = new Rsid() { Val = "005D5D40" };
            Rsid rsid233 = new Rsid() { Val = "005D7E7A" };
            Rsid rsid234 = new Rsid() { Val = "005E40AC" };
            Rsid rsid235 = new Rsid() { Val = "005F2848" };
            Rsid rsid236 = new Rsid() { Val = "005F4DB9" };
            Rsid rsid237 = new Rsid() { Val = "005F6B60" };
            Rsid rsid238 = new Rsid() { Val = "006209F6" };
            Rsid rsid239 = new Rsid() { Val = "006248C1" };
            Rsid rsid240 = new Rsid() { Val = "0063624F" };
            Rsid rsid241 = new Rsid() { Val = "0065191A" };
            Rsid rsid242 = new Rsid() { Val = "00660821" };
            Rsid rsid243 = new Rsid() { Val = "00675ED0" };
            Rsid rsid244 = new Rsid() { Val = "00681EB3" };
            Rsid rsid245 = new Rsid() { Val = "006862EE" };
            Rsid rsid246 = new Rsid() { Val = "0069278B" };
            Rsid rsid247 = new Rsid() { Val = "006A0B1E" };
            Rsid rsid248 = new Rsid() { Val = "006A58D3" };
            Rsid rsid249 = new Rsid() { Val = "006B1D99" };
            Rsid rsid250 = new Rsid() { Val = "006D1BD8" };
            Rsid rsid251 = new Rsid() { Val = "006D2E84" };
            Rsid rsid252 = new Rsid() { Val = "006D39A0" };
            Rsid rsid253 = new Rsid() { Val = "006D6972" };
            Rsid rsid254 = new Rsid() { Val = "006E1177" };
            Rsid rsid255 = new Rsid() { Val = "006E384B" };
            Rsid rsid256 = new Rsid() { Val = "006E5BF6" };
            Rsid rsid257 = new Rsid() { Val = "006E6F86" };
            Rsid rsid258 = new Rsid() { Val = "006F02A4" };
            Rsid rsid259 = new Rsid() { Val = "006F57DE" };
            Rsid rsid260 = new Rsid() { Val = "006F58EB" };
            Rsid rsid261 = new Rsid() { Val = "006F6E20" };
            Rsid rsid262 = new Rsid() { Val = "006F74B4" };
            Rsid rsid263 = new Rsid() { Val = "00700510" };
            Rsid rsid264 = new Rsid() { Val = "00703676" };
            Rsid rsid265 = new Rsid() { Val = "00707FFA" };
            Rsid rsid266 = new Rsid() { Val = "00713208" };
            Rsid rsid267 = new Rsid() { Val = "007171C9" };
            Rsid rsid268 = new Rsid() { Val = "007247F0" };
            Rsid rsid269 = new Rsid() { Val = "00731EBE" };
            Rsid rsid270 = new Rsid() { Val = "0073257C" };
            Rsid rsid271 = new Rsid() { Val = "00740A1C" };
            Rsid rsid272 = new Rsid() { Val = "00751786" };
            Rsid rsid273 = new Rsid() { Val = "00751A3A" };
            Rsid rsid274 = new Rsid() { Val = "00751D5C" };
            Rsid rsid275 = new Rsid() { Val = "00753A74" };
            Rsid rsid276 = new Rsid() { Val = "00754A89" };
            Rsid rsid277 = new Rsid() { Val = "00761A8E" };
            Rsid rsid278 = new Rsid() { Val = "007643CF" };
            Rsid rsid279 = new Rsid() { Val = "00782598" };
            Rsid rsid280 = new Rsid() { Val = "0078481C" };
            Rsid rsid281 = new Rsid() { Val = "0079064C" };
            Rsid rsid282 = new Rsid() { Val = "007A0670" };
            Rsid rsid283 = new Rsid() { Val = "007A234D" };
            Rsid rsid284 = new Rsid() { Val = "007A2948" };
            Rsid rsid285 = new Rsid() { Val = "007A41D7" };
            Rsid rsid286 = new Rsid() { Val = "007B0BC0" };
            Rsid rsid287 = new Rsid() { Val = "007B2876" };
            Rsid rsid288 = new Rsid() { Val = "007B6346" };
            Rsid rsid289 = new Rsid() { Val = "007B661A" };
            Rsid rsid290 = new Rsid() { Val = "007B66F2" };
            Rsid rsid291 = new Rsid() { Val = "007B7BF0" };
            Rsid rsid292 = new Rsid() { Val = "007C1300" };
            Rsid rsid293 = new Rsid() { Val = "007C34CD" };
            Rsid rsid294 = new Rsid() { Val = "007C3DB4" };
            Rsid rsid295 = new Rsid() { Val = "007C4997" };
            Rsid rsid296 = new Rsid() { Val = "007C6A01" };
            Rsid rsid297 = new Rsid() { Val = "007C6AF0" };
            Rsid rsid298 = new Rsid() { Val = "007D0EFC" };
            Rsid rsid299 = new Rsid() { Val = "007D64BE" };
            Rsid rsid300 = new Rsid() { Val = "007E1E2F" };
            Rsid rsid301 = new Rsid() { Val = "007E6AA4" };
            Rsid rsid302 = new Rsid() { Val = "007E7586" };
            Rsid rsid303 = new Rsid() { Val = "008154D4" };
            Rsid rsid304 = new Rsid() { Val = "0082549B" };
            Rsid rsid305 = new Rsid() { Val = "008278CF" };
            Rsid rsid306 = new Rsid() { Val = "0083140B" };
            Rsid rsid307 = new Rsid() { Val = "00835077" };
            Rsid rsid308 = new Rsid() { Val = "00837232" };
            Rsid rsid309 = new Rsid() { Val = "00837AE4" };
            Rsid rsid310 = new Rsid() { Val = "008439F9" };
            Rsid rsid311 = new Rsid() { Val = "00850F31" };
            Rsid rsid312 = new Rsid() { Val = "00851D16" };
            Rsid rsid313 = new Rsid() { Val = "00852F72" };
            Rsid rsid314 = new Rsid() { Val = "00855B1B" };
            Rsid rsid315 = new Rsid() { Val = "008602C0" };
            Rsid rsid316 = new Rsid() { Val = "00860BAA" };
            Rsid rsid317 = new Rsid() { Val = "00862EA1" };
            Rsid rsid318 = new Rsid() { Val = "0086518C" };
            Rsid rsid319 = new Rsid() { Val = "00871C48" };
            Rsid rsid320 = new Rsid() { Val = "00872DEA" };
            Rsid rsid321 = new Rsid() { Val = "008737BB" };
            Rsid rsid322 = new Rsid() { Val = "00880A12" };
            Rsid rsid323 = new Rsid() { Val = "0088564B" };
            Rsid rsid324 = new Rsid() { Val = "00890BFC" };
            Rsid rsid325 = new Rsid() { Val = "00894D97" };
            Rsid rsid326 = new Rsid() { Val = "00897ECC" };
            Rsid rsid327 = new Rsid() { Val = "008A25E5" };
            Rsid rsid328 = new Rsid() { Val = "008B2B2F" };
            Rsid rsid329 = new Rsid() { Val = "008B419B" };
            Rsid rsid330 = new Rsid() { Val = "008B561B" };
            Rsid rsid331 = new Rsid() { Val = "008C067B" };
            Rsid rsid332 = new Rsid() { Val = "008C2D52" };
            Rsid rsid333 = new Rsid() { Val = "008C4316" };
            Rsid rsid334 = new Rsid() { Val = "008D2C48" };
            Rsid rsid335 = new Rsid() { Val = "008D69D4" };
            Rsid rsid336 = new Rsid() { Val = "008D6C0E" };
            Rsid rsid337 = new Rsid() { Val = "008E00D5" };
            Rsid rsid338 = new Rsid() { Val = "008F2CC8" };
            Rsid rsid339 = new Rsid() { Val = "00902E88" };
            Rsid rsid340 = new Rsid() { Val = "00913955" };
            Rsid rsid341 = new Rsid() { Val = "00915758" };
            Rsid rsid342 = new Rsid() { Val = "009166B9" };
            Rsid rsid343 = new Rsid() { Val = "00934E6E" };
            Rsid rsid344 = new Rsid() { Val = "00937F8E" };
            Rsid rsid345 = new Rsid() { Val = "00940CCD" };
            Rsid rsid346 = new Rsid() { Val = "0094125B" };
            Rsid rsid347 = new Rsid() { Val = "00944624" };
            Rsid rsid348 = new Rsid() { Val = "009505D2" };
            Rsid rsid349 = new Rsid() { Val = "009527BD" };
            Rsid rsid350 = new Rsid() { Val = "00957E57" };
            Rsid rsid351 = new Rsid() { Val = "00965C1D" };
            Rsid rsid352 = new Rsid() { Val = "00983F27" };
            Rsid rsid353 = new Rsid() { Val = "009A4C13" };
            Rsid rsid354 = new Rsid() { Val = "009A55D5" };
            Rsid rsid355 = new Rsid() { Val = "009A6239" };
            Rsid rsid356 = new Rsid() { Val = "009A6370" };
            Rsid rsid357 = new Rsid() { Val = "009B6613" };
            Rsid rsid358 = new Rsid() { Val = "009C6FC7" };
            Rsid rsid359 = new Rsid() { Val = "009E2BFE" };
            Rsid rsid360 = new Rsid() { Val = "009E5742" };
            Rsid rsid361 = new Rsid() { Val = "009E5D63" };
            Rsid rsid362 = new Rsid() { Val = "009E5E64" };
            Rsid rsid363 = new Rsid() { Val = "009F02AD" };
            Rsid rsid364 = new Rsid() { Val = "009F0608" };
            Rsid rsid365 = new Rsid() { Val = "009F0B75" };
            Rsid rsid366 = new Rsid() { Val = "009F3BBF" };
            Rsid rsid367 = new Rsid() { Val = "009F453D" };
            Rsid rsid368 = new Rsid() { Val = "009F47A3" };
            Rsid rsid369 = new Rsid() { Val = "009F7E7F" };
            Rsid rsid370 = new Rsid() { Val = "00A129B7" };
            Rsid rsid371 = new Rsid() { Val = "00A15F1D" };
            Rsid rsid372 = new Rsid() { Val = "00A20A5F" };
            Rsid rsid373 = new Rsid() { Val = "00A21AB2" };
            Rsid rsid374 = new Rsid() { Val = "00A22E79" };
            Rsid rsid375 = new Rsid() { Val = "00A241C0" };
            Rsid rsid376 = new Rsid() { Val = "00A27025" };
            Rsid rsid377 = new Rsid() { Val = "00A3564C" };
            Rsid rsid378 = new Rsid() { Val = "00A41F12" };
            Rsid rsid379 = new Rsid() { Val = "00A53072" };
            Rsid rsid380 = new Rsid() { Val = "00A6171D" };
            Rsid rsid381 = new Rsid() { Val = "00A62399" };
            Rsid rsid382 = new Rsid() { Val = "00A65073" };
            Rsid rsid383 = new Rsid() { Val = "00A747BB" };
            Rsid rsid384 = new Rsid() { Val = "00A75BDE" };
            Rsid rsid385 = new Rsid() { Val = "00A7674D" };
            Rsid rsid386 = new Rsid() { Val = "00A77710" };
            Rsid rsid387 = new Rsid() { Val = "00A82025" };
            Rsid rsid388 = new Rsid() { Val = "00A8638E" };
            Rsid rsid389 = new Rsid() { Val = "00A918FB" };
            Rsid rsid390 = new Rsid() { Val = "00A921AB" };
            Rsid rsid391 = new Rsid() { Val = "00A935F6" };
            Rsid rsid392 = new Rsid() { Val = "00AA0A1A" };
            Rsid rsid393 = new Rsid() { Val = "00AA6279" };
            Rsid rsid394 = new Rsid() { Val = "00AB1206" };
            Rsid rsid395 = new Rsid() { Val = "00AB318F" };
            Rsid rsid396 = new Rsid() { Val = "00AB3D48" };
            Rsid rsid397 = new Rsid() { Val = "00AB4921" };
            Rsid rsid398 = new Rsid() { Val = "00AB5753" };
            Rsid rsid399 = new Rsid() { Val = "00AC0771" };
            Rsid rsid400 = new Rsid() { Val = "00AC1437" };
            Rsid rsid401 = new Rsid() { Val = "00AC1B75" };
            Rsid rsid402 = new Rsid() { Val = "00AD0D68" };
            Rsid rsid403 = new Rsid() { Val = "00AD1EF0" };
            Rsid rsid404 = new Rsid() { Val = "00AD5D8C" };
            Rsid rsid405 = new Rsid() { Val = "00AD5E16" };
            Rsid rsid406 = new Rsid() { Val = "00AD61F0" };
            Rsid rsid407 = new Rsid() { Val = "00AD6EBD" };
            Rsid rsid408 = new Rsid() { Val = "00AE3C1A" };
            Rsid rsid409 = new Rsid() { Val = "00AF0136" };
            Rsid rsid410 = new Rsid() { Val = "00AF598C" };
            Rsid rsid411 = new Rsid() { Val = "00AF701E" };
            Rsid rsid412 = new Rsid() { Val = "00AF7795" };
            Rsid rsid413 = new Rsid() { Val = "00B02C12" };
            Rsid rsid414 = new Rsid() { Val = "00B03AFD" };
            Rsid rsid415 = new Rsid() { Val = "00B0579B" };
            Rsid rsid416 = new Rsid() { Val = "00B062C8" };
            Rsid rsid417 = new Rsid() { Val = "00B105DC" };
            Rsid rsid418 = new Rsid() { Val = "00B14BDB" };
            Rsid rsid419 = new Rsid() { Val = "00B21366" };
            Rsid rsid420 = new Rsid() { Val = "00B33F8A" };
            Rsid rsid421 = new Rsid() { Val = "00B354C8" };
            Rsid rsid422 = new Rsid() { Val = "00B401C3" };
            Rsid rsid423 = new Rsid() { Val = "00B41D00" };
            Rsid rsid424 = new Rsid() { Val = "00B62341" };
            Rsid rsid425 = new Rsid() { Val = "00B64DAD" };
            Rsid rsid426 = new Rsid() { Val = "00B67E72" };
            Rsid rsid427 = new Rsid() { Val = "00B70A98" };
            Rsid rsid428 = new Rsid() { Val = "00B72CF9" };
            Rsid rsid429 = new Rsid() { Val = "00B72E61" };
            Rsid rsid430 = new Rsid() { Val = "00B75F5F" };
            Rsid rsid431 = new Rsid() { Val = "00B80285" };
            Rsid rsid432 = new Rsid() { Val = "00B900F7" };
            Rsid rsid433 = new Rsid() { Val = "00B95F6C" };
            Rsid rsid434 = new Rsid() { Val = "00B97B60" };
            Rsid rsid435 = new Rsid() { Val = "00BA224B" };
            Rsid rsid436 = new Rsid() { Val = "00BA33DE" };
            Rsid rsid437 = new Rsid() { Val = "00BA36E7" };
            Rsid rsid438 = new Rsid() { Val = "00BA543D" };
            Rsid rsid439 = new Rsid() { Val = "00BA5E83" };
            Rsid rsid440 = new Rsid() { Val = "00BA679D" };
            Rsid rsid441 = new Rsid() { Val = "00BA6DC3" };
            Rsid rsid442 = new Rsid() { Val = "00BA7E3F" };
            Rsid rsid443 = new Rsid() { Val = "00BB0D74" };
            Rsid rsid444 = new Rsid() { Val = "00BB40B9" };
            Rsid rsid445 = new Rsid() { Val = "00BB5522" };
            Rsid rsid446 = new Rsid() { Val = "00BB5D40" };
            Rsid rsid447 = new Rsid() { Val = "00BC106F" };
            Rsid rsid448 = new Rsid() { Val = "00BC4CAC" };
            Rsid rsid449 = new Rsid() { Val = "00BE25CC" };
            Rsid rsid450 = new Rsid() { Val = "00BE574F" };
            Rsid rsid451 = new Rsid() { Val = "00BF66F3" };
            Rsid rsid452 = new Rsid() { Val = "00BF6F89" };
            Rsid rsid453 = new Rsid() { Val = "00C01F31" };
            Rsid rsid454 = new Rsid() { Val = "00C03444" };
            Rsid rsid455 = new Rsid() { Val = "00C04CE0" };
            Rsid rsid456 = new Rsid() { Val = "00C062F9" };
            Rsid rsid457 = new Rsid() { Val = "00C1094B" };
            Rsid rsid458 = new Rsid() { Val = "00C166F8" };
            Rsid rsid459 = new Rsid() { Val = "00C24508" };
            Rsid rsid460 = new Rsid() { Val = "00C27D0F" };
            Rsid rsid461 = new Rsid() { Val = "00C31288" };
            Rsid rsid462 = new Rsid() { Val = "00C32704" };
            Rsid rsid463 = new Rsid() { Val = "00C33CF0" };
            Rsid rsid464 = new Rsid() { Val = "00C41ABA" };
            Rsid rsid465 = new Rsid() { Val = "00C44584" };
            Rsid rsid466 = new Rsid() { Val = "00C4492A" };
            Rsid rsid467 = new Rsid() { Val = "00C47206" };
            Rsid rsid468 = new Rsid() { Val = "00C6049A" };
            Rsid rsid469 = new Rsid() { Val = "00C62467" };
            Rsid rsid470 = new Rsid() { Val = "00C704CB" };
            Rsid rsid471 = new Rsid() { Val = "00C71CC7" };
            Rsid rsid472 = new Rsid() { Val = "00C7570A" };
            Rsid rsid473 = new Rsid() { Val = "00C803F9" };
            Rsid rsid474 = new Rsid() { Val = "00C82A8F" };
            Rsid rsid475 = new Rsid() { Val = "00C8492B" };
            Rsid rsid476 = new Rsid() { Val = "00C86FD9" };
            Rsid rsid477 = new Rsid() { Val = "00C913B8" };
            Rsid rsid478 = new Rsid() { Val = "00C91FAF" };
            Rsid rsid479 = new Rsid() { Val = "00CA34E5" };
            Rsid rsid480 = new Rsid() { Val = "00CA68C1" };
            Rsid rsid481 = new Rsid() { Val = "00CA7AED" };
            Rsid rsid482 = new Rsid() { Val = "00CB005B" };
            Rsid rsid483 = new Rsid() { Val = "00CB3330" };
            Rsid rsid484 = new Rsid() { Val = "00CB77EF" };
            Rsid rsid485 = new Rsid() { Val = "00CB7FBF" };
            Rsid rsid486 = new Rsid() { Val = "00CC0E6F" };
            Rsid rsid487 = new Rsid() { Val = "00CC2476" };
            Rsid rsid488 = new Rsid() { Val = "00CC46B9" };
            Rsid rsid489 = new Rsid() { Val = "00CD3A9B" };
            Rsid rsid490 = new Rsid() { Val = "00CD57B8" };
            Rsid rsid491 = new Rsid() { Val = "00CE0591" };
            Rsid rsid492 = new Rsid() { Val = "00CE06F6" };
            Rsid rsid493 = new Rsid() { Val = "00CE60E8" };
            Rsid rsid494 = new Rsid() { Val = "00CE7054" };
            Rsid rsid495 = new Rsid() { Val = "00CF0CEB" };
            Rsid rsid496 = new Rsid() { Val = "00CF67E9" };
            Rsid rsid497 = new Rsid() { Val = "00D03B21" };
            Rsid rsid498 = new Rsid() { Val = "00D11E55" };
            Rsid rsid499 = new Rsid() { Val = "00D2246F" };
            Rsid rsid500 = new Rsid() { Val = "00D232C4" };
            Rsid rsid501 = new Rsid() { Val = "00D23A7D" };
            Rsid rsid502 = new Rsid() { Val = "00D412D1" };
            Rsid rsid503 = new Rsid() { Val = "00D42739" };
            Rsid rsid504 = new Rsid() { Val = "00D45D2A" };
            Rsid rsid505 = new Rsid() { Val = "00D525A8" };
            Rsid rsid506 = new Rsid() { Val = "00D52961" };
            Rsid rsid507 = new Rsid() { Val = "00D53395" };
            Rsid rsid508 = new Rsid() { Val = "00D56C12" };
            Rsid rsid509 = new Rsid() { Val = "00D60895" };
            Rsid rsid510 = new Rsid() { Val = "00D62CD3" };
            Rsid rsid511 = new Rsid() { Val = "00D6522A" };
            Rsid rsid512 = new Rsid() { Val = "00D65F6F" };
            Rsid rsid513 = new Rsid() { Val = "00D70F0E" };
            Rsid rsid514 = new Rsid() { Val = "00D80B9E" };
            Rsid rsid515 = new Rsid() { Val = "00D83EDC" };
            Rsid rsid516 = new Rsid() { Val = "00D928EF" };
            Rsid rsid517 = new Rsid() { Val = "00D944B2" };
            Rsid rsid518 = new Rsid() { Val = "00D948F5" };
            Rsid rsid519 = new Rsid() { Val = "00D96806" };
            Rsid rsid520 = new Rsid() { Val = "00DB4ADC" };
            Rsid rsid521 = new Rsid() { Val = "00DC3ED5" };
            Rsid rsid522 = new Rsid() { Val = "00DD1EE3" };
            Rsid rsid523 = new Rsid() { Val = "00DD5BAE" };
            Rsid rsid524 = new Rsid() { Val = "00DD718E" };
            Rsid rsid525 = new Rsid() { Val = "00DE0ED8" };
            Rsid rsid526 = new Rsid() { Val = "00DE1401" };
            Rsid rsid527 = new Rsid() { Val = "00DE345E" };
            Rsid rsid528 = new Rsid() { Val = "00DE549B" };
            Rsid rsid529 = new Rsid() { Val = "00DE5857" };
            Rsid rsid530 = new Rsid() { Val = "00DE78CB" };
            Rsid rsid531 = new Rsid() { Val = "00DF14E1" };
            Rsid rsid532 = new Rsid() { Val = "00DF50CA" };
            Rsid rsid533 = new Rsid() { Val = "00DF71F8" };
            Rsid rsid534 = new Rsid() { Val = "00DF7A1D" };
            Rsid rsid535 = new Rsid() { Val = "00E01429" };
            Rsid rsid536 = new Rsid() { Val = "00E0169F" };
            Rsid rsid537 = new Rsid() { Val = "00E0607E" };
            Rsid rsid538 = new Rsid() { Val = "00E12034" };
            Rsid rsid539 = new Rsid() { Val = "00E1250A" };
            Rsid rsid540 = new Rsid() { Val = "00E23707" };
            Rsid rsid541 = new Rsid() { Val = "00E23AC5" };
            Rsid rsid542 = new Rsid() { Val = "00E23B0A" };
            Rsid rsid543 = new Rsid() { Val = "00E24E56" };
            Rsid rsid544 = new Rsid() { Val = "00E27210" };
            Rsid rsid545 = new Rsid() { Val = "00E31290" };
            Rsid rsid546 = new Rsid() { Val = "00E3130B" };
            Rsid rsid547 = new Rsid() { Val = "00E31C6F" };
            Rsid rsid548 = new Rsid() { Val = "00E32064" };
            Rsid rsid549 = new Rsid() { Val = "00E340CC" };
            Rsid rsid550 = new Rsid() { Val = "00E461C6" };
            Rsid rsid551 = new Rsid() { Val = "00E51784" };
            Rsid rsid552 = new Rsid() { Val = "00E55B54" };
            Rsid rsid553 = new Rsid() { Val = "00E560D4" };
            Rsid rsid554 = new Rsid() { Val = "00E61216" };
            Rsid rsid555 = new Rsid() { Val = "00E61BC8" };
            Rsid rsid556 = new Rsid() { Val = "00E6525C" };
            Rsid rsid557 = new Rsid() { Val = "00E70E3A" };
            Rsid rsid558 = new Rsid() { Val = "00E714A6" };
            Rsid rsid559 = new Rsid() { Val = "00E745A0" };
            Rsid rsid560 = new Rsid() { Val = "00E75E67" };
            Rsid rsid561 = new Rsid() { Val = "00E76728" };
            Rsid rsid562 = new Rsid() { Val = "00E85D8A" };
            Rsid rsid563 = new Rsid() { Val = "00EB02A3" };
            Rsid rsid564 = new Rsid() { Val = "00EB135B" };
            Rsid rsid565 = new Rsid() { Val = "00EB4A0C" };
            Rsid rsid566 = new Rsid() { Val = "00EB61FB" };
            Rsid rsid567 = new Rsid() { Val = "00ED3794" };
            Rsid rsid568 = new Rsid() { Val = "00ED7CA9" };
            Rsid rsid569 = new Rsid() { Val = "00EE2379" };
            Rsid rsid570 = new Rsid() { Val = "00EE7B69" };
            Rsid rsid571 = new Rsid() { Val = "00F02BCF" };
            Rsid rsid572 = new Rsid() { Val = "00F04EF5" };
            Rsid rsid573 = new Rsid() { Val = "00F1393E" };
            Rsid rsid574 = new Rsid() { Val = "00F22E15" };
            Rsid rsid575 = new Rsid() { Val = "00F23038" };
            Rsid rsid576 = new Rsid() { Val = "00F235A9" };
            Rsid rsid577 = new Rsid() { Val = "00F31361" };
            Rsid rsid578 = new Rsid() { Val = "00F31DFE" };
            Rsid rsid579 = new Rsid() { Val = "00F32438" };
            Rsid rsid580 = new Rsid() { Val = "00F342A0" };
            Rsid rsid581 = new Rsid() { Val = "00F34666" };
            Rsid rsid582 = new Rsid() { Val = "00F378DE" };
            Rsid rsid583 = new Rsid() { Val = "00F40AED" };
            Rsid rsid584 = new Rsid() { Val = "00F43E8A" };
            Rsid rsid585 = new Rsid() { Val = "00F561B1" };
            Rsid rsid586 = new Rsid() { Val = "00F617B8" };
            Rsid rsid587 = new Rsid() { Val = "00F61A04" };
            Rsid rsid588 = new Rsid() { Val = "00F66B7D" };
            Rsid rsid589 = new Rsid() { Val = "00F7153C" };
            Rsid rsid590 = new Rsid() { Val = "00F723D6" };
            Rsid rsid591 = new Rsid() { Val = "00F77926" };
            Rsid rsid592 = new Rsid() { Val = "00F8047A" };
            Rsid rsid593 = new Rsid() { Val = "00F811E2" };
            Rsid rsid594 = new Rsid() { Val = "00F83E0C" };
            Rsid rsid595 = new Rsid() { Val = "00F85916" };
            Rsid rsid596 = new Rsid() { Val = "00F90086" };
            Rsid rsid597 = new Rsid() { Val = "00F97D85" };
            Rsid rsid598 = new Rsid() { Val = "00FA196D" };
            Rsid rsid599 = new Rsid() { Val = "00FA3E05" };
            Rsid rsid600 = new Rsid() { Val = "00FA773F" };
            Rsid rsid601 = new Rsid() { Val = "00FA79D4" };
            Rsid rsid602 = new Rsid() { Val = "00FB4196" };
            Rsid rsid603 = new Rsid() { Val = "00FB4EAB" };
            Rsid rsid604 = new Rsid() { Val = "00FB6AB0" };
            Rsid rsid605 = new Rsid() { Val = "00FB6E9A" };
            Rsid rsid606 = new Rsid() { Val = "00FC0F0D" };
            Rsid rsid607 = new Rsid() { Val = "00FC430A" };
            Rsid rsid608 = new Rsid() { Val = "00FC4A2D" };
            Rsid rsid609 = new Rsid() { Val = "00FC5AC6" };
            Rsid rsid610 = new Rsid() { Val = "00FD3FAA" };
            Rsid rsid611 = new Rsid() { Val = "00FD741A" };
            Rsid rsid612 = new Rsid() { Val = "00FE5962" };
            Rsid rsid613 = new Rsid() { Val = "00FF1CD4" };
            Rsid rsid614 = new Rsid() { Val = "00FF61CB" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);
            rsids1.Append(rsid9);
            rsids1.Append(rsid10);
            rsids1.Append(rsid11);
            rsids1.Append(rsid12);
            rsids1.Append(rsid13);
            rsids1.Append(rsid14);
            rsids1.Append(rsid15);
            rsids1.Append(rsid16);
            rsids1.Append(rsid17);
            rsids1.Append(rsid18);
            rsids1.Append(rsid19);
            rsids1.Append(rsid20);
            rsids1.Append(rsid21);
            rsids1.Append(rsid22);
            rsids1.Append(rsid23);
            rsids1.Append(rsid24);
            rsids1.Append(rsid25);
            rsids1.Append(rsid26);
            rsids1.Append(rsid27);
            rsids1.Append(rsid28);
            rsids1.Append(rsid29);
            rsids1.Append(rsid30);
            rsids1.Append(rsid31);
            rsids1.Append(rsid32);
            rsids1.Append(rsid33);
            rsids1.Append(rsid34);
            rsids1.Append(rsid35);
            rsids1.Append(rsid36);
            rsids1.Append(rsid37);
            rsids1.Append(rsid38);
            rsids1.Append(rsid39);
            rsids1.Append(rsid40);
            rsids1.Append(rsid41);
            rsids1.Append(rsid42);
            rsids1.Append(rsid43);
            rsids1.Append(rsid44);
            rsids1.Append(rsid45);
            rsids1.Append(rsid46);
            rsids1.Append(rsid47);
            rsids1.Append(rsid48);
            rsids1.Append(rsid49);
            rsids1.Append(rsid50);
            rsids1.Append(rsid51);
            rsids1.Append(rsid52);
            rsids1.Append(rsid53);
            rsids1.Append(rsid54);
            rsids1.Append(rsid55);
            rsids1.Append(rsid56);
            rsids1.Append(rsid57);
            rsids1.Append(rsid58);
            rsids1.Append(rsid59);
            rsids1.Append(rsid60);
            rsids1.Append(rsid61);
            rsids1.Append(rsid62);
            rsids1.Append(rsid63);
            rsids1.Append(rsid64);
            rsids1.Append(rsid65);
            rsids1.Append(rsid66);
            rsids1.Append(rsid67);
            rsids1.Append(rsid68);
            rsids1.Append(rsid69);
            rsids1.Append(rsid70);
            rsids1.Append(rsid71);
            rsids1.Append(rsid72);
            rsids1.Append(rsid73);
            rsids1.Append(rsid74);
            rsids1.Append(rsid75);
            rsids1.Append(rsid76);
            rsids1.Append(rsid77);
            rsids1.Append(rsid78);
            rsids1.Append(rsid79);
            rsids1.Append(rsid80);
            rsids1.Append(rsid81);
            rsids1.Append(rsid82);
            rsids1.Append(rsid83);
            rsids1.Append(rsid84);
            rsids1.Append(rsid85);
            rsids1.Append(rsid86);
            rsids1.Append(rsid87);
            rsids1.Append(rsid88);
            rsids1.Append(rsid89);
            rsids1.Append(rsid90);
            rsids1.Append(rsid91);
            rsids1.Append(rsid92);
            rsids1.Append(rsid93);
            rsids1.Append(rsid94);
            rsids1.Append(rsid95);
            rsids1.Append(rsid96);
            rsids1.Append(rsid97);
            rsids1.Append(rsid98);
            rsids1.Append(rsid99);
            rsids1.Append(rsid100);
            rsids1.Append(rsid101);
            rsids1.Append(rsid102);
            rsids1.Append(rsid103);
            rsids1.Append(rsid104);
            rsids1.Append(rsid105);
            rsids1.Append(rsid106);
            rsids1.Append(rsid107);
            rsids1.Append(rsid108);
            rsids1.Append(rsid109);
            rsids1.Append(rsid110);
            rsids1.Append(rsid111);
            rsids1.Append(rsid112);
            rsids1.Append(rsid113);
            rsids1.Append(rsid114);
            rsids1.Append(rsid115);
            rsids1.Append(rsid116);
            rsids1.Append(rsid117);
            rsids1.Append(rsid118);
            rsids1.Append(rsid119);
            rsids1.Append(rsid120);
            rsids1.Append(rsid121);
            rsids1.Append(rsid122);
            rsids1.Append(rsid123);
            rsids1.Append(rsid124);
            rsids1.Append(rsid125);
            rsids1.Append(rsid126);
            rsids1.Append(rsid127);
            rsids1.Append(rsid128);
            rsids1.Append(rsid129);
            rsids1.Append(rsid130);
            rsids1.Append(rsid131);
            rsids1.Append(rsid132);
            rsids1.Append(rsid133);
            rsids1.Append(rsid134);
            rsids1.Append(rsid135);
            rsids1.Append(rsid136);
            rsids1.Append(rsid137);
            rsids1.Append(rsid138);
            rsids1.Append(rsid139);
            rsids1.Append(rsid140);
            rsids1.Append(rsid141);
            rsids1.Append(rsid142);
            rsids1.Append(rsid143);
            rsids1.Append(rsid144);
            rsids1.Append(rsid145);
            rsids1.Append(rsid146);
            rsids1.Append(rsid147);
            rsids1.Append(rsid148);
            rsids1.Append(rsid149);
            rsids1.Append(rsid150);
            rsids1.Append(rsid151);
            rsids1.Append(rsid152);
            rsids1.Append(rsid153);
            rsids1.Append(rsid154);
            rsids1.Append(rsid155);
            rsids1.Append(rsid156);
            rsids1.Append(rsid157);
            rsids1.Append(rsid158);
            rsids1.Append(rsid159);
            rsids1.Append(rsid160);
            rsids1.Append(rsid161);
            rsids1.Append(rsid162);
            rsids1.Append(rsid163);
            rsids1.Append(rsid164);
            rsids1.Append(rsid165);
            rsids1.Append(rsid166);
            rsids1.Append(rsid167);
            rsids1.Append(rsid168);
            rsids1.Append(rsid169);
            rsids1.Append(rsid170);
            rsids1.Append(rsid171);
            rsids1.Append(rsid172);
            rsids1.Append(rsid173);
            rsids1.Append(rsid174);
            rsids1.Append(rsid175);
            rsids1.Append(rsid176);
            rsids1.Append(rsid177);
            rsids1.Append(rsid178);
            rsids1.Append(rsid179);
            rsids1.Append(rsid180);
            rsids1.Append(rsid181);
            rsids1.Append(rsid182);
            rsids1.Append(rsid183);
            rsids1.Append(rsid184);
            rsids1.Append(rsid185);
            rsids1.Append(rsid186);
            rsids1.Append(rsid187);
            rsids1.Append(rsid188);
            rsids1.Append(rsid189);
            rsids1.Append(rsid190);
            rsids1.Append(rsid191);
            rsids1.Append(rsid192);
            rsids1.Append(rsid193);
            rsids1.Append(rsid194);
            rsids1.Append(rsid195);
            rsids1.Append(rsid196);
            rsids1.Append(rsid197);
            rsids1.Append(rsid198);
            rsids1.Append(rsid199);
            rsids1.Append(rsid200);
            rsids1.Append(rsid201);
            rsids1.Append(rsid202);
            rsids1.Append(rsid203);
            rsids1.Append(rsid204);
            rsids1.Append(rsid205);
            rsids1.Append(rsid206);
            rsids1.Append(rsid207);
            rsids1.Append(rsid208);
            rsids1.Append(rsid209);
            rsids1.Append(rsid210);
            rsids1.Append(rsid211);
            rsids1.Append(rsid212);
            rsids1.Append(rsid213);
            rsids1.Append(rsid214);
            rsids1.Append(rsid215);
            rsids1.Append(rsid216);
            rsids1.Append(rsid217);
            rsids1.Append(rsid218);
            rsids1.Append(rsid219);
            rsids1.Append(rsid220);
            rsids1.Append(rsid221);
            rsids1.Append(rsid222);
            rsids1.Append(rsid223);
            rsids1.Append(rsid224);
            rsids1.Append(rsid225);
            rsids1.Append(rsid226);
            rsids1.Append(rsid227);
            rsids1.Append(rsid228);
            rsids1.Append(rsid229);
            rsids1.Append(rsid230);
            rsids1.Append(rsid231);
            rsids1.Append(rsid232);
            rsids1.Append(rsid233);
            rsids1.Append(rsid234);
            rsids1.Append(rsid235);
            rsids1.Append(rsid236);
            rsids1.Append(rsid237);
            rsids1.Append(rsid238);
            rsids1.Append(rsid239);
            rsids1.Append(rsid240);
            rsids1.Append(rsid241);
            rsids1.Append(rsid242);
            rsids1.Append(rsid243);
            rsids1.Append(rsid244);
            rsids1.Append(rsid245);
            rsids1.Append(rsid246);
            rsids1.Append(rsid247);
            rsids1.Append(rsid248);
            rsids1.Append(rsid249);
            rsids1.Append(rsid250);
            rsids1.Append(rsid251);
            rsids1.Append(rsid252);
            rsids1.Append(rsid253);
            rsids1.Append(rsid254);
            rsids1.Append(rsid255);
            rsids1.Append(rsid256);
            rsids1.Append(rsid257);
            rsids1.Append(rsid258);
            rsids1.Append(rsid259);
            rsids1.Append(rsid260);
            rsids1.Append(rsid261);
            rsids1.Append(rsid262);
            rsids1.Append(rsid263);
            rsids1.Append(rsid264);
            rsids1.Append(rsid265);
            rsids1.Append(rsid266);
            rsids1.Append(rsid267);
            rsids1.Append(rsid268);
            rsids1.Append(rsid269);
            rsids1.Append(rsid270);
            rsids1.Append(rsid271);
            rsids1.Append(rsid272);
            rsids1.Append(rsid273);
            rsids1.Append(rsid274);
            rsids1.Append(rsid275);
            rsids1.Append(rsid276);
            rsids1.Append(rsid277);
            rsids1.Append(rsid278);
            rsids1.Append(rsid279);
            rsids1.Append(rsid280);
            rsids1.Append(rsid281);
            rsids1.Append(rsid282);
            rsids1.Append(rsid283);
            rsids1.Append(rsid284);
            rsids1.Append(rsid285);
            rsids1.Append(rsid286);
            rsids1.Append(rsid287);
            rsids1.Append(rsid288);
            rsids1.Append(rsid289);
            rsids1.Append(rsid290);
            rsids1.Append(rsid291);
            rsids1.Append(rsid292);
            rsids1.Append(rsid293);
            rsids1.Append(rsid294);
            rsids1.Append(rsid295);
            rsids1.Append(rsid296);
            rsids1.Append(rsid297);
            rsids1.Append(rsid298);
            rsids1.Append(rsid299);
            rsids1.Append(rsid300);
            rsids1.Append(rsid301);
            rsids1.Append(rsid302);
            rsids1.Append(rsid303);
            rsids1.Append(rsid304);
            rsids1.Append(rsid305);
            rsids1.Append(rsid306);
            rsids1.Append(rsid307);
            rsids1.Append(rsid308);
            rsids1.Append(rsid309);
            rsids1.Append(rsid310);
            rsids1.Append(rsid311);
            rsids1.Append(rsid312);
            rsids1.Append(rsid313);
            rsids1.Append(rsid314);
            rsids1.Append(rsid315);
            rsids1.Append(rsid316);
            rsids1.Append(rsid317);
            rsids1.Append(rsid318);
            rsids1.Append(rsid319);
            rsids1.Append(rsid320);
            rsids1.Append(rsid321);
            rsids1.Append(rsid322);
            rsids1.Append(rsid323);
            rsids1.Append(rsid324);
            rsids1.Append(rsid325);
            rsids1.Append(rsid326);
            rsids1.Append(rsid327);
            rsids1.Append(rsid328);
            rsids1.Append(rsid329);
            rsids1.Append(rsid330);
            rsids1.Append(rsid331);
            rsids1.Append(rsid332);
            rsids1.Append(rsid333);
            rsids1.Append(rsid334);
            rsids1.Append(rsid335);
            rsids1.Append(rsid336);
            rsids1.Append(rsid337);
            rsids1.Append(rsid338);
            rsids1.Append(rsid339);
            rsids1.Append(rsid340);
            rsids1.Append(rsid341);
            rsids1.Append(rsid342);
            rsids1.Append(rsid343);
            rsids1.Append(rsid344);
            rsids1.Append(rsid345);
            rsids1.Append(rsid346);
            rsids1.Append(rsid347);
            rsids1.Append(rsid348);
            rsids1.Append(rsid349);
            rsids1.Append(rsid350);
            rsids1.Append(rsid351);
            rsids1.Append(rsid352);
            rsids1.Append(rsid353);
            rsids1.Append(rsid354);
            rsids1.Append(rsid355);
            rsids1.Append(rsid356);
            rsids1.Append(rsid357);
            rsids1.Append(rsid358);
            rsids1.Append(rsid359);
            rsids1.Append(rsid360);
            rsids1.Append(rsid361);
            rsids1.Append(rsid362);
            rsids1.Append(rsid363);
            rsids1.Append(rsid364);
            rsids1.Append(rsid365);
            rsids1.Append(rsid366);
            rsids1.Append(rsid367);
            rsids1.Append(rsid368);
            rsids1.Append(rsid369);
            rsids1.Append(rsid370);
            rsids1.Append(rsid371);
            rsids1.Append(rsid372);
            rsids1.Append(rsid373);
            rsids1.Append(rsid374);
            rsids1.Append(rsid375);
            rsids1.Append(rsid376);
            rsids1.Append(rsid377);
            rsids1.Append(rsid378);
            rsids1.Append(rsid379);
            rsids1.Append(rsid380);
            rsids1.Append(rsid381);
            rsids1.Append(rsid382);
            rsids1.Append(rsid383);
            rsids1.Append(rsid384);
            rsids1.Append(rsid385);
            rsids1.Append(rsid386);
            rsids1.Append(rsid387);
            rsids1.Append(rsid388);
            rsids1.Append(rsid389);
            rsids1.Append(rsid390);
            rsids1.Append(rsid391);
            rsids1.Append(rsid392);
            rsids1.Append(rsid393);
            rsids1.Append(rsid394);
            rsids1.Append(rsid395);
            rsids1.Append(rsid396);
            rsids1.Append(rsid397);
            rsids1.Append(rsid398);
            rsids1.Append(rsid399);
            rsids1.Append(rsid400);
            rsids1.Append(rsid401);
            rsids1.Append(rsid402);
            rsids1.Append(rsid403);
            rsids1.Append(rsid404);
            rsids1.Append(rsid405);
            rsids1.Append(rsid406);
            rsids1.Append(rsid407);
            rsids1.Append(rsid408);
            rsids1.Append(rsid409);
            rsids1.Append(rsid410);
            rsids1.Append(rsid411);
            rsids1.Append(rsid412);
            rsids1.Append(rsid413);
            rsids1.Append(rsid414);
            rsids1.Append(rsid415);
            rsids1.Append(rsid416);
            rsids1.Append(rsid417);
            rsids1.Append(rsid418);
            rsids1.Append(rsid419);
            rsids1.Append(rsid420);
            rsids1.Append(rsid421);
            rsids1.Append(rsid422);
            rsids1.Append(rsid423);
            rsids1.Append(rsid424);
            rsids1.Append(rsid425);
            rsids1.Append(rsid426);
            rsids1.Append(rsid427);
            rsids1.Append(rsid428);
            rsids1.Append(rsid429);
            rsids1.Append(rsid430);
            rsids1.Append(rsid431);
            rsids1.Append(rsid432);
            rsids1.Append(rsid433);
            rsids1.Append(rsid434);
            rsids1.Append(rsid435);
            rsids1.Append(rsid436);
            rsids1.Append(rsid437);
            rsids1.Append(rsid438);
            rsids1.Append(rsid439);
            rsids1.Append(rsid440);
            rsids1.Append(rsid441);
            rsids1.Append(rsid442);
            rsids1.Append(rsid443);
            rsids1.Append(rsid444);
            rsids1.Append(rsid445);
            rsids1.Append(rsid446);
            rsids1.Append(rsid447);
            rsids1.Append(rsid448);
            rsids1.Append(rsid449);
            rsids1.Append(rsid450);
            rsids1.Append(rsid451);
            rsids1.Append(rsid452);
            rsids1.Append(rsid453);
            rsids1.Append(rsid454);
            rsids1.Append(rsid455);
            rsids1.Append(rsid456);
            rsids1.Append(rsid457);
            rsids1.Append(rsid458);
            rsids1.Append(rsid459);
            rsids1.Append(rsid460);
            rsids1.Append(rsid461);
            rsids1.Append(rsid462);
            rsids1.Append(rsid463);
            rsids1.Append(rsid464);
            rsids1.Append(rsid465);
            rsids1.Append(rsid466);
            rsids1.Append(rsid467);
            rsids1.Append(rsid468);
            rsids1.Append(rsid469);
            rsids1.Append(rsid470);
            rsids1.Append(rsid471);
            rsids1.Append(rsid472);
            rsids1.Append(rsid473);
            rsids1.Append(rsid474);
            rsids1.Append(rsid475);
            rsids1.Append(rsid476);
            rsids1.Append(rsid477);
            rsids1.Append(rsid478);
            rsids1.Append(rsid479);
            rsids1.Append(rsid480);
            rsids1.Append(rsid481);
            rsids1.Append(rsid482);
            rsids1.Append(rsid483);
            rsids1.Append(rsid484);
            rsids1.Append(rsid485);
            rsids1.Append(rsid486);
            rsids1.Append(rsid487);
            rsids1.Append(rsid488);
            rsids1.Append(rsid489);
            rsids1.Append(rsid490);
            rsids1.Append(rsid491);
            rsids1.Append(rsid492);
            rsids1.Append(rsid493);
            rsids1.Append(rsid494);
            rsids1.Append(rsid495);
            rsids1.Append(rsid496);
            rsids1.Append(rsid497);
            rsids1.Append(rsid498);
            rsids1.Append(rsid499);
            rsids1.Append(rsid500);
            rsids1.Append(rsid501);
            rsids1.Append(rsid502);
            rsids1.Append(rsid503);
            rsids1.Append(rsid504);
            rsids1.Append(rsid505);
            rsids1.Append(rsid506);
            rsids1.Append(rsid507);
            rsids1.Append(rsid508);
            rsids1.Append(rsid509);
            rsids1.Append(rsid510);
            rsids1.Append(rsid511);
            rsids1.Append(rsid512);
            rsids1.Append(rsid513);
            rsids1.Append(rsid514);
            rsids1.Append(rsid515);
            rsids1.Append(rsid516);
            rsids1.Append(rsid517);
            rsids1.Append(rsid518);
            rsids1.Append(rsid519);
            rsids1.Append(rsid520);
            rsids1.Append(rsid521);
            rsids1.Append(rsid522);
            rsids1.Append(rsid523);
            rsids1.Append(rsid524);
            rsids1.Append(rsid525);
            rsids1.Append(rsid526);
            rsids1.Append(rsid527);
            rsids1.Append(rsid528);
            rsids1.Append(rsid529);
            rsids1.Append(rsid530);
            rsids1.Append(rsid531);
            rsids1.Append(rsid532);
            rsids1.Append(rsid533);
            rsids1.Append(rsid534);
            rsids1.Append(rsid535);
            rsids1.Append(rsid536);
            rsids1.Append(rsid537);
            rsids1.Append(rsid538);
            rsids1.Append(rsid539);
            rsids1.Append(rsid540);
            rsids1.Append(rsid541);
            rsids1.Append(rsid542);
            rsids1.Append(rsid543);
            rsids1.Append(rsid544);
            rsids1.Append(rsid545);
            rsids1.Append(rsid546);
            rsids1.Append(rsid547);
            rsids1.Append(rsid548);
            rsids1.Append(rsid549);
            rsids1.Append(rsid550);
            rsids1.Append(rsid551);
            rsids1.Append(rsid552);
            rsids1.Append(rsid553);
            rsids1.Append(rsid554);
            rsids1.Append(rsid555);
            rsids1.Append(rsid556);
            rsids1.Append(rsid557);
            rsids1.Append(rsid558);
            rsids1.Append(rsid559);
            rsids1.Append(rsid560);
            rsids1.Append(rsid561);
            rsids1.Append(rsid562);
            rsids1.Append(rsid563);
            rsids1.Append(rsid564);
            rsids1.Append(rsid565);
            rsids1.Append(rsid566);
            rsids1.Append(rsid567);
            rsids1.Append(rsid568);
            rsids1.Append(rsid569);
            rsids1.Append(rsid570);
            rsids1.Append(rsid571);
            rsids1.Append(rsid572);
            rsids1.Append(rsid573);
            rsids1.Append(rsid574);
            rsids1.Append(rsid575);
            rsids1.Append(rsid576);
            rsids1.Append(rsid577);
            rsids1.Append(rsid578);
            rsids1.Append(rsid579);
            rsids1.Append(rsid580);
            rsids1.Append(rsid581);
            rsids1.Append(rsid582);
            rsids1.Append(rsid583);
            rsids1.Append(rsid584);
            rsids1.Append(rsid585);
            rsids1.Append(rsid586);
            rsids1.Append(rsid587);
            rsids1.Append(rsid588);
            rsids1.Append(rsid589);
            rsids1.Append(rsid590);
            rsids1.Append(rsid591);
            rsids1.Append(rsid592);
            rsids1.Append(rsid593);
            rsids1.Append(rsid594);
            rsids1.Append(rsid595);
            rsids1.Append(rsid596);
            rsids1.Append(rsid597);
            rsids1.Append(rsid598);
            rsids1.Append(rsid599);
            rsids1.Append(rsid600);
            rsids1.Append(rsid601);
            rsids1.Append(rsid602);
            rsids1.Append(rsid603);
            rsids1.Append(rsid604);
            rsids1.Append(rsid605);
            rsids1.Append(rsid606);
            rsids1.Append(rsid607);
            rsids1.Append(rsid608);
            rsids1.Append(rsid609);
            rsids1.Append(rsid610);
            rsids1.Append(rsid611);
            rsids1.Append(rsid612);
            rsids1.Append(rsid613);
            rsids1.Append(rsid614);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Off };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            AttachedSchema attachedSchema1 = new AttachedSchema() { Val = "http://hubblereports.com/namespace" };
            AttachedSchema attachedSchema2 = new AttachedSchema() { Val = "errors@http://hubblereports.com/namespace" };
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "fr-CA" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults2 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults3 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 300034 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults2.Append(shapeDefaults3);
            shapeDefaults2.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "," };
            ListSeparator listSeparator1 = new ListSeparator() { Val = ";" };

            settings1.Append(zoom1);
            settings1.Append(attachedTemplate1);
            settings1.Append(linkStyles1);
            settings1.Append(defaultTabStop1);
            settings1.Append(hyphenationZone1);
            settings1.Append(noPunctuationKerning1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(doNotValidateAgainstSchema1);
            settings1.Append(saveInvalidXml1);
            settings1.Append(ignoreMixedContent1);
            settings1.Append(headerShapeDefaults1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(attachedSchema1);
            settings1.Append(attachedSchema2);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults2);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);

            documentSettingsPart1.Settings = settings1;
        }
Example #45
0
 public Config(Compatibility compatibilityLevel)
 {
     CompatibilityLevel = compatibilityLevel;
 }
Example #46
0
 public static extern cufftResult cufftSetCompatibilityMode([In] cufftHandle plan, [In] Compatibility mode);
Example #47
0
		/// <summary>
		/// Creates a new 2D FFT plan (new API)
		/// </summary>
		/// <param name="handle">cufftHandle object</param>
		/// <param name="nx">The transform size in the X dimension (number of rows)</param>
		/// <param name="ny">The transform size in the Y dimension (number of columns)</param>
		/// <param name="type">The transform data type (e.g., C2R for complex to real)</param>
		/// <param name="mode">The <see cref="Compatibility"/> option to be used</param>
		/// <param name="autoAllocate">indicates that the caller intends to allocate and manage
		/// work areas for plans that have been generated.</param>
		public CudaFFTPlan2D(cufftHandle handle, int nx, int ny, cufftType type, Compatibility mode, bool autoAllocate)
			: this(handle, nx, ny, type)
		{
			SetCompatibilityMode(mode);
			SetAutoAllocation(autoAllocate);
		}
Example #48
0
 public static List <PRODUCT_COMPATIBILITY> GetProductCompatibility(Compatibility compatibility)
 {
     return(MyAdvantechContext.Current.PRODUCT_COMPATIBILITY
            .Where(p => p.RELATION == (int)compatibility)
            .ToList());
 }
Example #49
0
 /// <summary>
 /// configures the layout of CUFFT output in FFTW‐compatible modes.
 /// When FFTW compatibility is desired, it can be configured for padding
 /// only, for asymmetric complex inputs only, or to be fully compatible.
 /// </summary>
 /// <param name="mode"></param>
 public void SetCompatibilityMode(Compatibility mode)
 {
     res = CudaFFTNativeMethods.cufftSetCompatibilityMode(_handle, mode);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cufftSetCompatibilityMode", res));
     if (res != cufftResult.Success)
         throw new CudaFFTException(res);
 }
Example #50
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 w16se" } };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            settings1.AddNamespaceDeclaration("w16se", "http://schemas.microsoft.com/office/word/2015/wordml/symex");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "100" };
            EmbedSystemFonts embedSystemFonts1 = new EmbedSystemFonts();
            HideSpellingErrors hideSpellingErrors1 = new HideSpellingErrors();
            HideGrammaticalErrors hideGrammaticalErrors1 = new HideGrammaticalErrors();
            StylePaneFormatFilter stylePaneFormatFilter1 = new StylePaneFormatFilter() { Val = "3F01", AllStyles = true, CustomStyles = false, LatentStyles = false, StylesInUse = false, HeadingStyles = false, NumberingStyles = false, TableStyles = false, DirectFormattingOnRuns = true, DirectFormattingOnParagraphs = true, DirectFormattingOnNumbering = true, DirectFormattingOnTables = true, ClearFormatting = true, Top3HeadingStyles = true, VisibleStyles = false, AlternateStyleNames = false };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 720 };
            DoNotHyphenateCaps doNotHyphenateCaps1 = new DoNotHyphenateCaps();
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };
            DoNotValidateAgainstSchema doNotValidateAgainstSchema1 = new DoNotValidateAgainstSchema();
            DoNotDemarcateInvalidXml doNotDemarcateInvalidXml1 = new DoNotDemarcateInvalidXml();

            HeaderShapeDefaults headerShapeDefaults1 = new HeaderShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults1 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };

            headerShapeDefaults1.Append(shapeDefaults1);

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference() { Id = -1 };
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference() { Id = 0 };
            FootnoteSpecialReference footnoteSpecialReference3 = new FootnoteSpecialReference() { Id = 1 };

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference3);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference() { Id = -1 };
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference() { Id = 0 };
            EndnoteSpecialReference endnoteSpecialReference3 = new EndnoteSpecialReference() { Id = 1 };

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference3);

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting() { Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting() { Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting() { Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting() { Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting() { Name = CompatSettingNameValues.DifferentiateMultirowTableHeaders, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "0084010C" };
            Rsid rsid1 = new Rsid() { Val = "000105B9" };
            Rsid rsid2 = new Rsid() { Val = "00012128" };
            Rsid rsid3 = new Rsid() { Val = "00016236" };
            Rsid rsid4 = new Rsid() { Val = "00016F9B" };
            Rsid rsid5 = new Rsid() { Val = "0002129C" };
            Rsid rsid6 = new Rsid() { Val = "00024479" };
            Rsid rsid7 = new Rsid() { Val = "00031D54" };
            Rsid rsid8 = new Rsid() { Val = "00053A55" };
            Rsid rsid9 = new Rsid() { Val = "00055557" };
            Rsid rsid10 = new Rsid() { Val = "0006731C" };
            Rsid rsid11 = new Rsid() { Val = "00076FEE" };
            Rsid rsid12 = new Rsid() { Val = "00077BE6" };
            Rsid rsid13 = new Rsid() { Val = "00082E6D" };
            Rsid rsid14 = new Rsid() { Val = "00095617" };
            Rsid rsid15 = new Rsid() { Val = "000B4F00" };
            Rsid rsid16 = new Rsid() { Val = "000C02D8" };
            Rsid rsid17 = new Rsid() { Val = "000D1B10" };
            Rsid rsid18 = new Rsid() { Val = "000D287D" };
            Rsid rsid19 = new Rsid() { Val = "000D30D4" };
            Rsid rsid20 = new Rsid() { Val = "000D5C82" };
            Rsid rsid21 = new Rsid() { Val = "000E2AF5" };
            Rsid rsid22 = new Rsid() { Val = "000E47F8" };
            Rsid rsid23 = new Rsid() { Val = "000E6B7B" };
            Rsid rsid24 = new Rsid() { Val = "000F55C6" };
            Rsid rsid25 = new Rsid() { Val = "000F5D26" };
            Rsid rsid26 = new Rsid() { Val = "00104E8D" };
            Rsid rsid27 = new Rsid() { Val = "00116413" };
            Rsid rsid28 = new Rsid() { Val = "00116831" };
            Rsid rsid29 = new Rsid() { Val = "00116FA1" };
            Rsid rsid30 = new Rsid() { Val = "001349F7" };
            Rsid rsid31 = new Rsid() { Val = "00144235" };
            Rsid rsid32 = new Rsid() { Val = "00144B41" };
            Rsid rsid33 = new Rsid() { Val = "00145615" };
            Rsid rsid34 = new Rsid() { Val = "00147C23" };
            Rsid rsid35 = new Rsid() { Val = "00154221" };
            Rsid rsid36 = new Rsid() { Val = "0015425A" };
            Rsid rsid37 = new Rsid() { Val = "00165533" };
            Rsid rsid38 = new Rsid() { Val = "001701E2" };
            Rsid rsid39 = new Rsid() { Val = "001846DF" };
            Rsid rsid40 = new Rsid() { Val = "00186C2A" };
            Rsid rsid41 = new Rsid() { Val = "00193974" };
            Rsid rsid42 = new Rsid() { Val = "001A269D" };
            Rsid rsid43 = new Rsid() { Val = "001B5D26" };
            Rsid rsid44 = new Rsid() { Val = "001D0DE9" };
            Rsid rsid45 = new Rsid() { Val = "001D2D91" };
            Rsid rsid46 = new Rsid() { Val = "001D51E1" };
            Rsid rsid47 = new Rsid() { Val = "001E0B1B" };
            Rsid rsid48 = new Rsid() { Val = "00201209" };
            Rsid rsid49 = new Rsid() { Val = "00204790" };
            Rsid rsid50 = new Rsid() { Val = "002256B0" };
            Rsid rsid51 = new Rsid() { Val = "00243287" };
            Rsid rsid52 = new Rsid() { Val = "0024492F" };
            Rsid rsid53 = new Rsid() { Val = "00247772" };
            Rsid rsid54 = new Rsid() { Val = "00255EB5" };
            Rsid rsid55 = new Rsid() { Val = "00265BE8" };
            Rsid rsid56 = new Rsid() { Val = "002713FA" };
            Rsid rsid57 = new Rsid() { Val = "0027287B" };
            Rsid rsid58 = new Rsid() { Val = "00273C84" };
            Rsid rsid59 = new Rsid() { Val = "00281331" };
            Rsid rsid60 = new Rsid() { Val = "00283F98" };
            Rsid rsid61 = new Rsid() { Val = "00290033" };
            Rsid rsid62 = new Rsid() { Val = "00290DF2" };
            Rsid rsid63 = new Rsid() { Val = "00291EEC" };
            Rsid rsid64 = new Rsid() { Val = "00295259" };
            Rsid rsid65 = new Rsid() { Val = "00297E70" };
            Rsid rsid66 = new Rsid() { Val = "002A2883" };
            Rsid rsid67 = new Rsid() { Val = "002A7A15" };
            Rsid rsid68 = new Rsid() { Val = "002A7F0D" };
            Rsid rsid69 = new Rsid() { Val = "002B0580" };
            Rsid rsid70 = new Rsid() { Val = "002B1622" };
            Rsid rsid71 = new Rsid() { Val = "002C3CE4" };
            Rsid rsid72 = new Rsid() { Val = "002C4440" };
            Rsid rsid73 = new Rsid() { Val = "002C57A5" };
            Rsid rsid74 = new Rsid() { Val = "002F2925" };
            Rsid rsid75 = new Rsid() { Val = "003307DE" };
            Rsid rsid76 = new Rsid() { Val = "00341F62" };
            Rsid rsid77 = new Rsid() { Val = "003559F5" };
            Rsid rsid78 = new Rsid() { Val = "00362BBD" };
            Rsid rsid79 = new Rsid() { Val = "003637AD" };
            Rsid rsid80 = new Rsid() { Val = "003732FE" };
            Rsid rsid81 = new Rsid() { Val = "00380A8F" };
            Rsid rsid82 = new Rsid() { Val = "003876A7" };
            Rsid rsid83 = new Rsid() { Val = "0039079C" };
            Rsid rsid84 = new Rsid() { Val = "003A6E0E" };
            Rsid rsid85 = new Rsid() { Val = "003A7AC6" };
            Rsid rsid86 = new Rsid() { Val = "003B502F" };
            Rsid rsid87 = new Rsid() { Val = "003B5B86" };
            Rsid rsid88 = new Rsid() { Val = "003B7064" };
            Rsid rsid89 = new Rsid() { Val = "003C2F92" };
            Rsid rsid90 = new Rsid() { Val = "003C46C4" };
            Rsid rsid91 = new Rsid() { Val = "003E56E7" };
            Rsid rsid92 = new Rsid() { Val = "003E56F4" };
            Rsid rsid93 = new Rsid() { Val = "003F177B" };
            Rsid rsid94 = new Rsid() { Val = "004002B5" };
            Rsid rsid95 = new Rsid() { Val = "0040067D" };
            Rsid rsid96 = new Rsid() { Val = "004038F9" };
            Rsid rsid97 = new Rsid() { Val = "00405C5A" };
            Rsid rsid98 = new Rsid() { Val = "004162F1" };
            Rsid rsid99 = new Rsid() { Val = "0042018B" };
            Rsid rsid100 = new Rsid() { Val = "004519DB" };
            Rsid rsid101 = new Rsid() { Val = "00466521" };
            Rsid rsid102 = new Rsid() { Val = "0047029E" };
            Rsid rsid103 = new Rsid() { Val = "0049055C" };
            Rsid rsid104 = new Rsid() { Val = "00492450" };
            Rsid rsid105 = new Rsid() { Val = "004A0E5F" };
            Rsid rsid106 = new Rsid() { Val = "004A3057" };
            Rsid rsid107 = new Rsid() { Val = "004A62CA" };
            Rsid rsid108 = new Rsid() { Val = "004B159B" };
            Rsid rsid109 = new Rsid() { Val = "004C118E" };
            Rsid rsid110 = new Rsid() { Val = "004C3251" };
            Rsid rsid111 = new Rsid() { Val = "004C7F26" };
            Rsid rsid112 = new Rsid() { Val = "004E361A" };
            Rsid rsid113 = new Rsid() { Val = "004E7819" };
            Rsid rsid114 = new Rsid() { Val = "005008DE" };
            Rsid rsid115 = new Rsid() { Val = "005063D9" };
            Rsid rsid116 = new Rsid() { Val = "00510971" };
            Rsid rsid117 = new Rsid() { Val = "00512EA7" };
            Rsid rsid118 = new Rsid() { Val = "00513B3F" };
            Rsid rsid119 = new Rsid() { Val = "00515359" };
            Rsid rsid120 = new Rsid() { Val = "005244EE" };
            Rsid rsid121 = new Rsid() { Val = "00533532" };
            Rsid rsid122 = new Rsid() { Val = "00534A7B" };
            Rsid rsid123 = new Rsid() { Val = "005521F6" };
            Rsid rsid124 = new Rsid() { Val = "0057090B" };
            Rsid rsid125 = new Rsid() { Val = "005747D9" };
            Rsid rsid126 = new Rsid() { Val = "005763A4" };
            Rsid rsid127 = new Rsid() { Val = "00577A31" };
            Rsid rsid128 = new Rsid() { Val = "005858E9" };
            Rsid rsid129 = new Rsid() { Val = "0058735B" };
            Rsid rsid130 = new Rsid() { Val = "00596A5A" };
            Rsid rsid131 = new Rsid() { Val = "00596EDB" };
            Rsid rsid132 = new Rsid() { Val = "005A33BC" };
            Rsid rsid133 = new Rsid() { Val = "005C3EDC" };
            Rsid rsid134 = new Rsid() { Val = "005C5BBF" };
            Rsid rsid135 = new Rsid() { Val = "005E0682" };
            Rsid rsid136 = new Rsid() { Val = "005E53DA" };
            Rsid rsid137 = new Rsid() { Val = "00601EC2" };
            Rsid rsid138 = new Rsid() { Val = "006060C5" };
            Rsid rsid139 = new Rsid() { Val = "00612E37" };
            Rsid rsid140 = new Rsid() { Val = "00613EF0" };
            Rsid rsid141 = new Rsid() { Val = "006140BC" };
            Rsid rsid142 = new Rsid() { Val = "00614197" };
            Rsid rsid143 = new Rsid() { Val = "00614236" };
            Rsid rsid144 = new Rsid() { Val = "00617EBA" };
            Rsid rsid145 = new Rsid() { Val = "00622B33" };
            Rsid rsid146 = new Rsid() { Val = "00624202" };
            Rsid rsid147 = new Rsid() { Val = "00632B3A" };
            Rsid rsid148 = new Rsid() { Val = "006678EF" };
            Rsid rsid149 = new Rsid() { Val = "006701DE" };
            Rsid rsid150 = new Rsid() { Val = "00670CF1" };
            Rsid rsid151 = new Rsid() { Val = "0067645A" };
            Rsid rsid152 = new Rsid() { Val = "00676D6C" };
            Rsid rsid153 = new Rsid() { Val = "00692A84" };
            Rsid rsid154 = new Rsid() { Val = "00695367" };
            Rsid rsid155 = new Rsid() { Val = "00697199" };
            Rsid rsid156 = new Rsid() { Val = "006A3365" };
            Rsid rsid157 = new Rsid() { Val = "006A4DEB" };
            Rsid rsid158 = new Rsid() { Val = "006A5DD3" };
            Rsid rsid159 = new Rsid() { Val = "006A6357" };
            Rsid rsid160 = new Rsid() { Val = "006B01DA" };
            Rsid rsid161 = new Rsid() { Val = "006D0C85" };
            Rsid rsid162 = new Rsid() { Val = "006D271C" };
            Rsid rsid163 = new Rsid() { Val = "006D718D" };
            Rsid rsid164 = new Rsid() { Val = "006E2605" };
            Rsid rsid165 = new Rsid() { Val = "006E2F07" };
            Rsid rsid166 = new Rsid() { Val = "006E7822" };
            Rsid rsid167 = new Rsid() { Val = "007027A6" };
            Rsid rsid168 = new Rsid() { Val = "00712EF0" };
            Rsid rsid169 = new Rsid() { Val = "007170CB" };
            Rsid rsid170 = new Rsid() { Val = "00717CC8" };
            Rsid rsid171 = new Rsid() { Val = "00720108" };
            Rsid rsid172 = new Rsid() { Val = "00721120" };
            Rsid rsid173 = new Rsid() { Val = "00727765" };
            Rsid rsid174 = new Rsid() { Val = "00734585" };
            Rsid rsid175 = new Rsid() { Val = "00747E89" };
            Rsid rsid176 = new Rsid() { Val = "0075318A" };
            Rsid rsid177 = new Rsid() { Val = "007571BC" };
            Rsid rsid178 = new Rsid() { Val = "00765E31" };
            Rsid rsid179 = new Rsid() { Val = "007756BD" };
            Rsid rsid180 = new Rsid() { Val = "0077670E" };
            Rsid rsid181 = new Rsid() { Val = "007767C6" };
            Rsid rsid182 = new Rsid() { Val = "00776A17" };
            Rsid rsid183 = new Rsid() { Val = "00786248" };
            Rsid rsid184 = new Rsid() { Val = "00786CBF" };
            Rsid rsid185 = new Rsid() { Val = "007949BD" };
            Rsid rsid186 = new Rsid() { Val = "00797265" };
            Rsid rsid187 = new Rsid() { Val = "007A52EA" };
            Rsid rsid188 = new Rsid() { Val = "007B3937" };
            Rsid rsid189 = new Rsid() { Val = "007C1C3A" };
            Rsid rsid190 = new Rsid() { Val = "007D0EFF" };
            Rsid rsid191 = new Rsid() { Val = "007D1098" };
            Rsid rsid192 = new Rsid() { Val = "007D35B8" };
            Rsid rsid193 = new Rsid() { Val = "007E0530" };
            Rsid rsid194 = new Rsid() { Val = "007F295C" };
            Rsid rsid195 = new Rsid() { Val = "007F6223" };
            Rsid rsid196 = new Rsid() { Val = "007F6C8D" };
            Rsid rsid197 = new Rsid() { Val = "00805EA7" };
            Rsid rsid198 = new Rsid() { Val = "0081098F" };
            Rsid rsid199 = new Rsid() { Val = "008129E8" };
            Rsid rsid200 = new Rsid() { Val = "008220D5" };
            Rsid rsid201 = new Rsid() { Val = "008276C2" };
            Rsid rsid202 = new Rsid() { Val = "008322A1" };
            Rsid rsid203 = new Rsid() { Val = "00833E90" };
            Rsid rsid204 = new Rsid() { Val = "0083658C" };
            Rsid rsid205 = new Rsid() { Val = "00837011" };
            Rsid rsid206 = new Rsid() { Val = "0084010C" };
            Rsid rsid207 = new Rsid() { Val = "00842AF5" };
            Rsid rsid208 = new Rsid() { Val = "008644EB" };
            Rsid rsid209 = new Rsid() { Val = "008672DB" };
            Rsid rsid210 = new Rsid() { Val = "00873808" };
            Rsid rsid211 = new Rsid() { Val = "008841D9" };
            Rsid rsid212 = new Rsid() { Val = "00896EA3" };
            Rsid rsid213 = new Rsid() { Val = "008A2AF7" };
            Rsid rsid214 = new Rsid() { Val = "008A485E" };
            Rsid rsid215 = new Rsid() { Val = "008C3E51" };
            Rsid rsid216 = new Rsid() { Val = "008D2A0B" };
            Rsid rsid217 = new Rsid() { Val = "008D603C" };
            Rsid rsid218 = new Rsid() { Val = "008F6176" };
            Rsid rsid219 = new Rsid() { Val = "009032DC" };
            Rsid rsid220 = new Rsid() { Val = "00911BC1" };
            Rsid rsid221 = new Rsid() { Val = "00916B33" };
            Rsid rsid222 = new Rsid() { Val = "00920013" };
            Rsid rsid223 = new Rsid() { Val = "0094109A" };
            Rsid rsid224 = new Rsid() { Val = "00942040" };
            Rsid rsid225 = new Rsid() { Val = "009423BC" };
            Rsid rsid226 = new Rsid() { Val = "00942723" };
            Rsid rsid227 = new Rsid() { Val = "00955E91" };
            Rsid rsid228 = new Rsid() { Val = "00962FFD" };
            Rsid rsid229 = new Rsid() { Val = "00972E14" };
            Rsid rsid230 = new Rsid() { Val = "00974AD6" };
            Rsid rsid231 = new Rsid() { Val = "00976B9D" };
            Rsid rsid232 = new Rsid() { Val = "009824AE" };
            Rsid rsid233 = new Rsid() { Val = "0098515D" };
            Rsid rsid234 = new Rsid() { Val = "00987046" };
            Rsid rsid235 = new Rsid() { Val = "00991428" };
            Rsid rsid236 = new Rsid() { Val = "00992BDD" };
            Rsid rsid237 = new Rsid() { Val = "009A2C32" };
            Rsid rsid238 = new Rsid() { Val = "009B3F62" };
            Rsid rsid239 = new Rsid() { Val = "009C361D" };
            Rsid rsid240 = new Rsid() { Val = "009C5628" };
            Rsid rsid241 = new Rsid() { Val = "009D2EB0" };
            Rsid rsid242 = new Rsid() { Val = "009D7777" };
            Rsid rsid243 = new Rsid() { Val = "009E06D4" };
            Rsid rsid244 = new Rsid() { Val = "00A06072" };
            Rsid rsid245 = new Rsid() { Val = "00A065B6" };
            Rsid rsid246 = new Rsid() { Val = "00A0666D" };
            Rsid rsid247 = new Rsid() { Val = "00A11BAA" };
            Rsid rsid248 = new Rsid() { Val = "00A3193F" };
            Rsid rsid249 = new Rsid() { Val = "00A44DC1" };
            Rsid rsid250 = new Rsid() { Val = "00A563A2" };
            Rsid rsid251 = new Rsid() { Val = "00A565FD" };
            Rsid rsid252 = new Rsid() { Val = "00A604A0" };
            Rsid rsid253 = new Rsid() { Val = "00A77B27" };
            Rsid rsid254 = new Rsid() { Val = "00A84406" };
            Rsid rsid255 = new Rsid() { Val = "00A85CFC" };
            Rsid rsid256 = new Rsid() { Val = "00A872EA" };
            Rsid rsid257 = new Rsid() { Val = "00A94A66" };
            Rsid rsid258 = new Rsid() { Val = "00AA3CE8" };
            Rsid rsid259 = new Rsid() { Val = "00AA764A" };
            Rsid rsid260 = new Rsid() { Val = "00AB7921" };
            Rsid rsid261 = new Rsid() { Val = "00AC5DED" };
            Rsid rsid262 = new Rsid() { Val = "00AD2BBF" };
            Rsid rsid263 = new Rsid() { Val = "00AE1898" };
            Rsid rsid264 = new Rsid() { Val = "00AF107B" };
            Rsid rsid265 = new Rsid() { Val = "00AF652A" };
            Rsid rsid266 = new Rsid() { Val = "00B0019E" };
            Rsid rsid267 = new Rsid() { Val = "00B23339" };
            Rsid rsid268 = new Rsid() { Val = "00B25B99" };
            Rsid rsid269 = new Rsid() { Val = "00B3232B" };
            Rsid rsid270 = new Rsid() { Val = "00B36225" };
            Rsid rsid271 = new Rsid() { Val = "00B43BFA" };
            Rsid rsid272 = new Rsid() { Val = "00B75671" };
            Rsid rsid273 = new Rsid() { Val = "00B974E4" };
            Rsid rsid274 = new Rsid() { Val = "00BA2523" };
            Rsid rsid275 = new Rsid() { Val = "00BA6CDD" };
            Rsid rsid276 = new Rsid() { Val = "00BA6D95" };
            Rsid rsid277 = new Rsid() { Val = "00BC048A" };
            Rsid rsid278 = new Rsid() { Val = "00BC1A91" };
            Rsid rsid279 = new Rsid() { Val = "00BC2D41" };
            Rsid rsid280 = new Rsid() { Val = "00BC2F6B" };
            Rsid rsid281 = new Rsid() { Val = "00BC7B98" };
            Rsid rsid282 = new Rsid() { Val = "00BC7E65" };
            Rsid rsid283 = new Rsid() { Val = "00BD1F75" };
            Rsid rsid284 = new Rsid() { Val = "00BD7F09" };
            Rsid rsid285 = new Rsid() { Val = "00BE4550" };
            Rsid rsid286 = new Rsid() { Val = "00BF26D7" };
            Rsid rsid287 = new Rsid() { Val = "00C02D1B" };
            Rsid rsid288 = new Rsid() { Val = "00C13588" };
            Rsid rsid289 = new Rsid() { Val = "00C22957" };
            Rsid rsid290 = new Rsid() { Val = "00C36216" };
            Rsid rsid291 = new Rsid() { Val = "00C530F6" };
            Rsid rsid292 = new Rsid() { Val = "00C56510" };
            Rsid rsid293 = new Rsid() { Val = "00C84D4C" };
            Rsid rsid294 = new Rsid() { Val = "00C95B12" };
            Rsid rsid295 = new Rsid() { Val = "00CA7596" };
            Rsid rsid296 = new Rsid() { Val = "00CB499E" };
            Rsid rsid297 = new Rsid() { Val = "00CB5386" };
            Rsid rsid298 = new Rsid() { Val = "00CB5800" };
            Rsid rsid299 = new Rsid() { Val = "00CB5E98" };
            Rsid rsid300 = new Rsid() { Val = "00CC0FC7" };
            Rsid rsid301 = new Rsid() { Val = "00CC14D2" };
            Rsid rsid302 = new Rsid() { Val = "00CD15D0" };
            Rsid rsid303 = new Rsid() { Val = "00CE0AFD" };
            Rsid rsid304 = new Rsid() { Val = "00CE2959" };
            Rsid rsid305 = new Rsid() { Val = "00CE7D52" };
            Rsid rsid306 = new Rsid() { Val = "00CF3870" };
            Rsid rsid307 = new Rsid() { Val = "00D02AEF" };
            Rsid rsid308 = new Rsid() { Val = "00D07E20" };
            Rsid rsid309 = new Rsid() { Val = "00D17424" };
            Rsid rsid310 = new Rsid() { Val = "00D34224" };
            Rsid rsid311 = new Rsid() { Val = "00D462D8" };
            Rsid rsid312 = new Rsid() { Val = "00D51C51" };
            Rsid rsid313 = new Rsid() { Val = "00D526DE" };
            Rsid rsid314 = new Rsid() { Val = "00D56009" };
            Rsid rsid315 = new Rsid() { Val = "00D71052" };
            Rsid rsid316 = new Rsid() { Val = "00D74FFD" };
            Rsid rsid317 = new Rsid() { Val = "00D778B7" };
            Rsid rsid318 = new Rsid() { Val = "00D8034D" };
            Rsid rsid319 = new Rsid() { Val = "00D81227" };
            Rsid rsid320 = new Rsid() { Val = "00D8330F" };
            Rsid rsid321 = new Rsid() { Val = "00D901CE" };
            Rsid rsid322 = new Rsid() { Val = "00D925D8" };
            Rsid rsid323 = new Rsid() { Val = "00DB0D90" };
            Rsid rsid324 = new Rsid() { Val = "00DC562C" };
            Rsid rsid325 = new Rsid() { Val = "00DD3CBE" };
            Rsid rsid326 = new Rsid() { Val = "00DE0CB0" };
            Rsid rsid327 = new Rsid() { Val = "00DE197C" };
            Rsid rsid328 = new Rsid() { Val = "00DF7776" };
            Rsid rsid329 = new Rsid() { Val = "00E019B9" };
            Rsid rsid330 = new Rsid() { Val = "00E04E9E" };
            Rsid rsid331 = new Rsid() { Val = "00E052F2" };
            Rsid rsid332 = new Rsid() { Val = "00E07DEF" };
            Rsid rsid333 = new Rsid() { Val = "00E113A4" };
            Rsid rsid334 = new Rsid() { Val = "00E12E53" };
            Rsid rsid335 = new Rsid() { Val = "00E236CB" };
            Rsid rsid336 = new Rsid() { Val = "00E2420B" };
            Rsid rsid337 = new Rsid() { Val = "00E3016A" };
            Rsid rsid338 = new Rsid() { Val = "00E518DD" };
            Rsid rsid339 = new Rsid() { Val = "00E5710C" };
            Rsid rsid340 = new Rsid() { Val = "00E708BC" };
            Rsid rsid341 = new Rsid() { Val = "00E74717" };
            Rsid rsid342 = new Rsid() { Val = "00E801CE" };
            Rsid rsid343 = new Rsid() { Val = "00E8117E" };
            Rsid rsid344 = new Rsid() { Val = "00E86672" };
            Rsid rsid345 = new Rsid() { Val = "00E86AF2" };
            Rsid rsid346 = new Rsid() { Val = "00EA764C" };
            Rsid rsid347 = new Rsid() { Val = "00EB0BF6" };
            Rsid rsid348 = new Rsid() { Val = "00EB6F97" };
            Rsid rsid349 = new Rsid() { Val = "00EC2F16" };
            Rsid rsid350 = new Rsid() { Val = "00ED0FF0" };
            Rsid rsid351 = new Rsid() { Val = "00ED2224" };
            Rsid rsid352 = new Rsid() { Val = "00ED2ACE" };
            Rsid rsid353 = new Rsid() { Val = "00ED6A85" };
            Rsid rsid354 = new Rsid() { Val = "00EE3091" };
            Rsid rsid355 = new Rsid() { Val = "00EE5D41" };
            Rsid rsid356 = new Rsid() { Val = "00EF13DA" };
            Rsid rsid357 = new Rsid() { Val = "00F02BB8" };
            Rsid rsid358 = new Rsid() { Val = "00F0578F" };
            Rsid rsid359 = new Rsid() { Val = "00F061C6" };
            Rsid rsid360 = new Rsid() { Val = "00F12AD5" };
            Rsid rsid361 = new Rsid() { Val = "00F15831" };
            Rsid rsid362 = new Rsid() { Val = "00F24268" };
            Rsid rsid363 = new Rsid() { Val = "00F31910" };
            Rsid rsid364 = new Rsid() { Val = "00F34C49" };
            Rsid rsid365 = new Rsid() { Val = "00F3726D" };
            Rsid rsid366 = new Rsid() { Val = "00F40936" };
            Rsid rsid367 = new Rsid() { Val = "00F40BA0" };
            Rsid rsid368 = new Rsid() { Val = "00F56485" };
            Rsid rsid369 = new Rsid() { Val = "00F73E0D" };
            Rsid rsid370 = new Rsid() { Val = "00F805BD" };
            Rsid rsid371 = new Rsid() { Val = "00F92C4E" };
            Rsid rsid372 = new Rsid() { Val = "00F97B58" };
            Rsid rsid373 = new Rsid() { Val = "00FA1E00" };
            Rsid rsid374 = new Rsid() { Val = "00FA3C8C" };
            Rsid rsid375 = new Rsid() { Val = "00FB0410" };
            Rsid rsid376 = new Rsid() { Val = "00FB52D3" };
            Rsid rsid377 = new Rsid() { Val = "00FB79AC" };
            Rsid rsid378 = new Rsid() { Val = "00FC6B2C" };
            Rsid rsid379 = new Rsid() { Val = "00FE01D2" };
            Rsid rsid380 = new Rsid() { Val = "00FE73CB" };
            Rsid rsid381 = new Rsid() { Val = "00FF0383" };
            Rsid rsid382 = new Rsid() { Val = "00FF18D7" };
            Rsid rsid383 = new Rsid() { Val = "00FF575E" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);
            rsids1.Append(rsid9);
            rsids1.Append(rsid10);
            rsids1.Append(rsid11);
            rsids1.Append(rsid12);
            rsids1.Append(rsid13);
            rsids1.Append(rsid14);
            rsids1.Append(rsid15);
            rsids1.Append(rsid16);
            rsids1.Append(rsid17);
            rsids1.Append(rsid18);
            rsids1.Append(rsid19);
            rsids1.Append(rsid20);
            rsids1.Append(rsid21);
            rsids1.Append(rsid22);
            rsids1.Append(rsid23);
            rsids1.Append(rsid24);
            rsids1.Append(rsid25);
            rsids1.Append(rsid26);
            rsids1.Append(rsid27);
            rsids1.Append(rsid28);
            rsids1.Append(rsid29);
            rsids1.Append(rsid30);
            rsids1.Append(rsid31);
            rsids1.Append(rsid32);
            rsids1.Append(rsid33);
            rsids1.Append(rsid34);
            rsids1.Append(rsid35);
            rsids1.Append(rsid36);
            rsids1.Append(rsid37);
            rsids1.Append(rsid38);
            rsids1.Append(rsid39);
            rsids1.Append(rsid40);
            rsids1.Append(rsid41);
            rsids1.Append(rsid42);
            rsids1.Append(rsid43);
            rsids1.Append(rsid44);
            rsids1.Append(rsid45);
            rsids1.Append(rsid46);
            rsids1.Append(rsid47);
            rsids1.Append(rsid48);
            rsids1.Append(rsid49);
            rsids1.Append(rsid50);
            rsids1.Append(rsid51);
            rsids1.Append(rsid52);
            rsids1.Append(rsid53);
            rsids1.Append(rsid54);
            rsids1.Append(rsid55);
            rsids1.Append(rsid56);
            rsids1.Append(rsid57);
            rsids1.Append(rsid58);
            rsids1.Append(rsid59);
            rsids1.Append(rsid60);
            rsids1.Append(rsid61);
            rsids1.Append(rsid62);
            rsids1.Append(rsid63);
            rsids1.Append(rsid64);
            rsids1.Append(rsid65);
            rsids1.Append(rsid66);
            rsids1.Append(rsid67);
            rsids1.Append(rsid68);
            rsids1.Append(rsid69);
            rsids1.Append(rsid70);
            rsids1.Append(rsid71);
            rsids1.Append(rsid72);
            rsids1.Append(rsid73);
            rsids1.Append(rsid74);
            rsids1.Append(rsid75);
            rsids1.Append(rsid76);
            rsids1.Append(rsid77);
            rsids1.Append(rsid78);
            rsids1.Append(rsid79);
            rsids1.Append(rsid80);
            rsids1.Append(rsid81);
            rsids1.Append(rsid82);
            rsids1.Append(rsid83);
            rsids1.Append(rsid84);
            rsids1.Append(rsid85);
            rsids1.Append(rsid86);
            rsids1.Append(rsid87);
            rsids1.Append(rsid88);
            rsids1.Append(rsid89);
            rsids1.Append(rsid90);
            rsids1.Append(rsid91);
            rsids1.Append(rsid92);
            rsids1.Append(rsid93);
            rsids1.Append(rsid94);
            rsids1.Append(rsid95);
            rsids1.Append(rsid96);
            rsids1.Append(rsid97);
            rsids1.Append(rsid98);
            rsids1.Append(rsid99);
            rsids1.Append(rsid100);
            rsids1.Append(rsid101);
            rsids1.Append(rsid102);
            rsids1.Append(rsid103);
            rsids1.Append(rsid104);
            rsids1.Append(rsid105);
            rsids1.Append(rsid106);
            rsids1.Append(rsid107);
            rsids1.Append(rsid108);
            rsids1.Append(rsid109);
            rsids1.Append(rsid110);
            rsids1.Append(rsid111);
            rsids1.Append(rsid112);
            rsids1.Append(rsid113);
            rsids1.Append(rsid114);
            rsids1.Append(rsid115);
            rsids1.Append(rsid116);
            rsids1.Append(rsid117);
            rsids1.Append(rsid118);
            rsids1.Append(rsid119);
            rsids1.Append(rsid120);
            rsids1.Append(rsid121);
            rsids1.Append(rsid122);
            rsids1.Append(rsid123);
            rsids1.Append(rsid124);
            rsids1.Append(rsid125);
            rsids1.Append(rsid126);
            rsids1.Append(rsid127);
            rsids1.Append(rsid128);
            rsids1.Append(rsid129);
            rsids1.Append(rsid130);
            rsids1.Append(rsid131);
            rsids1.Append(rsid132);
            rsids1.Append(rsid133);
            rsids1.Append(rsid134);
            rsids1.Append(rsid135);
            rsids1.Append(rsid136);
            rsids1.Append(rsid137);
            rsids1.Append(rsid138);
            rsids1.Append(rsid139);
            rsids1.Append(rsid140);
            rsids1.Append(rsid141);
            rsids1.Append(rsid142);
            rsids1.Append(rsid143);
            rsids1.Append(rsid144);
            rsids1.Append(rsid145);
            rsids1.Append(rsid146);
            rsids1.Append(rsid147);
            rsids1.Append(rsid148);
            rsids1.Append(rsid149);
            rsids1.Append(rsid150);
            rsids1.Append(rsid151);
            rsids1.Append(rsid152);
            rsids1.Append(rsid153);
            rsids1.Append(rsid154);
            rsids1.Append(rsid155);
            rsids1.Append(rsid156);
            rsids1.Append(rsid157);
            rsids1.Append(rsid158);
            rsids1.Append(rsid159);
            rsids1.Append(rsid160);
            rsids1.Append(rsid161);
            rsids1.Append(rsid162);
            rsids1.Append(rsid163);
            rsids1.Append(rsid164);
            rsids1.Append(rsid165);
            rsids1.Append(rsid166);
            rsids1.Append(rsid167);
            rsids1.Append(rsid168);
            rsids1.Append(rsid169);
            rsids1.Append(rsid170);
            rsids1.Append(rsid171);
            rsids1.Append(rsid172);
            rsids1.Append(rsid173);
            rsids1.Append(rsid174);
            rsids1.Append(rsid175);
            rsids1.Append(rsid176);
            rsids1.Append(rsid177);
            rsids1.Append(rsid178);
            rsids1.Append(rsid179);
            rsids1.Append(rsid180);
            rsids1.Append(rsid181);
            rsids1.Append(rsid182);
            rsids1.Append(rsid183);
            rsids1.Append(rsid184);
            rsids1.Append(rsid185);
            rsids1.Append(rsid186);
            rsids1.Append(rsid187);
            rsids1.Append(rsid188);
            rsids1.Append(rsid189);
            rsids1.Append(rsid190);
            rsids1.Append(rsid191);
            rsids1.Append(rsid192);
            rsids1.Append(rsid193);
            rsids1.Append(rsid194);
            rsids1.Append(rsid195);
            rsids1.Append(rsid196);
            rsids1.Append(rsid197);
            rsids1.Append(rsid198);
            rsids1.Append(rsid199);
            rsids1.Append(rsid200);
            rsids1.Append(rsid201);
            rsids1.Append(rsid202);
            rsids1.Append(rsid203);
            rsids1.Append(rsid204);
            rsids1.Append(rsid205);
            rsids1.Append(rsid206);
            rsids1.Append(rsid207);
            rsids1.Append(rsid208);
            rsids1.Append(rsid209);
            rsids1.Append(rsid210);
            rsids1.Append(rsid211);
            rsids1.Append(rsid212);
            rsids1.Append(rsid213);
            rsids1.Append(rsid214);
            rsids1.Append(rsid215);
            rsids1.Append(rsid216);
            rsids1.Append(rsid217);
            rsids1.Append(rsid218);
            rsids1.Append(rsid219);
            rsids1.Append(rsid220);
            rsids1.Append(rsid221);
            rsids1.Append(rsid222);
            rsids1.Append(rsid223);
            rsids1.Append(rsid224);
            rsids1.Append(rsid225);
            rsids1.Append(rsid226);
            rsids1.Append(rsid227);
            rsids1.Append(rsid228);
            rsids1.Append(rsid229);
            rsids1.Append(rsid230);
            rsids1.Append(rsid231);
            rsids1.Append(rsid232);
            rsids1.Append(rsid233);
            rsids1.Append(rsid234);
            rsids1.Append(rsid235);
            rsids1.Append(rsid236);
            rsids1.Append(rsid237);
            rsids1.Append(rsid238);
            rsids1.Append(rsid239);
            rsids1.Append(rsid240);
            rsids1.Append(rsid241);
            rsids1.Append(rsid242);
            rsids1.Append(rsid243);
            rsids1.Append(rsid244);
            rsids1.Append(rsid245);
            rsids1.Append(rsid246);
            rsids1.Append(rsid247);
            rsids1.Append(rsid248);
            rsids1.Append(rsid249);
            rsids1.Append(rsid250);
            rsids1.Append(rsid251);
            rsids1.Append(rsid252);
            rsids1.Append(rsid253);
            rsids1.Append(rsid254);
            rsids1.Append(rsid255);
            rsids1.Append(rsid256);
            rsids1.Append(rsid257);
            rsids1.Append(rsid258);
            rsids1.Append(rsid259);
            rsids1.Append(rsid260);
            rsids1.Append(rsid261);
            rsids1.Append(rsid262);
            rsids1.Append(rsid263);
            rsids1.Append(rsid264);
            rsids1.Append(rsid265);
            rsids1.Append(rsid266);
            rsids1.Append(rsid267);
            rsids1.Append(rsid268);
            rsids1.Append(rsid269);
            rsids1.Append(rsid270);
            rsids1.Append(rsid271);
            rsids1.Append(rsid272);
            rsids1.Append(rsid273);
            rsids1.Append(rsid274);
            rsids1.Append(rsid275);
            rsids1.Append(rsid276);
            rsids1.Append(rsid277);
            rsids1.Append(rsid278);
            rsids1.Append(rsid279);
            rsids1.Append(rsid280);
            rsids1.Append(rsid281);
            rsids1.Append(rsid282);
            rsids1.Append(rsid283);
            rsids1.Append(rsid284);
            rsids1.Append(rsid285);
            rsids1.Append(rsid286);
            rsids1.Append(rsid287);
            rsids1.Append(rsid288);
            rsids1.Append(rsid289);
            rsids1.Append(rsid290);
            rsids1.Append(rsid291);
            rsids1.Append(rsid292);
            rsids1.Append(rsid293);
            rsids1.Append(rsid294);
            rsids1.Append(rsid295);
            rsids1.Append(rsid296);
            rsids1.Append(rsid297);
            rsids1.Append(rsid298);
            rsids1.Append(rsid299);
            rsids1.Append(rsid300);
            rsids1.Append(rsid301);
            rsids1.Append(rsid302);
            rsids1.Append(rsid303);
            rsids1.Append(rsid304);
            rsids1.Append(rsid305);
            rsids1.Append(rsid306);
            rsids1.Append(rsid307);
            rsids1.Append(rsid308);
            rsids1.Append(rsid309);
            rsids1.Append(rsid310);
            rsids1.Append(rsid311);
            rsids1.Append(rsid312);
            rsids1.Append(rsid313);
            rsids1.Append(rsid314);
            rsids1.Append(rsid315);
            rsids1.Append(rsid316);
            rsids1.Append(rsid317);
            rsids1.Append(rsid318);
            rsids1.Append(rsid319);
            rsids1.Append(rsid320);
            rsids1.Append(rsid321);
            rsids1.Append(rsid322);
            rsids1.Append(rsid323);
            rsids1.Append(rsid324);
            rsids1.Append(rsid325);
            rsids1.Append(rsid326);
            rsids1.Append(rsid327);
            rsids1.Append(rsid328);
            rsids1.Append(rsid329);
            rsids1.Append(rsid330);
            rsids1.Append(rsid331);
            rsids1.Append(rsid332);
            rsids1.Append(rsid333);
            rsids1.Append(rsid334);
            rsids1.Append(rsid335);
            rsids1.Append(rsid336);
            rsids1.Append(rsid337);
            rsids1.Append(rsid338);
            rsids1.Append(rsid339);
            rsids1.Append(rsid340);
            rsids1.Append(rsid341);
            rsids1.Append(rsid342);
            rsids1.Append(rsid343);
            rsids1.Append(rsid344);
            rsids1.Append(rsid345);
            rsids1.Append(rsid346);
            rsids1.Append(rsid347);
            rsids1.Append(rsid348);
            rsids1.Append(rsid349);
            rsids1.Append(rsid350);
            rsids1.Append(rsid351);
            rsids1.Append(rsid352);
            rsids1.Append(rsid353);
            rsids1.Append(rsid354);
            rsids1.Append(rsid355);
            rsids1.Append(rsid356);
            rsids1.Append(rsid357);
            rsids1.Append(rsid358);
            rsids1.Append(rsid359);
            rsids1.Append(rsid360);
            rsids1.Append(rsid361);
            rsids1.Append(rsid362);
            rsids1.Append(rsid363);
            rsids1.Append(rsid364);
            rsids1.Append(rsid365);
            rsids1.Append(rsid366);
            rsids1.Append(rsid367);
            rsids1.Append(rsid368);
            rsids1.Append(rsid369);
            rsids1.Append(rsid370);
            rsids1.Append(rsid371);
            rsids1.Append(rsid372);
            rsids1.Append(rsid373);
            rsids1.Append(rsid374);
            rsids1.Append(rsid375);
            rsids1.Append(rsid376);
            rsids1.Append(rsid377);
            rsids1.Append(rsid378);
            rsids1.Append(rsid379);
            rsids1.Append(rsid380);
            rsids1.Append(rsid381);
            rsids1.Append(rsid382);
            rsids1.Append(rsid383);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin33 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin33 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin33);
            mathProperties1.Append(rightMargin33);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "en-US" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };
            DoNotIncludeSubdocsInStats doNotIncludeSubdocsInStats1 = new DoNotIncludeSubdocsInStats();
            DoNotAutoCompressPictures doNotAutoCompressPictures1 = new DoNotAutoCompressPictures();

            ShapeDefaults shapeDefaults2 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults3 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults2.Append(shapeDefaults3);
            shapeDefaults2.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "." };
            ListSeparator listSeparator1 = new ListSeparator() { Val = "," };
            W14.DocumentId documentId1 = new W14.DocumentId() { Val = "0AAC1912" };
            W15.PersistentDocumentId persistentDocumentId1 = new W15.PersistentDocumentId() { Val = "{FF3D9647-D0AB-4F35-85FB-6019BB087330}" };

            settings1.Append(zoom1);
            settings1.Append(embedSystemFonts1);
            settings1.Append(hideSpellingErrors1);
            settings1.Append(hideGrammaticalErrors1);
            settings1.Append(stylePaneFormatFilter1);
            settings1.Append(defaultTabStop1);
            settings1.Append(doNotHyphenateCaps1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(doNotValidateAgainstSchema1);
            settings1.Append(doNotDemarcateInvalidXml1);
            settings1.Append(headerShapeDefaults1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(doNotIncludeSubdocsInStats1);
            settings1.Append(doNotAutoCompressPictures1);
            settings1.Append(shapeDefaults2);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(documentId1);
            settings1.Append(persistentDocumentId1);

            documentSettingsPart1.Settings = settings1;
        }
Example #51
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15" } };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "120" };
            ProofState proofState1 = new ProofState() { Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 720 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.DoNotCompress };

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting() { Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting() { Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting() { Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting() { Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting() { Name = new EnumValue<CompatSettingNameValues>() { InnerText = "differentiateMultirowTableHeaders" }, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "00417926" };
            Rsid rsid1 = new Rsid() { Val = "00015C18" };
            Rsid rsid2 = new Rsid() { Val = "000730E1" };
            Rsid rsid3 = new Rsid() { Val = "00116604" };
            Rsid rsid4 = new Rsid() { Val = "001E6F64" };
            Rsid rsid5 = new Rsid() { Val = "002928D6" };
            Rsid rsid6 = new Rsid() { Val = "002C2DE6" };
            Rsid rsid7 = new Rsid() { Val = "003F6835" };
            Rsid rsid8 = new Rsid() { Val = "00417926" };
            Rsid rsid9 = new Rsid() { Val = "00443ACA" };
            Rsid rsid10 = new Rsid() { Val = "00506382" };
            Rsid rsid11 = new Rsid() { Val = "00613B48" };
            Rsid rsid12 = new Rsid() { Val = "00646179" };
            Rsid rsid13 = new Rsid() { Val = "00690638" };
            Rsid rsid14 = new Rsid() { Val = "00745A6B" };
            Rsid rsid15 = new Rsid() { Val = "007F61F5" };
            Rsid rsid16 = new Rsid() { Val = "00882792" };
            Rsid rsid17 = new Rsid() { Val = "009035DD" };
            Rsid rsid18 = new Rsid() { Val = "00910498" };
            Rsid rsid19 = new Rsid() { Val = "009B6C59" };
            Rsid rsid20 = new Rsid() { Val = "00AA36A4" };
            Rsid rsid21 = new Rsid() { Val = "00B5104A" };
            Rsid rsid22 = new Rsid() { Val = "00BD60A1" };
            Rsid rsid23 = new Rsid() { Val = "00D62411" };
            Rsid rsid24 = new Rsid() { Val = "00EA7D1E" };
            Rsid rsid25 = new Rsid() { Val = "00EE18CB" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);
            rsids1.Append(rsid9);
            rsids1.Append(rsid10);
            rsids1.Append(rsid11);
            rsids1.Append(rsid12);
            rsids1.Append(rsid13);
            rsids1.Append(rsid14);
            rsids1.Append(rsid15);
            rsids1.Append(rsid16);
            rsids1.Append(rsid17);
            rsids1.Append(rsid18);
            rsids1.Append(rsid19);
            rsids1.Append(rsid20);
            rsids1.Append(rsid21);
            rsids1.Append(rsid22);
            rsids1.Append(rsid23);
            rsids1.Append(rsid24);
            rsids1.Append(rsid25);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "en-NZ" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults1 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults2 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 1026 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults1.Append(shapeDefaults2);
            shapeDefaults1.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "." };
            ListSeparator listSeparator1 = new ListSeparator() { Val = "," };
            OpenXmlUnknownElement openXmlUnknownElement1 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<w15:chartTrackingRefBased xmlns:w15=\"http://schemas.microsoft.com/office/word/2012/wordml\" />");

            OpenXmlUnknownElement openXmlUnknownElement2 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<w15:docId w15:val=\"{4EB8CCD5-0ACB-4603-AD4F-B7B3A0D8FABE}\" xmlns:w15=\"http://schemas.microsoft.com/office/word/2012/wordml\" />");

            settings1.Append(zoom1);
            settings1.Append(proofState1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(openXmlUnknownElement1);
            settings1.Append(openXmlUnknownElement2);

            documentSettingsPart1.Settings = settings1;
        }
Example #52
0
 public QdNsToJsConverter(string path, Compatibility com)
     : this(path)
 {
     compat = com;
 }
Example #53
0
 public QdNsToJsConverter(string path, Compatibility com, TextWriter writer)
     : this(path, com)
 {
     this.writer = writer;
 }
Example #54
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14 w15" }  };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2010/11/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            View view1 = new View(){ Val = ViewValues.Normal };
            BordersDoNotSurroundHeader bordersDoNotSurroundHeader1 = new BordersDoNotSurroundHeader();
            BordersDoNotSurroundFooter bordersDoNotSurroundFooter1 = new BordersDoNotSurroundFooter();
            DefaultTabStop defaultTabStop1 = new DefaultTabStop(){ Val = 840 };
            DisplayHorizontalDrawingGrid displayHorizontalDrawingGrid1 = new DisplayHorizontalDrawingGrid(){ Val = 0 };
            DisplayVerticalDrawingGrid displayVerticalDrawingGrid1 = new DisplayVerticalDrawingGrid(){ Val = 2 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl(){ Val = CharacterSpacingValues.CompressPunctuation };

            Compatibility compatibility1 = new Compatibility();
            SpaceForUnderline spaceForUnderline1 = new SpaceForUnderline();
            BalanceSingleByteDoubleByteWidth balanceSingleByteDoubleByteWidth1 = new BalanceSingleByteDoubleByteWidth();
            DoNotLeaveBackslashAlone doNotLeaveBackslashAlone1 = new DoNotLeaveBackslashAlone();
            UnderlineTrailingSpaces underlineTrailingSpaces1 = new UnderlineTrailingSpaces();
            DoNotExpandShiftReturn doNotExpandShiftReturn1 = new DoNotExpandShiftReturn();
            AdjustLineHeightInTable adjustLineHeightInTable1 = new AdjustLineHeightInTable();
            UseFarEastLayout useFarEastLayout1 = new UseFarEastLayout();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting(){ Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting(){ Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting(){ Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DifferentiateMultirowTableHeaders, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(spaceForUnderline1);
            compatibility1.Append(balanceSingleByteDoubleByteWidth1);
            compatibility1.Append(doNotLeaveBackslashAlone1);
            compatibility1.Append(underlineTrailingSpaces1);
            compatibility1.Append(doNotExpandShiftReturn1);
            compatibility1.Append(adjustLineHeightInTable1);
            compatibility1.Append(useFarEastLayout1);
            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot(){ Val = "00B75576" };
            Rsid rsid1 = new Rsid(){ Val = "00307267" };
            Rsid rsid2 = new Rsid(){ Val = "005E156B" };
            Rsid rsid3 = new Rsid(){ Val = "006415BA" };
            Rsid rsid4 = new Rsid(){ Val = "0066476A" };
            Rsid rsid5 = new Rsid(){ Val = "00930812" };
            Rsid rsid6 = new Rsid(){ Val = "00B75576" };
            Rsid rsid7 = new Rsid(){ Val = "00BA303C" };
            Rsid rsid8 = new Rsid(){ Val = "00EF189C" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont(){ Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary(){ Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction(){ Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction(){ Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin(){ Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin(){ Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification(){ Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent(){ Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation(){ Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation(){ Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages(){ Val = "en-US", EastAsia = "ja-JP" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping(){ Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };
            DecimalSymbol decimalSymbol1 = new DecimalSymbol(){ Val = "." };
            ListSeparator listSeparator1 = new ListSeparator(){ Val = "," };
            W15.ChartTrackingRefBased chartTrackingRefBased1 = new W15.ChartTrackingRefBased();

            settings1.Append(view1);
            settings1.Append(bordersDoNotSurroundHeader1);
            settings1.Append(bordersDoNotSurroundFooter1);
            settings1.Append(defaultTabStop1);
            settings1.Append(displayHorizontalDrawingGrid1);
            settings1.Append(displayVerticalDrawingGrid1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(chartTrackingRefBased1);

            documentSettingsPart1.Settings = settings1;
        }
 static void MSpecPaths(Assembly runner, Assembly context, Compatibility result)
 {
   result.Runner.MSpec.Path = runner.Location;
   result.ContextAssembly.MSpec.Path = context.Location;
 }
Example #56
0
        public override void DiscardChanges()
        {
            base.DiscardChanges();

            m_HasModified = false;
            m_DefineConstraintState.Clear();

            // making sure we apply any serialized changes to the targets so accessing pluginImporter.DefineConstraints will have the updated values
            serializedObject.ApplyModifiedProperties();

            var minSizeOfDefines = importers.Min(x => x.DefineConstraints.Length);

            string[] baseImporterDefineConstraints = importer.DefineConstraints;

            foreach (var pluginImporter in importers)
            {
                var importerDefineConstraints = pluginImporter.DefineConstraints.Take(minSizeOfDefines).ToList();

                for (var i = 0; i < importerDefineConstraints.Count; i++)
                {
                    var importerDefineConstraint = importerDefineConstraints[i];

                    var           symbolName = importerDefineConstraint.StartsWith(DefineConstraintsHelper.Not) ? importerDefineConstraint.Substring(1) : importerDefineConstraint;
                    Compatibility mixedValue = importerDefineConstraints[i] != baseImporterDefineConstraints[i] ? Compatibility.Mixed : Compatibility.Compatible;
                    m_DefineConstraintState.Add(new DefineConstraint {
                        name = importerDefineConstraint, displayValue = mixedValue
                    });

                    if (!DefineConstraintsHelper.IsDefineConstraintValid(symbolName))
                    {
                        m_HasModified = true;
                        Debug.LogError($"Invalid define constraint {symbolName} in plugin {pluginImporter.assetPath}");
                    }
                }
            }

            ResetCompatability(ref m_CompatibleWithAnyPlatform, (imp => imp.GetCompatibleWithAnyPlatform()));
            ResetCompatability(ref m_CompatibleWithEditor, (imp => imp.GetCompatibleWithEditor()));
            ResetCompatability(ref m_AutoReferenced, (imp => !imp.IsExplicitlyReferenced));
            ResetCompatability(ref m_ValidateReferences, (imp => imp.ValidateReferences));
            // If Any Platform is selected, initialize m_Compatible* variables using compatability function
            // If Any Platform is unselected, initialize m_Compatible* variables using exclude function
            // This gives correct initialization in case when plugin is imported for the first time, and only "Any Platform" is selected
            if (m_CompatibleWithAnyPlatform < Compatibility.Compatible)
            {
                ResetCompatability(ref m_CompatibleWithEditor, (imp => imp.GetCompatibleWithEditor("", "")));

                foreach (BuildTarget platform in GetValidBuildTargets())
                {
                    ResetCompatability(ref m_CompatibleWithPlatform[(int)platform], (imp => imp.GetCompatibleWithPlatform(platform)));
                }
            }
            else
            {
                ResetCompatability(ref m_CompatibleWithEditor, (imp => !imp.GetExcludeEditorFromAnyPlatform()));

                foreach (BuildTarget platform in GetValidBuildTargets())
                {
                    ResetCompatability(ref m_CompatibleWithPlatform[(int)platform], (imp => !imp.GetExcludeFromAnyPlatform(platform)));
                }
            }

            ResetCompatability(ref m_Preload, (imp => imp.isPreloaded));

            if (!IsEditingPlatformSettingsSupported())
            {
                return;
            }

            foreach (var extension in additionalExtensions)
            {
                extension.ResetValues(this);
            }

            foreach (BuildTarget platform in GetValidBuildTargets())
            {
                IPluginImporterExtension extension = ModuleManager.GetPluginImporterExtension(platform);
                if (extension != null)
                {
                    extension.ResetValues(this);
                }
            }
        }
        private void ProductNameComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            //Handling sqlserver connection error
            try
            {
                SqlConnection sCon = SqlServer.GetConnection();
                sCon.Open();
                sCon.Close();
                sqlConnection = true;
            }
            catch (Exception ex)
            {
                LoggerUtil.LogMessageToFile("Application SQL DB ISSUE : " + ex.ToString() + Environment.NewLine + ex.StackTrace.ToString());
                sqlConnection = false;
            }

            if (sqlConnection)
            {
                ProgressBarDisplay();

                try
                {
                    TestDllNameComboBox.Items.Clear();
                    SelectCategoryComboBox.Items.Clear();
                    SelectModuleComboBox.Items.Clear();
                    SelectTestCaseComboBox.Items.Clear();

                    SelectedProduct = ProductNameComboBox.SelectedItem.ToString();
                    if (SelectedProduct.ToUpper() == "MADE2MANAGE")
                    {
                        Browse.Visibility          = System.Windows.Visibility.Visible;
                        FileNameTextBox.Visibility = System.Windows.Visibility.Visible;
                    }
                    else
                    {
                        Browse.Visibility          = System.Windows.Visibility.Hidden;
                        FileNameTextBox.Visibility = System.Windows.Visibility.Hidden;
                    }
                    Hashtable ht = ProductConfiguration.GetProductConfigurationHashtable(ProductNameComboBox.SelectedItem.ToString());
                    BuildDefinition = ht["BuildDefinition"].ToString();
                    TestDlls        = ht["TestDlls"].ToString();
                    string testBuildNumber = null;
                    foreach (string str in ht["Type"].ToString().Split(','))
                    {
                        LoadSettingsElements(str);
                    }
                    try
                    {
                        foreach (string str in BuildDefinition.Split(','))
                        {
                            testBuildNumber = TfsUtils.GetLastSuccededDropLocation(ProductNameComboBox.SelectedItem.ToString(), str);
                            ProductDetails.CopyBuildToLocalMachine(TfsUtils.GetLatestTestBuild(), str);
                        }
                    }
                    catch (Exception exception)
                    {
                        if (exception.ToString().Contains("TeamFoundation"))
                        {
                            //throw exception;
                        }
                        DisplayErrorMessage("Loading Test Builds Failed - " + exception.Message);
                    }
                    if (testBuildNumber != null)
                    {
                        var a = testBuildNumber.Split('\\');
                        testBuildNumber = a[a.Length - 1];
                    }
                    TestBuildNameTextBox.Text = testBuildNumber;

                    foreach (var str in TestDlls.Split(','))
                    {
                        var temp = str.Split('\\');
                        TestDllNameComboBox.Items.Add(temp[temp.Length - 1]);
                    }

                    string cmp = Compatibility.ComparisonLogic(ProductNameComboBox.SelectedValue.ToString());

                    if (cmp != null)
                    {
                        DisplayContentMessage(cmp, "Compatibility");
                    }
                }
                catch (Exception ex)
                {
                    DisplayErrorMessage(ex.ToString());
                    // waitLabel.Visibility = System.Windows.Visibility.Hidden;
                }
                finally
                {
                    InactiveDisplayComponents();
                }
            }
            else
            {
                DisplayErrorMessage("Unable to Connect to Test Server." + Environment.NewLine + "Please Navigate to [Settings] -> [REPORT AN ISSUE] and report this issue.");
            }
        }
Example #58
0
        // Generates content of documentSettingsPart1.
        private void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() {MCAttributes = new MarkupCompatibilityAttributes() {Ignorable = "w14"}};
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() {Percent = "100"};
            ProofState proofState1 = new ProofState() {Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean};

            MailMerge mailMerge1 = new MailMerge();
            MainDocumentType mainDocumentType1 = new MainDocumentType() {Val = MailMergeDocumentValues.FormLetter};
            DataType dataType1 = new DataType() {Val = MailMergeDataValues.TextFile};
            ActiveRecord activeRecord1 = new ActiveRecord() {Val = -1};

            mailMerge1.Append(mainDocumentType1);
            mailMerge1.Append(dataType1);
            mailMerge1.Append(activeRecord1);
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() {Val = 720};
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl()
                                                               {Val = CharacterSpacingValues.DoNotCompress};

            HeaderShapeDefaults headerShapeDefaults1 = new HeaderShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults1 = new Ovml.ShapeDefaults()
                                                {Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 6145};

            headerShapeDefaults1.Append(shapeDefaults1);

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference() {Id = -1};
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference() {Id = 0};

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference() {Id = -1};
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference() {Id = 0};

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);

            Compatibility compatibility1 = new Compatibility();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting()
                                                         {
                                                         	Name = CompatSettingNameValues.CompatibilityMode,
                                                         	Uri = "http://schemas.microsoft.com/office/word",
                                                         	Val = "14"
                                                         };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting()
                                                         {
                                                         	Name =
                                                         		CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification,
                                                         	Uri = "http://schemas.microsoft.com/office/word",
                                                         	Val = "1"
                                                         };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting()
                                                         {
                                                         	Name = CompatSettingNameValues.EnableOpenTypeFeatures,
                                                         	Uri = "http://schemas.microsoft.com/office/word",
                                                         	Val = "1"
                                                         };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting()
                                                         {
                                                         	Name = CompatSettingNameValues.DoNotFlipMirrorIndents,
                                                         	Uri = "http://schemas.microsoft.com/office/word",
                                                         	Val = "1"
                                                         };

            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() {Val = "002307CA"};
            Rsid rsid25 = new Rsid() {Val = "00021925"};
            Rsid rsid26 = new Rsid() {Val = "0005059E"};
            Rsid rsid27 = new Rsid() {Val = "002307CA"};
            Rsid rsid28 = new Rsid() {Val = "00267818"};
            Rsid rsid29 = new Rsid() {Val = "002E2CE3"};
            Rsid rsid30 = new Rsid() {Val = "00367B71"};
            Rsid rsid31 = new Rsid() {Val = "003C716F"};
            Rsid rsid32 = new Rsid() {Val = "00442AD3"};
            Rsid rsid33 = new Rsid() {Val = "00485B24"};
            Rsid rsid34 = new Rsid() {Val = "004B0395"};
            Rsid rsid35 = new Rsid() {Val = "005A7CCB"};
            Rsid rsid36 = new Rsid() {Val = "00664E23"};
            Rsid rsid37 = new Rsid() {Val = "006D0F9D"};
            Rsid rsid38 = new Rsid() {Val = "006F12E1"};
            Rsid rsid39 = new Rsid() {Val = "00731A43"};
            Rsid rsid40 = new Rsid() {Val = "00736D14"};
            Rsid rsid41 = new Rsid() {Val = "007977E5"};
            Rsid rsid42 = new Rsid() {Val = "007B10F8"};
            Rsid rsid43 = new Rsid() {Val = "007C67E7"};
            Rsid rsid44 = new Rsid() {Val = "00960953"};
            Rsid rsid45 = new Rsid() {Val = "009F02C7"};
            Rsid rsid46 = new Rsid() {Val = "00A056C7"};
            Rsid rsid47 = new Rsid() {Val = "00B32099"};
            Rsid rsid48 = new Rsid() {Val = "00B92CF0"};
            Rsid rsid49 = new Rsid() {Val = "00BC57A3"};
            Rsid rsid50 = new Rsid() {Val = "00BE6B68"};
            Rsid rsid51 = new Rsid() {Val = "00BF235B"};
            Rsid rsid52 = new Rsid() {Val = "00BF5126"};
            Rsid rsid53 = new Rsid() {Val = "00C91302"};
            Rsid rsid54 = new Rsid() {Val = "00CA68EB"};
            Rsid rsid55 = new Rsid() {Val = "00E33AA1"};
            Rsid rsid56 = new Rsid() {Val = "00E40D36"};
            Rsid rsid57 = new Rsid() {Val = "00E7460D"};
            Rsid rsid58 = new Rsid() {Val = "00E95156"};
            Rsid rsid59 = new Rsid() {Val = "00F06304"};
            Rsid rsid60 = new Rsid() {Val = "00FA5EBC"};
            Rsid rsid61 = new Rsid() {Val = "00FB1F22"};

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid25);
            rsids1.Append(rsid26);
            rsids1.Append(rsid27);
            rsids1.Append(rsid28);
            rsids1.Append(rsid29);
            rsids1.Append(rsid30);
            rsids1.Append(rsid31);
            rsids1.Append(rsid32);
            rsids1.Append(rsid33);
            rsids1.Append(rsid34);
            rsids1.Append(rsid35);
            rsids1.Append(rsid36);
            rsids1.Append(rsid37);
            rsids1.Append(rsid38);
            rsids1.Append(rsid39);
            rsids1.Append(rsid40);
            rsids1.Append(rsid41);
            rsids1.Append(rsid42);
            rsids1.Append(rsid43);
            rsids1.Append(rsid44);
            rsids1.Append(rsid45);
            rsids1.Append(rsid46);
            rsids1.Append(rsid47);
            rsids1.Append(rsid48);
            rsids1.Append(rsid49);
            rsids1.Append(rsid50);
            rsids1.Append(rsid51);
            rsids1.Append(rsid52);
            rsids1.Append(rsid53);
            rsids1.Append(rsid54);
            rsids1.Append(rsid55);
            rsids1.Append(rsid56);
            rsids1.Append(rsid57);
            rsids1.Append(rsid58);
            rsids1.Append(rsid59);
            rsids1.Append(rsid60);
            rsids1.Append(rsid61);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() {Val = "Cambria Math"};
            M.BreakBinary breakBinary1 = new M.BreakBinary() {Val = M.BreakBinaryOperatorValues.Before};
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction()
                                                               {Val = M.BreakBinarySubtractionValues.MinusMinus};
            M.SmallFraction smallFraction1 = new M.SmallFraction() {Val = M.BooleanValues.Zero};
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() {Val = (UInt32Value) 0U};
            M.RightMargin rightMargin1 = new M.RightMargin() {Val = (UInt32Value) 0U};
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() {Val = M.JustificationValues.CenterGroup};
            M.WrapIndent wrapIndent1 = new M.WrapIndent() {Val = (UInt32Value) 1440U};
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation()
                                                             {Val = M.LimitLocationValues.SubscriptSuperscript};
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() {Val = M.LimitLocationValues.UnderOver};

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() {Val = "en-US"};
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping()
                                                     {
                                                     	Background1 = ColorSchemeIndexValues.Light1,
                                                     	Text1 = ColorSchemeIndexValues.Dark1,
                                                     	Background2 = ColorSchemeIndexValues.Light2,
                                                     	Text2 = ColorSchemeIndexValues.Dark2,
                                                     	Accent1 = ColorSchemeIndexValues.Accent1,
                                                     	Accent2 = ColorSchemeIndexValues.Accent2,
                                                     	Accent3 = ColorSchemeIndexValues.Accent3,
                                                     	Accent4 = ColorSchemeIndexValues.Accent4,
                                                     	Accent5 = ColorSchemeIndexValues.Accent5,
                                                     	Accent6 = ColorSchemeIndexValues.Accent6,
                                                     	Hyperlink = ColorSchemeIndexValues.Hyperlink,
                                                     	FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink
                                                     };

            ShapeDefaults shapeDefaults2 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults3 = new Ovml.ShapeDefaults()
                                                {Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 6145};

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() {Extension = V.ExtensionHandlingBehaviorValues.Edit};
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() {Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1"};

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults2.Append(shapeDefaults3);
            shapeDefaults2.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() {Val = "."};
            ListSeparator listSeparator1 = new ListSeparator() {Val = ","};

            settings1.Append(zoom1);
            settings1.Append(proofState1);
            settings1.Append(mailMerge1);
            settings1.Append(defaultTabStop1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(headerShapeDefaults1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults2);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);

            documentSettingsPart1.Settings = settings1;
        }
Example #59
0
        // Generates content of documentSettingsPart2.
        private void GenerateDocumentSettingsPart2Content(DocumentSettingsPart documentSettingsPart2)
        {
            Settings settings2 = new Settings(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14 w15" }  };
            settings2.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings2.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings2.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings2.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings2.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings2.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings2.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings2.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2010/11/wordml");
            settings2.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom(){ Percent = "100" };
            BordersDoNotSurroundHeader bordersDoNotSurroundHeader2 = new BordersDoNotSurroundHeader();
            BordersDoNotSurroundFooter bordersDoNotSurroundFooter2 = new BordersDoNotSurroundFooter();
            ProofState proofState1 = new ProofState(){ Spelling = ProofingStateValues.Clean, Grammar = ProofingStateValues.Clean };
            DefaultTabStop defaultTabStop2 = new DefaultTabStop(){ Val = 840 };
            DisplayHorizontalDrawingGrid displayHorizontalDrawingGrid2 = new DisplayHorizontalDrawingGrid(){ Val = 0 };
            DisplayVerticalDrawingGrid displayVerticalDrawingGrid2 = new DisplayVerticalDrawingGrid(){ Val = 2 };
            CharacterSpacingControl characterSpacingControl2 = new CharacterSpacingControl(){ Val = CharacterSpacingValues.CompressPunctuation };

            HeaderShapeDefaults headerShapeDefaults1 = new HeaderShapeDefaults();

            Ovml.ShapeDefaults shapeDefaults1 = new Ovml.ShapeDefaults(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };
            V.TextBox textBox1 = new V.TextBox(){ Inset = "5.85pt,.7pt,5.85pt,.7pt" };

            shapeDefaults1.Append(textBox1);

            headerShapeDefaults1.Append(shapeDefaults1);

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference(){ Id = -1 };
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference(){ Id = 0 };

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference(){ Id = -1 };
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference(){ Id = 0 };

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);

            Compatibility compatibility2 = new Compatibility();
            SpaceForUnderline spaceForUnderline2 = new SpaceForUnderline();
            BalanceSingleByteDoubleByteWidth balanceSingleByteDoubleByteWidth2 = new BalanceSingleByteDoubleByteWidth();
            DoNotLeaveBackslashAlone doNotLeaveBackslashAlone2 = new DoNotLeaveBackslashAlone();
            UnderlineTrailingSpaces underlineTrailingSpaces2 = new UnderlineTrailingSpaces();
            DoNotExpandShiftReturn doNotExpandShiftReturn2 = new DoNotExpandShiftReturn();
            AdjustLineHeightInTable adjustLineHeightInTable2 = new AdjustLineHeightInTable();
            UseFarEastLayout useFarEastLayout2 = new UseFarEastLayout();
            CompatibilitySetting compatibilitySetting6 = new CompatibilitySetting(){ Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting7 = new CompatibilitySetting(){ Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting8 = new CompatibilitySetting(){ Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting9 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting10 = new CompatibilitySetting(){ Name = CompatSettingNameValues.DifferentiateMultirowTableHeaders, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility2.Append(spaceForUnderline2);
            compatibility2.Append(balanceSingleByteDoubleByteWidth2);
            compatibility2.Append(doNotLeaveBackslashAlone2);
            compatibility2.Append(underlineTrailingSpaces2);
            compatibility2.Append(doNotExpandShiftReturn2);
            compatibility2.Append(adjustLineHeightInTable2);
            compatibility2.Append(useFarEastLayout2);
            compatibility2.Append(compatibilitySetting6);
            compatibility2.Append(compatibilitySetting7);
            compatibility2.Append(compatibilitySetting8);
            compatibility2.Append(compatibilitySetting9);
            compatibility2.Append(compatibilitySetting10);

            Rsids rsids2 = new Rsids();
            RsidRoot rsidRoot2 = new RsidRoot(){ Val = "000010BA" };
            Rsid rsid21 = new Rsid(){ Val = "000010BA" };
            Rsid rsid22 = new Rsid(){ Val = "000C1702" };
            Rsid rsid23 = new Rsid(){ Val = "00221A5E" };
            Rsid rsid24 = new Rsid(){ Val = "00535C5E" };
            Rsid rsid25 = new Rsid(){ Val = "005A792B" };
            Rsid rsid26 = new Rsid(){ Val = "006D4DFB" };
            Rsid rsid27 = new Rsid(){ Val = "009651D6" };
            Rsid rsid28 = new Rsid(){ Val = "00A215C1" };
            Rsid rsid29 = new Rsid(){ Val = "00CC7467" };
            Rsid rsid30 = new Rsid(){ Val = "00DC649D" };
            Rsid rsid31 = new Rsid(){ Val = "00E86739" };
            Rsid rsid32 = new Rsid(){ Val = "00E90381" };
            Rsid rsid33 = new Rsid(){ Val = "00E930A2" };

            rsids2.Append(rsidRoot2);
            rsids2.Append(rsid21);
            rsids2.Append(rsid22);
            rsids2.Append(rsid23);
            rsids2.Append(rsid24);
            rsids2.Append(rsid25);
            rsids2.Append(rsid26);
            rsids2.Append(rsid27);
            rsids2.Append(rsid28);
            rsids2.Append(rsid29);
            rsids2.Append(rsid30);
            rsids2.Append(rsid31);
            rsids2.Append(rsid32);
            rsids2.Append(rsid33);

            M.MathProperties mathProperties2 = new M.MathProperties();
            M.MathFont mathFont2 = new M.MathFont(){ Val = "Cambria Math" };
            M.BreakBinary breakBinary2 = new M.BreakBinary(){ Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction2 = new M.BreakBinarySubtraction(){ Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction2 = new M.SmallFraction(){ Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults2 = new M.DisplayDefaults();
            M.LeftMargin leftMargin2 = new M.LeftMargin(){ Val = (UInt32Value)0U };
            M.RightMargin rightMargin2 = new M.RightMargin(){ Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification2 = new M.DefaultJustification(){ Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent2 = new M.WrapIndent(){ Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation2 = new M.IntegralLimitLocation(){ Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation2 = new M.NaryLimitLocation(){ Val = M.LimitLocationValues.UnderOver };

            mathProperties2.Append(mathFont2);
            mathProperties2.Append(breakBinary2);
            mathProperties2.Append(breakBinarySubtraction2);
            mathProperties2.Append(smallFraction2);
            mathProperties2.Append(displayDefaults2);
            mathProperties2.Append(leftMargin2);
            mathProperties2.Append(rightMargin2);
            mathProperties2.Append(defaultJustification2);
            mathProperties2.Append(wrapIndent2);
            mathProperties2.Append(integralLimitLocation2);
            mathProperties2.Append(naryLimitLocation2);
            ThemeFontLanguages themeFontLanguages2 = new ThemeFontLanguages(){ Val = "en-US", EastAsia = "ja-JP" };
            ColorSchemeMapping colorSchemeMapping2 = new ColorSchemeMapping(){ Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults2 = new ShapeDefaults();

            Ovml.ShapeDefaults shapeDefaults3 = new Ovml.ShapeDefaults(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };
            V.TextBox textBox2 = new V.TextBox(){ Inset = "5.85pt,.7pt,5.85pt,.7pt" };

            shapeDefaults3.Append(textBox2);

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout(){ Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap(){ Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults2.Append(shapeDefaults3);
            shapeDefaults2.Append(shapeLayout1);
            DecimalSymbol decimalSymbol2 = new DecimalSymbol(){ Val = "." };
            ListSeparator listSeparator2 = new ListSeparator(){ Val = "," };
            W15.ChartTrackingRefBased chartTrackingRefBased2 = new W15.ChartTrackingRefBased();
            W15.PersistentDocumentId persistentDocumentId1 = new W15.PersistentDocumentId(){ Val = "{855411F9-778F-4476-A693-CE4F6511E7CE}" };

            settings2.Append(zoom1);
            settings2.Append(bordersDoNotSurroundHeader2);
            settings2.Append(bordersDoNotSurroundFooter2);
            settings2.Append(proofState1);
            settings2.Append(defaultTabStop2);
            settings2.Append(displayHorizontalDrawingGrid2);
            settings2.Append(displayVerticalDrawingGrid2);
            settings2.Append(characterSpacingControl2);
            settings2.Append(headerShapeDefaults1);
            settings2.Append(footnoteDocumentWideProperties1);
            settings2.Append(endnoteDocumentWideProperties1);
            settings2.Append(compatibility2);
            settings2.Append(rsids2);
            settings2.Append(mathProperties2);
            settings2.Append(themeFontLanguages2);
            settings2.Append(colorSchemeMapping2);
            settings2.Append(shapeDefaults2);
            settings2.Append(decimalSymbol2);
            settings2.Append(listSeparator2);
            settings2.Append(chartTrackingRefBased2);
            settings2.Append(persistentDocumentId1);

            documentSettingsPart2.Settings = settings2;
        }
Example #60
0
        // Generates content of documentSettingsPart1.
        private static void GenerateDocumentSettingsPart1Content(DocumentSettingsPart documentSettingsPart1)
        {
            Settings settings1 = new Settings() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15" } };
            settings1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            settings1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            settings1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            settings1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            settings1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            settings1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            settings1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            settings1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            settings1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            settings1.AddNamespaceDeclaration("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main");
            Zoom zoom1 = new Zoom() { Percent = "100" };
            BordersDoNotSurroundHeader bordersDoNotSurroundHeader1 = new BordersDoNotSurroundHeader();
            BordersDoNotSurroundFooter bordersDoNotSurroundFooter1 = new BordersDoNotSurroundFooter();
            AttachedTemplate attachedTemplate1 = new AttachedTemplate() { Id = "rId1" };
            DefaultTabStop defaultTabStop1 = new DefaultTabStop() { Val = 420 };
            DrawingGridVerticalSpacing drawingGridVerticalSpacing1 = new DrawingGridVerticalSpacing() { Val = "156" };
            DisplayHorizontalDrawingGrid displayHorizontalDrawingGrid1 = new DisplayHorizontalDrawingGrid() { Val = 0 };
            DisplayVerticalDrawingGrid displayVerticalDrawingGrid1 = new DisplayVerticalDrawingGrid() { Val = 2 };
            CharacterSpacingControl characterSpacingControl1 = new CharacterSpacingControl() { Val = CharacterSpacingValues.CompressPunctuation };

            HeaderShapeDefaults headerShapeDefaults1 = new HeaderShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults1 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };

            headerShapeDefaults1.Append(shapeDefaults1);

            FootnoteDocumentWideProperties footnoteDocumentWideProperties1 = new FootnoteDocumentWideProperties();
            FootnoteSpecialReference footnoteSpecialReference1 = new FootnoteSpecialReference() { Id = -1 };
            FootnoteSpecialReference footnoteSpecialReference2 = new FootnoteSpecialReference() { Id = 0 };

            footnoteDocumentWideProperties1.Append(footnoteSpecialReference1);
            footnoteDocumentWideProperties1.Append(footnoteSpecialReference2);

            EndnoteDocumentWideProperties endnoteDocumentWideProperties1 = new EndnoteDocumentWideProperties();
            EndnoteSpecialReference endnoteSpecialReference1 = new EndnoteSpecialReference() { Id = -1 };
            EndnoteSpecialReference endnoteSpecialReference2 = new EndnoteSpecialReference() { Id = 0 };

            endnoteDocumentWideProperties1.Append(endnoteSpecialReference1);
            endnoteDocumentWideProperties1.Append(endnoteSpecialReference2);

            Compatibility compatibility1 = new Compatibility();
            SpaceForUnderline spaceForUnderline1 = new SpaceForUnderline();
            BalanceSingleByteDoubleByteWidth balanceSingleByteDoubleByteWidth1 = new BalanceSingleByteDoubleByteWidth();
            DoNotLeaveBackslashAlone doNotLeaveBackslashAlone1 = new DoNotLeaveBackslashAlone();
            UnderlineTrailingSpaces underlineTrailingSpaces1 = new UnderlineTrailingSpaces();
            DoNotExpandShiftReturn doNotExpandShiftReturn1 = new DoNotExpandShiftReturn();
            AdjustLineHeightInTable adjustLineHeightInTable1 = new AdjustLineHeightInTable();
            UseFarEastLayout useFarEastLayout1 = new UseFarEastLayout();
            CompatibilitySetting compatibilitySetting1 = new CompatibilitySetting() { Name = CompatSettingNameValues.CompatibilityMode, Uri = "http://schemas.microsoft.com/office/word", Val = "15" };
            CompatibilitySetting compatibilitySetting2 = new CompatibilitySetting() { Name = CompatSettingNameValues.OverrideTableStyleFontSizeAndJustification, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting3 = new CompatibilitySetting() { Name = CompatSettingNameValues.EnableOpenTypeFeatures, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting4 = new CompatibilitySetting() { Name = CompatSettingNameValues.DoNotFlipMirrorIndents, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };
            CompatibilitySetting compatibilitySetting5 = new CompatibilitySetting() { Name = CompatSettingNameValues.DifferentiateMultirowTableHeaders, Uri = "http://schemas.microsoft.com/office/word", Val = "1" };

            compatibility1.Append(spaceForUnderline1);
            compatibility1.Append(balanceSingleByteDoubleByteWidth1);
            compatibility1.Append(doNotLeaveBackslashAlone1);
            compatibility1.Append(underlineTrailingSpaces1);
            compatibility1.Append(doNotExpandShiftReturn1);
            compatibility1.Append(adjustLineHeightInTable1);
            compatibility1.Append(useFarEastLayout1);
            compatibility1.Append(compatibilitySetting1);
            compatibility1.Append(compatibilitySetting2);
            compatibility1.Append(compatibilitySetting3);
            compatibility1.Append(compatibilitySetting4);
            compatibility1.Append(compatibilitySetting5);

            Rsids rsids1 = new Rsids();
            RsidRoot rsidRoot1 = new RsidRoot() { Val = "009446D8" };
            Rsid rsid1 = new Rsid() { Val = "00000E1C" };
            Rsid rsid2 = new Rsid() { Val = "00003DC0" };
            Rsid rsid3 = new Rsid() { Val = "000275B2" };
            Rsid rsid4 = new Rsid() { Val = "00046D2C" };
            Rsid rsid5 = new Rsid() { Val = "000A213E" };
            Rsid rsid6 = new Rsid() { Val = "000B5BB8" };
            Rsid rsid7 = new Rsid() { Val = "000C5029" };
            Rsid rsid8 = new Rsid() { Val = "00124526" };
            Rsid rsid9 = new Rsid() { Val = "00127314" };
            Rsid rsid10 = new Rsid() { Val = "00134DB2" };
            Rsid rsid11 = new Rsid() { Val = "00156B7C" };
            Rsid rsid12 = new Rsid() { Val = "00165201" };
            Rsid rsid13 = new Rsid() { Val = "001743C8" };
            Rsid rsid14 = new Rsid() { Val = "001A11E4" };
            Rsid rsid15 = new Rsid() { Val = "001B238C" };
            Rsid rsid16 = new Rsid() { Val = "001D24A4" };
            Rsid rsid17 = new Rsid() { Val = "001E6C69" };
            Rsid rsid18 = new Rsid() { Val = "001F241C" };
            Rsid rsid19 = new Rsid() { Val = "00232EBB" };
            Rsid rsid20 = new Rsid() { Val = "0026480F" };
            Rsid rsid21 = new Rsid() { Val = "00267990" };
            Rsid rsid22 = new Rsid() { Val = "00277666" };
            Rsid rsid23 = new Rsid() { Val = "002836B8" };
            Rsid rsid24 = new Rsid() { Val = "00292599" };
            Rsid rsid25 = new Rsid() { Val = "002B0FD9" };
            Rsid rsid26 = new Rsid() { Val = "002C0C4A" };
            Rsid rsid27 = new Rsid() { Val = "002D3691" };
            Rsid rsid28 = new Rsid() { Val = "002E137D" };
            Rsid rsid29 = new Rsid() { Val = "002E1C1B" };
            Rsid rsid30 = new Rsid() { Val = "002F3A0D" };
            Rsid rsid31 = new Rsid() { Val = "00305AC1" };
            Rsid rsid32 = new Rsid() { Val = "00310F8D" };
            Rsid rsid33 = new Rsid() { Val = "003177A3" };
            Rsid rsid34 = new Rsid() { Val = "003823CD" };
            Rsid rsid35 = new Rsid() { Val = "003B02D4" };
            Rsid rsid36 = new Rsid() { Val = "003C4A95" };
            Rsid rsid37 = new Rsid() { Val = "003D3708" };
            Rsid rsid38 = new Rsid() { Val = "003E1B97" };
            Rsid rsid39 = new Rsid() { Val = "003F6860" };
            Rsid rsid40 = new Rsid() { Val = "003F7A75" };
            Rsid rsid41 = new Rsid() { Val = "00403E77" };
            Rsid rsid42 = new Rsid() { Val = "00417E2C" };
            Rsid rsid43 = new Rsid() { Val = "00434ADB" };
            Rsid rsid44 = new Rsid() { Val = "004518E0" };
            Rsid rsid45 = new Rsid() { Val = "00467DE2" };
            Rsid rsid46 = new Rsid() { Val = "0047548B" };
            Rsid rsid47 = new Rsid() { Val = "004C6AA7" };
            Rsid rsid48 = new Rsid() { Val = "004D2615" };
            Rsid rsid49 = new Rsid() { Val = "004D60B6" };
            Rsid rsid50 = new Rsid() { Val = "004D67C7" };
            Rsid rsid51 = new Rsid() { Val = "004E6F28" };
            Rsid rsid52 = new Rsid() { Val = "00506664" };
            Rsid rsid53 = new Rsid() { Val = "005118E8" };
            Rsid rsid54 = new Rsid() { Val = "0052122E" };
            Rsid rsid55 = new Rsid() { Val = "0054564C" };
            Rsid rsid56 = new Rsid() { Val = "0054593E" };
            Rsid rsid57 = new Rsid() { Val = "00550AA0" };
            Rsid rsid58 = new Rsid() { Val = "005601D7" };
            Rsid rsid59 = new Rsid() { Val = "0059148C" };
            Rsid rsid60 = new Rsid() { Val = "00594F7D" };
            Rsid rsid61 = new Rsid() { Val = "005A08D0" };
            Rsid rsid62 = new Rsid() { Val = "005B004F" };
            Rsid rsid63 = new Rsid() { Val = "005B5260" };
            Rsid rsid64 = new Rsid() { Val = "005C21DB" };
            Rsid rsid65 = new Rsid() { Val = "0063728F" };
            Rsid rsid66 = new Rsid() { Val = "00665E6B" };
            Rsid rsid67 = new Rsid() { Val = "00692A94" };
            Rsid rsid68 = new Rsid() { Val = "006B0FE7" };
            Rsid rsid69 = new Rsid() { Val = "006B2C44" };
            Rsid rsid70 = new Rsid() { Val = "006D233C" };
            Rsid rsid71 = new Rsid() { Val = "006D4248" };
            Rsid rsid72 = new Rsid() { Val = "006E017B" };
            Rsid rsid73 = new Rsid() { Val = "00701985" };
            Rsid rsid74 = new Rsid() { Val = "00715E68" };
            Rsid rsid75 = new Rsid() { Val = "00744157" };
            Rsid rsid76 = new Rsid() { Val = "00754BC3" };
            Rsid rsid77 = new Rsid() { Val = "007561BE" };
            Rsid rsid78 = new Rsid() { Val = "007663F0" };
            Rsid rsid79 = new Rsid() { Val = "00783011" };
            Rsid rsid80 = new Rsid() { Val = "00783ADE" };
            Rsid rsid81 = new Rsid() { Val = "00787C9A" };
            Rsid rsid82 = new Rsid() { Val = "007A678A" };
            Rsid rsid83 = new Rsid() { Val = "007E5337" };
            Rsid rsid84 = new Rsid() { Val = "00800A7E" };
            Rsid rsid85 = new Rsid() { Val = "0081551B" };
            Rsid rsid86 = new Rsid() { Val = "0084537D" };
            Rsid rsid87 = new Rsid() { Val = "008468F5" };
            Rsid rsid88 = new Rsid() { Val = "008570E8" };
            Rsid rsid89 = new Rsid() { Val = "00862279" };
            Rsid rsid90 = new Rsid() { Val = "0086416E" };
            Rsid rsid91 = new Rsid() { Val = "00870446" };
            Rsid rsid92 = new Rsid() { Val = "00883479" };
            Rsid rsid93 = new Rsid() { Val = "008A3667" };
            Rsid rsid94 = new Rsid() { Val = "008C59FA" };
            Rsid rsid95 = new Rsid() { Val = "008D7654" };
            Rsid rsid96 = new Rsid() { Val = "00933D40" };
            Rsid rsid97 = new Rsid() { Val = "00942281" };
            Rsid rsid98 = new Rsid() { Val = "009446D8" };
            Rsid rsid99 = new Rsid() { Val = "009732CB" };
            Rsid rsid100 = new Rsid() { Val = "00996BFB" };
            Rsid rsid101 = new Rsid() { Val = "00A219D4" };
            Rsid rsid102 = new Rsid() { Val = "00A30087" };
            Rsid rsid103 = new Rsid() { Val = "00A80B81" };
            Rsid rsid104 = new Rsid() { Val = "00A90780" };
            Rsid rsid105 = new Rsid() { Val = "00AD59C4" };
            Rsid rsid106 = new Rsid() { Val = "00AD64CE" };
            Rsid rsid107 = new Rsid() { Val = "00AE2E8A" };
            Rsid rsid108 = new Rsid() { Val = "00AE4558" };
            Rsid rsid109 = new Rsid() { Val = "00B1006B" };
            Rsid rsid110 = new Rsid() { Val = "00B12841" };
            Rsid rsid111 = new Rsid() { Val = "00B3150E" };
            Rsid rsid112 = new Rsid() { Val = "00B929C4" };
            Rsid rsid113 = new Rsid() { Val = "00BA6070" };
            Rsid rsid114 = new Rsid() { Val = "00BE1EF6" };
            Rsid rsid115 = new Rsid() { Val = "00BE7A30" };
            Rsid rsid116 = new Rsid() { Val = "00C20112" };
            Rsid rsid117 = new Rsid() { Val = "00C47143" };
            Rsid rsid118 = new Rsid() { Val = "00C72E09" };
            Rsid rsid119 = new Rsid() { Val = "00C761FE" };
            Rsid rsid120 = new Rsid() { Val = "00CA0A9D" };
            Rsid rsid121 = new Rsid() { Val = "00CA517A" };
            Rsid rsid122 = new Rsid() { Val = "00CD5A1A" };
            Rsid rsid123 = new Rsid() { Val = "00CF6585" };
            Rsid rsid124 = new Rsid() { Val = "00D513DA" };
            Rsid rsid125 = new Rsid() { Val = "00D928C5" };
            Rsid rsid126 = new Rsid() { Val = "00D96872" };
            Rsid rsid127 = new Rsid() { Val = "00DC4F59" };
            Rsid rsid128 = new Rsid() { Val = "00DC52C8" };
            Rsid rsid129 = new Rsid() { Val = "00DC6850" };
            Rsid rsid130 = new Rsid() { Val = "00E002CE" };
            Rsid rsid131 = new Rsid() { Val = "00E12065" };
            Rsid rsid132 = new Rsid() { Val = "00E1522A" };
            Rsid rsid133 = new Rsid() { Val = "00E4316D" };
            Rsid rsid134 = new Rsid() { Val = "00E433B6" };
            Rsid rsid135 = new Rsid() { Val = "00E6492E" };
            Rsid rsid136 = new Rsid() { Val = "00E65437" };
            Rsid rsid137 = new Rsid() { Val = "00E87F0F" };
            Rsid rsid138 = new Rsid() { Val = "00E94E4C" };
            Rsid rsid139 = new Rsid() { Val = "00EB28F3" };
            Rsid rsid140 = new Rsid() { Val = "00EB66F4" };
            Rsid rsid141 = new Rsid() { Val = "00EC0F7F" };
            Rsid rsid142 = new Rsid() { Val = "00EC5804" };
            Rsid rsid143 = new Rsid() { Val = "00ED7D92" };
            Rsid rsid144 = new Rsid() { Val = "00EF2164" };
            Rsid rsid145 = new Rsid() { Val = "00F1537C" };
            Rsid rsid146 = new Rsid() { Val = "00F17360" };
            Rsid rsid147 = new Rsid() { Val = "00F23CC8" };
            Rsid rsid148 = new Rsid() { Val = "00F30C5C" };
            Rsid rsid149 = new Rsid() { Val = "00F6304E" };
            Rsid rsid150 = new Rsid() { Val = "00F95246" };
            Rsid rsid151 = new Rsid() { Val = "00FA1A5C" };
            Rsid rsid152 = new Rsid() { Val = "00FA1EA6" };
            Rsid rsid153 = new Rsid() { Val = "00FA77B7" };
            Rsid rsid154 = new Rsid() { Val = "00FE6413" };
            Rsid rsid155 = new Rsid() { Val = "00FF0129" };
            Rsid rsid156 = new Rsid() { Val = "00FF14A8" };

            rsids1.Append(rsidRoot1);
            rsids1.Append(rsid1);
            rsids1.Append(rsid2);
            rsids1.Append(rsid3);
            rsids1.Append(rsid4);
            rsids1.Append(rsid5);
            rsids1.Append(rsid6);
            rsids1.Append(rsid7);
            rsids1.Append(rsid8);
            rsids1.Append(rsid9);
            rsids1.Append(rsid10);
            rsids1.Append(rsid11);
            rsids1.Append(rsid12);
            rsids1.Append(rsid13);
            rsids1.Append(rsid14);
            rsids1.Append(rsid15);
            rsids1.Append(rsid16);
            rsids1.Append(rsid17);
            rsids1.Append(rsid18);
            rsids1.Append(rsid19);
            rsids1.Append(rsid20);
            rsids1.Append(rsid21);
            rsids1.Append(rsid22);
            rsids1.Append(rsid23);
            rsids1.Append(rsid24);
            rsids1.Append(rsid25);
            rsids1.Append(rsid26);
            rsids1.Append(rsid27);
            rsids1.Append(rsid28);
            rsids1.Append(rsid29);
            rsids1.Append(rsid30);
            rsids1.Append(rsid31);
            rsids1.Append(rsid32);
            rsids1.Append(rsid33);
            rsids1.Append(rsid34);
            rsids1.Append(rsid35);
            rsids1.Append(rsid36);
            rsids1.Append(rsid37);
            rsids1.Append(rsid38);
            rsids1.Append(rsid39);
            rsids1.Append(rsid40);
            rsids1.Append(rsid41);
            rsids1.Append(rsid42);
            rsids1.Append(rsid43);
            rsids1.Append(rsid44);
            rsids1.Append(rsid45);
            rsids1.Append(rsid46);
            rsids1.Append(rsid47);
            rsids1.Append(rsid48);
            rsids1.Append(rsid49);
            rsids1.Append(rsid50);
            rsids1.Append(rsid51);
            rsids1.Append(rsid52);
            rsids1.Append(rsid53);
            rsids1.Append(rsid54);
            rsids1.Append(rsid55);
            rsids1.Append(rsid56);
            rsids1.Append(rsid57);
            rsids1.Append(rsid58);
            rsids1.Append(rsid59);
            rsids1.Append(rsid60);
            rsids1.Append(rsid61);
            rsids1.Append(rsid62);
            rsids1.Append(rsid63);
            rsids1.Append(rsid64);
            rsids1.Append(rsid65);
            rsids1.Append(rsid66);
            rsids1.Append(rsid67);
            rsids1.Append(rsid68);
            rsids1.Append(rsid69);
            rsids1.Append(rsid70);
            rsids1.Append(rsid71);
            rsids1.Append(rsid72);
            rsids1.Append(rsid73);
            rsids1.Append(rsid74);
            rsids1.Append(rsid75);
            rsids1.Append(rsid76);
            rsids1.Append(rsid77);
            rsids1.Append(rsid78);
            rsids1.Append(rsid79);
            rsids1.Append(rsid80);
            rsids1.Append(rsid81);
            rsids1.Append(rsid82);
            rsids1.Append(rsid83);
            rsids1.Append(rsid84);
            rsids1.Append(rsid85);
            rsids1.Append(rsid86);
            rsids1.Append(rsid87);
            rsids1.Append(rsid88);
            rsids1.Append(rsid89);
            rsids1.Append(rsid90);
            rsids1.Append(rsid91);
            rsids1.Append(rsid92);
            rsids1.Append(rsid93);
            rsids1.Append(rsid94);
            rsids1.Append(rsid95);
            rsids1.Append(rsid96);
            rsids1.Append(rsid97);
            rsids1.Append(rsid98);
            rsids1.Append(rsid99);
            rsids1.Append(rsid100);
            rsids1.Append(rsid101);
            rsids1.Append(rsid102);
            rsids1.Append(rsid103);
            rsids1.Append(rsid104);
            rsids1.Append(rsid105);
            rsids1.Append(rsid106);
            rsids1.Append(rsid107);
            rsids1.Append(rsid108);
            rsids1.Append(rsid109);
            rsids1.Append(rsid110);
            rsids1.Append(rsid111);
            rsids1.Append(rsid112);
            rsids1.Append(rsid113);
            rsids1.Append(rsid114);
            rsids1.Append(rsid115);
            rsids1.Append(rsid116);
            rsids1.Append(rsid117);
            rsids1.Append(rsid118);
            rsids1.Append(rsid119);
            rsids1.Append(rsid120);
            rsids1.Append(rsid121);
            rsids1.Append(rsid122);
            rsids1.Append(rsid123);
            rsids1.Append(rsid124);
            rsids1.Append(rsid125);
            rsids1.Append(rsid126);
            rsids1.Append(rsid127);
            rsids1.Append(rsid128);
            rsids1.Append(rsid129);
            rsids1.Append(rsid130);
            rsids1.Append(rsid131);
            rsids1.Append(rsid132);
            rsids1.Append(rsid133);
            rsids1.Append(rsid134);
            rsids1.Append(rsid135);
            rsids1.Append(rsid136);
            rsids1.Append(rsid137);
            rsids1.Append(rsid138);
            rsids1.Append(rsid139);
            rsids1.Append(rsid140);
            rsids1.Append(rsid141);
            rsids1.Append(rsid142);
            rsids1.Append(rsid143);
            rsids1.Append(rsid144);
            rsids1.Append(rsid145);
            rsids1.Append(rsid146);
            rsids1.Append(rsid147);
            rsids1.Append(rsid148);
            rsids1.Append(rsid149);
            rsids1.Append(rsid150);
            rsids1.Append(rsid151);
            rsids1.Append(rsid152);
            rsids1.Append(rsid153);
            rsids1.Append(rsid154);
            rsids1.Append(rsid155);
            rsids1.Append(rsid156);

            M.MathProperties mathProperties1 = new M.MathProperties();
            M.MathFont mathFont1 = new M.MathFont() { Val = "Cambria Math" };
            M.BreakBinary breakBinary1 = new M.BreakBinary() { Val = M.BreakBinaryOperatorValues.Before };
            M.BreakBinarySubtraction breakBinarySubtraction1 = new M.BreakBinarySubtraction() { Val = M.BreakBinarySubtractionValues.MinusMinus };
            M.SmallFraction smallFraction1 = new M.SmallFraction() { Val = M.BooleanValues.Zero };
            M.DisplayDefaults displayDefaults1 = new M.DisplayDefaults();
            M.LeftMargin leftMargin1 = new M.LeftMargin() { Val = (UInt32Value)0U };
            M.RightMargin rightMargin1 = new M.RightMargin() { Val = (UInt32Value)0U };
            M.DefaultJustification defaultJustification1 = new M.DefaultJustification() { Val = M.JustificationValues.CenterGroup };
            M.WrapIndent wrapIndent1 = new M.WrapIndent() { Val = (UInt32Value)1440U };
            M.IntegralLimitLocation integralLimitLocation1 = new M.IntegralLimitLocation() { Val = M.LimitLocationValues.SubscriptSuperscript };
            M.NaryLimitLocation naryLimitLocation1 = new M.NaryLimitLocation() { Val = M.LimitLocationValues.UnderOver };

            mathProperties1.Append(mathFont1);
            mathProperties1.Append(breakBinary1);
            mathProperties1.Append(breakBinarySubtraction1);
            mathProperties1.Append(smallFraction1);
            mathProperties1.Append(displayDefaults1);
            mathProperties1.Append(leftMargin1);
            mathProperties1.Append(rightMargin1);
            mathProperties1.Append(defaultJustification1);
            mathProperties1.Append(wrapIndent1);
            mathProperties1.Append(integralLimitLocation1);
            mathProperties1.Append(naryLimitLocation1);
            ThemeFontLanguages themeFontLanguages1 = new ThemeFontLanguages() { Val = "en-US", EastAsia = "zh-CN" };
            ColorSchemeMapping colorSchemeMapping1 = new ColorSchemeMapping() { Background1 = ColorSchemeIndexValues.Light1, Text1 = ColorSchemeIndexValues.Dark1, Background2 = ColorSchemeIndexValues.Light2, Text2 = ColorSchemeIndexValues.Dark2, Accent1 = ColorSchemeIndexValues.Accent1, Accent2 = ColorSchemeIndexValues.Accent2, Accent3 = ColorSchemeIndexValues.Accent3, Accent4 = ColorSchemeIndexValues.Accent4, Accent5 = ColorSchemeIndexValues.Accent5, Accent6 = ColorSchemeIndexValues.Accent6, Hyperlink = ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = ColorSchemeIndexValues.FollowedHyperlink };

            ShapeDefaults shapeDefaults2 = new ShapeDefaults();
            Ovml.ShapeDefaults shapeDefaults3 = new Ovml.ShapeDefaults() { Extension = V.ExtensionHandlingBehaviorValues.Edit, MaxShapeId = 2049 };

            Ovml.ShapeLayout shapeLayout1 = new Ovml.ShapeLayout() { Extension = V.ExtensionHandlingBehaviorValues.Edit };
            Ovml.ShapeIdMap shapeIdMap1 = new Ovml.ShapeIdMap() { Extension = V.ExtensionHandlingBehaviorValues.Edit, Data = "1" };

            shapeLayout1.Append(shapeIdMap1);

            shapeDefaults2.Append(shapeDefaults3);
            shapeDefaults2.Append(shapeLayout1);
            DecimalSymbol decimalSymbol1 = new DecimalSymbol() { Val = "." };
            ListSeparator listSeparator1 = new ListSeparator() { Val = "," };
            W15.ChartTrackingRefBased chartTrackingRefBased1 = new W15.ChartTrackingRefBased();
            W15.PersistentDocumentId persistentDocumentId1 = new W15.PersistentDocumentId() { Val = "{FBB28D33-AE74-477E-BB4F-B17128D70046}" };

            settings1.Append(zoom1);
            settings1.Append(bordersDoNotSurroundHeader1);
            settings1.Append(bordersDoNotSurroundFooter1);
            settings1.Append(attachedTemplate1);
            settings1.Append(defaultTabStop1);
            settings1.Append(drawingGridVerticalSpacing1);
            settings1.Append(displayHorizontalDrawingGrid1);
            settings1.Append(displayVerticalDrawingGrid1);
            settings1.Append(characterSpacingControl1);
            settings1.Append(headerShapeDefaults1);
            settings1.Append(footnoteDocumentWideProperties1);
            settings1.Append(endnoteDocumentWideProperties1);
            settings1.Append(compatibility1);
            settings1.Append(rsids1);
            settings1.Append(mathProperties1);
            settings1.Append(themeFontLanguages1);
            settings1.Append(colorSchemeMapping1);
            settings1.Append(shapeDefaults2);
            settings1.Append(decimalSymbol1);
            settings1.Append(listSeparator1);
            settings1.Append(chartTrackingRefBased1);
            settings1.Append(persistentDocumentId1);

            documentSettingsPart1.Settings = settings1;
        }