1 write to SemanticBoxes
PresentationFramework (1)
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
1153container.SemanticBoxes = groups;
67 references to SemanticBoxes
PresentationFramework (67)
System\Windows\Documents\FixedSOMFixedBlock.cs (8)
39if (this.SemanticBoxes.Count > 1) 41FixedSOMTextRun run = this.SemanticBoxes[this.SemanticBoxes.Count - 2] as FixedSOMTextRun; 157for (int i=0; i<SemanticBoxes.Count; i++) 159Debug.Assert(SemanticBoxes[i] is FixedSOMTextRun || SemanticBoxes[i] is FixedSOMImage); 160SemanticBoxes[i].Render(dc, i.ToString(),debugVisual); 167foreach (FixedSOMSemanticBox box in block.SemanticBoxes)
System\Windows\Documents\FixedSOMPage.cs (1)
60List<FixedSOMSemanticBox> groupBoxes = group.SemanticBoxes;
System\Windows\Documents\FixedSOMPageConstructor.cs (32)
258foreach (FixedSOMSemanticBox box in _fixedSOMPage.SemanticBoxes) 261container.SemanticBoxes.Sort(); 269_fixedSOMPage.SemanticBoxes.Sort(); 558foreach (FixedSOMSemanticBox box in _fixedSOMPage.SemanticBoxes) 572Debug.Assert (fixedBlock.SemanticBoxes.Count > 0); 573if (fixedBlock.SemanticBoxes.Count == 0) 588FixedSOMTextRun lastLine = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count - 1] as FixedSOMTextRun; 603compareLine = fixedBlock.SemanticBoxes[0] as FixedSOMTextRun; 608compareLine = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count-1] as FixedSOMTextRun; 679FixedSOMElement element = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count - 1] as FixedSOMElement; 857if (_fixedSOMPage.SemanticBoxes.Count < 2) 866prevBoxCount = _fixedSOMPage.SemanticBoxes.Count; 868List<FixedSOMSemanticBox> boxes = _fixedSOMPage.SemanticBoxes; 908} while (_fixedSOMPage.SemanticBoxes.Count > 1 && _fixedSOMPage.SemanticBoxes.Count != prevBoxCount); 1074for (int i = 0; i < _fixedSOMPage.SemanticBoxes.Count;) 1077if (_fixedSOMPage.SemanticBoxes[i] is FixedSOMFixedBlock && 1078table.AddContainer(_fixedSOMPage.SemanticBoxes[i] as FixedSOMContainer)) 1080_fixedSOMPage.SemanticBoxes.RemoveAt(i); 1095foreach (FixedSOMTableRow row in table.SemanticBoxes) 1097foreach (FixedSOMTableCell cell in row.SemanticBoxes) 1099for (int i=0; i<cell.SemanticBoxes.Count;) 1101FixedSOMTable innerTable = cell.SemanticBoxes[i] as FixedSOMTable; 1104cell.SemanticBoxes.Remove(innerTable); 1112cell.SemanticBoxes.Sort(); 1126if (container.SemanticBoxes.Count > 0) 1131FixedSOMPageElement currentPageElement = container.SemanticBoxes[0] as FixedSOMPageElement; 1139for (int i=1; i<container.SemanticBoxes.Count; i++) 1141nextPageElement = container.SemanticBoxes[i] as FixedSOMPageElement;
System\Windows\Documents\FixedSOMTable.cs (22)
62int colCount = row.SemanticBoxes.Count; 81foreach (FixedSOMTableRow row in this.SemanticBoxes) 85foreach (FixedSOMTableCell cell in row.SemanticBoxes) 146foreach (FixedSOMTableRow row in this.SemanticBoxes) 161if (this.SemanticBoxes.Count == 1) 163FixedSOMTableRow row = this.SemanticBoxes[0] as FixedSOMTableRow; 165return (row.SemanticBoxes.Count == 1); 177for (int i=0; i<this.SemanticBoxes.Count;) 179FixedSOMTableRow row = this.SemanticBoxes[i] as FixedSOMTableRow; 183this.SemanticBoxes.RemoveAt(i); 197int nRows = this.SemanticBoxes.Count; 207FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 211deleteCol = deleteCol && idx < row.SemanticBoxes.Count; 214cell = (FixedSOMTableCell)row.SemanticBoxes[idx]; 220if (idx + 1 < row.SemanticBoxes.Count) 222cell = (FixedSOMTableCell)row.SemanticBoxes[idx+1]; 245FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 246row.SemanticBoxes.RemoveAt(indexInRow[r]); 266FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 268if (idx + 1 < row.SemanticBoxes.Count && row.SemanticBoxes[idx + 1].BoundingRect.Left == nextCol) 274((FixedSOMTableCell)row.SemanticBoxes[idx]).ColumnSpan++;
System\Windows\Documents\FixedSOMTableCell.cs (1)
109foreach (FixedSOMContainer container in this.SemanticBoxes)
System\Windows\Documents\FixedSOMTableRow.cs (1)
78foreach (FixedSOMTableCell cell in this.SemanticBoxes)
System\Windows\Documents\FixedTextBuilder.cs (2)
1034foreach (FixedSOMContainer container in somPage.SemanticBoxes) 1059List<FixedSOMSemanticBox> children = node.SemanticBoxes;