/// <summary> /// Decompile the HelpFilterToNamespace table. /// </summary> /// <param name="table">The table to decompile.</param> private void DecompileHelpFilterToNamespaceTable(Table table) { foreach (Row row in table.Rows) { VS.HelpFilterRef helpFilterRef = new VS.HelpFilterRef(); helpFilterRef.Id = (string)row[0]; VS.HelpCollection helpCollection = (VS.HelpCollection) this.Core.GetIndexedElement("HelpNamespace", (string)row[1]); if (null != helpCollection) { helpCollection.AddChild(helpFilterRef); } else { this.Core.OnMessage(WixWarnings.ExpectedForeignRow(row.SourceLineNumbers, table.Name, row.GetPrimaryKey(DecompilerConstants.PrimaryKeyDelimiter), "HelpNamespace_", (string)row[1], "HelpNamespace")); } } }
/// <summary> /// Decompile the HelpPlugin table. /// </summary> /// <param name="table">The table to decompile.</param> private void DecompileHelpPluginTable(Table table) { foreach (Row row in table.Rows) { VS.PlugCollectionInto plugCollectionInto = new VS.PlugCollectionInto(); plugCollectionInto.TargetCollection = (string)row[1]; if (null != row[2]) { plugCollectionInto.TableOfContents = (string)row[2]; } if (null != row[3]) { plugCollectionInto.Attributes = (string)row[3]; } if (null != row[4]) { plugCollectionInto.TargetTableOfContents = (string)row[4]; } if (this.Core.RootElement is Wix.Module) { plugCollectionInto.SuppressExternalNamespaces = VS.YesNoType.yes; } //we cannot do this work because we cannot get the FeatureComponent table //plugCollectionInto.TargetFeature = DecompileHelpComponents(); VS.HelpCollection helpCollection = (VS.HelpCollection) this.Core.GetIndexedElement("HelpNamespace", (string)row[0]); if (null != helpCollection) { helpCollection.AddChild(plugCollectionInto); } else { this.Core.OnMessage(WixWarnings.ExpectedForeignRow(row.SourceLineNumbers, table.Name, row.GetPrimaryKey(DecompilerConstants.PrimaryKeyDelimiter), "HelpNamespace_", (string)row[0], "HelpNamespace")); } } }