1 write to SemanticBoxes
PresentationFramework (1)
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
1155container.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)
260foreach (FixedSOMSemanticBox box in _fixedSOMPage.SemanticBoxes) 263container.SemanticBoxes.Sort(); 271_fixedSOMPage.SemanticBoxes.Sort(); 560foreach (FixedSOMSemanticBox box in _fixedSOMPage.SemanticBoxes) 574Debug.Assert (fixedBlock.SemanticBoxes.Count > 0); 575if (fixedBlock.SemanticBoxes.Count == 0) 590FixedSOMTextRun lastLine = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count - 1] as FixedSOMTextRun; 605compareLine = fixedBlock.SemanticBoxes[0] as FixedSOMTextRun; 610compareLine = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count-1] as FixedSOMTextRun; 681FixedSOMElement element = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count - 1] as FixedSOMElement; 859if (_fixedSOMPage.SemanticBoxes.Count < 2) 868prevBoxCount = _fixedSOMPage.SemanticBoxes.Count; 870List<FixedSOMSemanticBox> boxes = _fixedSOMPage.SemanticBoxes; 910} while (_fixedSOMPage.SemanticBoxes.Count > 1 && _fixedSOMPage.SemanticBoxes.Count != prevBoxCount); 1076for (int i = 0; i < _fixedSOMPage.SemanticBoxes.Count;) 1079if (_fixedSOMPage.SemanticBoxes[i] is FixedSOMFixedBlock && 1080table.AddContainer(_fixedSOMPage.SemanticBoxes[i] as FixedSOMContainer)) 1082_fixedSOMPage.SemanticBoxes.RemoveAt(i); 1097foreach (FixedSOMTableRow row in table.SemanticBoxes) 1099foreach (FixedSOMTableCell cell in row.SemanticBoxes) 1101for (int i=0; i<cell.SemanticBoxes.Count;) 1103FixedSOMTable innerTable = cell.SemanticBoxes[i] as FixedSOMTable; 1106cell.SemanticBoxes.Remove(innerTable); 1114cell.SemanticBoxes.Sort(); 1128if (container.SemanticBoxes.Count > 0) 1133FixedSOMPageElement currentPageElement = container.SemanticBoxes[0] as FixedSOMPageElement; 1141for (int i=1; i<container.SemanticBoxes.Count; i++) 1143nextPageElement = 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)
1031foreach (FixedSOMContainer container in somPage.SemanticBoxes) 1056List<FixedSOMSemanticBox> children = node.SemanticBoxes;