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