public XlsxMacrosheetXmlPartFilter(CommonNamespaces commonNamespaces, Dictionary<string, string> StringContentLookup, Dictionary<string, WorkSheet> WorksheetLookup, Dictionary<string, CellFormatData> CellFormats, ContentType[] contentTypesToDetect, ref XlsxProcessingDictionaries processingDictionaries, ref PredefinedObjectsProcessingHelper predefinedObjectsHelper, PartInfo rel)
     : base(commonNamespaces, rel.Target, StringContentLookup, WorksheetLookup, CellFormats, contentTypesToDetect, ref processingDictionaries, ref predefinedObjectsHelper)
 {
     m_id = rel.Id;
     m_target = rel.Target;
     m_type = rel.GetContentType();
 }
 public DiagramXmlPartFilter(CommonNamespaces commonNamespaces, ContentType[] contentTypesToDetect, bool preProcessing, ref PredefinedObjectsProcessingHelper DiagramHelper)
     : base(commonNamespaces)
 {
     m_commonNamespaces = commonNamespaces;
     m_contentTypesToDetect = contentTypesToDetect;
     m_preProcessing = preProcessing;
     m_DiagramHelper = DiagramHelper;
 }
 public XlsxPreprocessWorksheetPartFilter(CommonNamespaces commonNamespaces, string target, ContentType[] contentTypesToDetect, Dictionary<string, WorkSheet> WorksheetLookup, Dictionary<string, CellFormatData> CellFormatsLookup, ref XlsxProcessingDictionaries processingDictionaries, ref PredefinedObjectsProcessingHelper predefinedObjectsHelper)
     : base(commonNamespaces)
 {
     m_contentTypesToDetect = contentTypesToDetect;
     m_worksheetLookup = WorksheetLookup;
     m_cellFormatsLookup = CellFormatsLookup;
     m_target = target;
     m_processingDictionaries = processingDictionaries;
     m_predefinedObjectsHelper = predefinedObjectsHelper;
 }
Example #4
0
 public StateTracker(CommonNamespaces commonNamespaces, List<ContentType> ctypes, ref PredefinedObjectsProcessingHelper predefinedObjectsHelper)
 {
     m_interestedInWhiteText = ctypes.Contains(ContentType.WhiteText);
     m_interestedInSmallText = ctypes.Contains(ContentType.SmallText);
     m_interestedInRedactedText = ctypes.Contains(ContentType.RedactedText);
     m_interestedInHiddenRow = ctypes.Contains(ContentType.HiddenRow);
     m_interestedInHiddenColumn = ctypes.Contains(ContentType.HiddenColumn);
     m_interestedInHyperlinks = ctypes.Contains(ContentType.Hyperlink);
     m_interestedInLinks = ctypes.Contains(ContentType.Links);
     m_interestedInHiddenSheets = ctypes.Contains(ContentType.HiddenSheet);
     m_interestedInMacros = ctypes.Contains(ContentType.Macro);
     m_predefinedObjectsHelper = predefinedObjectsHelper;
     m_commonNamespaces = commonNamespaces;
 }
Example #5
0
 public DiagramXmlFilter(DocumentText docText, CommonNamespaces commonNamespaces, ContentType[] contentTypesOfInterest, ref PredefinedObjectsProcessingHelper DiagramHelper)
     : base(docText, commonNamespaces)
 {
     m_stateTracker = new DiagramStateTracker(new List<ContentType>(contentTypesOfInterest));
     m_DiagramHelper = DiagramHelper;
 }
 public DiagramColoursXmlPartFilter(CommonNamespaces commonNamespaces, ref PredefinedObjectsProcessingHelper DiagramHelper)
     : base(commonNamespaces)
 {
     m_commonNamespaces = commonNamespaces;
     m_DiagramHelper = DiagramHelper;
 }
Example #7
0
 public ThemeXmlFilter(DocumentText docText, CommonNamespaces commonNamespaces, ref PredefinedObjectsProcessingHelper DiagramHelper)
     : base(docText, commonNamespaces)
 {
     m_DiagramHelper = DiagramHelper;
 }
 public XlsxPreprocessWorksheetXmlFilter(DocumentText docText, string target, CommonNamespaces commonNamespaces, ContentType[] contentTypesOfInterest, Dictionary<string, WorkSheet> WorksheetLookup, Dictionary<string, CellFormatData> CellFormats, ref XlsxProcessingDictionaries processingDictionaries, ref PredefinedObjectsProcessingHelper predefinedObjectsHelper)
     : base(commonNamespaces, WorksheetLookup, CellFormats, ref processingDictionaries)
 {
     m_targetName = target;
     m_stateTracker = new StateTracker(commonNamespaces, new List<ContentType>(contentTypesOfInterest), ref predefinedObjectsHelper);
 }