1 write to SemanticBoxes
PresentationFramework (1)
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (1)
1167container.SemanticBoxes = groups;
62 references to SemanticBoxes
PresentationFramework (62)
src\Framework\System\Windows\Documents\FixedSOMFixedBlock.cs (4)
48if (this.SemanticBoxes.Count > 1) 50FixedSOMTextRun run = this.SemanticBoxes[this.SemanticBoxes.Count - 2] as FixedSOMTextRun; 177foreach (FixedSOMSemanticBox box in block.SemanticBoxes)
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (32)
268foreach (FixedSOMSemanticBox box in _fixedSOMPage.SemanticBoxes) 271container.SemanticBoxes.Sort(); 279_fixedSOMPage.SemanticBoxes.Sort(); 573foreach (FixedSOMSemanticBox box in _fixedSOMPage.SemanticBoxes) 587Debug.Assert (fixedBlock.SemanticBoxes.Count > 0); 588if (fixedBlock.SemanticBoxes.Count == 0) 603FixedSOMTextRun lastLine = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count - 1] as FixedSOMTextRun; 618compareLine = fixedBlock.SemanticBoxes[0] as FixedSOMTextRun; 623compareLine = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count-1] as FixedSOMTextRun; 694FixedSOMElement element = fixedBlock.SemanticBoxes[fixedBlock.SemanticBoxes.Count - 1] as FixedSOMElement; 871if (_fixedSOMPage.SemanticBoxes.Count < 2) 880prevBoxCount = _fixedSOMPage.SemanticBoxes.Count; 882List<FixedSOMSemanticBox> boxes = _fixedSOMPage.SemanticBoxes; 922} while (_fixedSOMPage.SemanticBoxes.Count > 1 && _fixedSOMPage.SemanticBoxes.Count != prevBoxCount); 1088for (int i = 0; i < _fixedSOMPage.SemanticBoxes.Count;) 1091if (_fixedSOMPage.SemanticBoxes[i] is FixedSOMFixedBlock && 1092table.AddContainer(_fixedSOMPage.SemanticBoxes[i] as FixedSOMContainer)) 1094_fixedSOMPage.SemanticBoxes.RemoveAt(i); 1109foreach (FixedSOMTableRow row in table.SemanticBoxes) 1111foreach (FixedSOMTableCell cell in row.SemanticBoxes) 1113for (int i=0; i<cell.SemanticBoxes.Count;) 1115FixedSOMTable innerTable = cell.SemanticBoxes[i] as FixedSOMTable; 1118cell.SemanticBoxes.Remove(innerTable); 1126cell.SemanticBoxes.Sort(); 1140if (container.SemanticBoxes.Count > 0) 1145FixedSOMPageElement currentPageElement = container.SemanticBoxes[0] as FixedSOMPageElement; 1153for (int i=1; i<container.SemanticBoxes.Count; i++) 1155nextPageElement = container.SemanticBoxes[i] as FixedSOMPageElement;
src\Framework\System\Windows\Documents\FixedSOMTable.cs (22)
72int colCount = row.SemanticBoxes.Count; 91foreach (FixedSOMTableRow row in this.SemanticBoxes) 95foreach (FixedSOMTableCell cell in row.SemanticBoxes) 157foreach (FixedSOMTableRow row in this.SemanticBoxes) 172if (this.SemanticBoxes.Count == 1) 174FixedSOMTableRow row = this.SemanticBoxes[0] as FixedSOMTableRow; 176return (row.SemanticBoxes.Count == 1); 188for (int i=0; i<this.SemanticBoxes.Count;) 190FixedSOMTableRow row = this.SemanticBoxes[i] as FixedSOMTableRow; 194this.SemanticBoxes.RemoveAt(i); 208int nRows = this.SemanticBoxes.Count; 218FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 222deleteCol = deleteCol && idx < row.SemanticBoxes.Count; 225cell = (FixedSOMTableCell)row.SemanticBoxes[idx]; 231if (idx + 1 < row.SemanticBoxes.Count) 233cell = (FixedSOMTableCell)row.SemanticBoxes[idx+1]; 256FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 257row.SemanticBoxes.RemoveAt(indexInRow[r]); 277FixedSOMTableRow row = (FixedSOMTableRow)(this.SemanticBoxes[r]); 279if (idx + 1 < row.SemanticBoxes.Count && row.SemanticBoxes[idx + 1].BoundingRect.Left == nextCol) 285((FixedSOMTableCell)row.SemanticBoxes[idx]).ColumnSpan++;
src\Framework\System\Windows\Documents\FixedSOMTableCell.cs (1)
118foreach (FixedSOMContainer container in this.SemanticBoxes)
src\Framework\System\Windows\Documents\FixedSOMTableRow.cs (1)
87foreach (FixedSOMTableCell cell in this.SemanticBoxes)
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (2)
1065foreach (FixedSOMContainer container in somPage.SemanticBoxes) 1090List<FixedSOMSemanticBox> children = node.SemanticBoxes;