1 write to SemanticBoxes
PresentationFramework (1)
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
1158container.SemanticBoxes = groups;
67 references to SemanticBoxes
PresentationFramework (67)
System\Windows\Documents\FixedSOMFixedBlock.cs (8)
43if (this.SemanticBoxes.Count > 1) 45FixedSOMTextRun run = this.SemanticBoxes[this.SemanticBoxes.Count - 2] as FixedSOMTextRun; 161for (int i=0; i<SemanticBoxes.Count; i++) 163Debug.Assert(SemanticBoxes[i] is FixedSOMTextRun || SemanticBoxes[i] is FixedSOMImage); 164SemanticBoxes[i].Render(dc, i.ToString(),debugVisual); 171foreach (FixedSOMSemanticBox box in block.SemanticBoxes)
System\Windows\Documents\FixedSOMPage.cs (1)
63List<FixedSOMSemanticBox> groupBoxes = group.SemanticBoxes;
System\Windows\Documents\FixedSOMPageConstructor.cs (32)
263foreach (FixedSOMSemanticBox box in _fixedSOMPage.SemanticBoxes) 266container.SemanticBoxes.Sort(); 274_fixedSOMPage.SemanticBoxes.Sort(); 563foreach (FixedSOMSemanticBox box in _fixedSOMPage.SemanticBoxes) 577Debug.Assert (fixedBlock.SemanticBoxes.Count > 0); 578if (fixedBlock.SemanticBoxes.Count == 0) 593FixedSOMTextRun lastLine = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count - 1] as FixedSOMTextRun; 608compareLine = fixedBlock.SemanticBoxes[0] as FixedSOMTextRun; 613compareLine = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count-1] as FixedSOMTextRun; 684FixedSOMElement element = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count - 1] as FixedSOMElement; 862if (_fixedSOMPage.SemanticBoxes.Count < 2) 871prevBoxCount = _fixedSOMPage.SemanticBoxes.Count; 873List<FixedSOMSemanticBox> boxes = _fixedSOMPage.SemanticBoxes; 913} while (_fixedSOMPage.SemanticBoxes.Count > 1 && _fixedSOMPage.SemanticBoxes.Count != prevBoxCount); 1079for (int i = 0; i < _fixedSOMPage.SemanticBoxes.Count;) 1082if (_fixedSOMPage.SemanticBoxes[i] is FixedSOMFixedBlock && 1083table.AddContainer(_fixedSOMPage.SemanticBoxes[i] as FixedSOMContainer)) 1085_fixedSOMPage.SemanticBoxes.RemoveAt(i); 1100foreach (FixedSOMTableRow row in table.SemanticBoxes) 1102foreach (FixedSOMTableCell cell in row.SemanticBoxes) 1104for (int i=0; i<cell.SemanticBoxes.Count;) 1106FixedSOMTable innerTable = cell.SemanticBoxes[i] as FixedSOMTable; 1109cell.SemanticBoxes.Remove(innerTable); 1117cell.SemanticBoxes.Sort(); 1131if (container.SemanticBoxes.Count > 0) 1136FixedSOMPageElement currentPageElement = container.SemanticBoxes[0] as FixedSOMPageElement; 1144for (int i=1; i<container.SemanticBoxes.Count; i++) 1146nextPageElement = container.SemanticBoxes[i] as FixedSOMPageElement;
System\Windows\Documents\FixedSOMTable.cs (22)
67int colCount = row.SemanticBoxes.Count; 86foreach (FixedSOMTableRow row in this.SemanticBoxes) 90foreach (FixedSOMTableCell cell in row.SemanticBoxes) 151foreach (FixedSOMTableRow row in this.SemanticBoxes) 166if (this.SemanticBoxes.Count == 1) 168FixedSOMTableRow row = this.SemanticBoxes[0] as FixedSOMTableRow; 170return (row.SemanticBoxes.Count == 1); 182for (int i=0; i<this.SemanticBoxes.Count;) 184FixedSOMTableRow row = this.SemanticBoxes[i] as FixedSOMTableRow; 188this.SemanticBoxes.RemoveAt(i); 202int nRows = this.SemanticBoxes.Count; 212FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 216deleteCol = deleteCol && idx < row.SemanticBoxes.Count; 219cell = (FixedSOMTableCell)row.SemanticBoxes[idx]; 225if (idx + 1 < row.SemanticBoxes.Count) 227cell = (FixedSOMTableCell)row.SemanticBoxes[idx+1]; 250FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 251row.SemanticBoxes.RemoveAt(indexInRow[r]); 271FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 273if (idx + 1 < row.SemanticBoxes.Count && row.SemanticBoxes[idx + 1].BoundingRect.Left == nextCol) 279((FixedSOMTableCell)row.SemanticBoxes[idx]).ColumnSpan++;
System\Windows\Documents\FixedSOMTableCell.cs (1)
113foreach (FixedSOMContainer container in this.SemanticBoxes)
System\Windows\Documents\FixedSOMTableRow.cs (1)
82foreach (FixedSOMTableCell cell in this.SemanticBoxes)
System\Windows\Documents\FixedTextBuilder.cs (2)
1050foreach (FixedSOMContainer container in somPage.SemanticBoxes) 1075List<FixedSOMSemanticBox> children = node.SemanticBoxes;