1 write to SemanticBoxes
PresentationFramework (1)
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
1155
container.
SemanticBoxes
= groups;
67 references to SemanticBoxes
PresentationFramework (67)
System\Windows\Documents\FixedSOMFixedBlock.cs (8)
39
if (this.
SemanticBoxes
.Count > 1)
41
FixedSOMTextRun run = this.
SemanticBoxes
[this.
SemanticBoxes
.Count - 2] as FixedSOMTextRun;
157
for (int i=0; i<
SemanticBoxes
.Count; i++)
159
Debug.Assert(
SemanticBoxes
[i] is FixedSOMTextRun ||
SemanticBoxes
[i] is FixedSOMImage);
160
SemanticBoxes
[i].Render(dc, i.ToString(),debugVisual);
167
foreach (FixedSOMSemanticBox box in block.
SemanticBoxes
)
System\Windows\Documents\FixedSOMPage.cs (1)
60
List<FixedSOMSemanticBox> groupBoxes = group.
SemanticBoxes
;
System\Windows\Documents\FixedSOMPageConstructor.cs (32)
260
foreach (FixedSOMSemanticBox box in _fixedSOMPage.
SemanticBoxes
)
263
container.
SemanticBoxes
.Sort();
271
_fixedSOMPage.
SemanticBoxes
.Sort();
560
foreach (FixedSOMSemanticBox box in _fixedSOMPage.
SemanticBoxes
)
574
Debug.Assert (fixedBlock.
SemanticBoxes
.Count > 0);
575
if (fixedBlock.
SemanticBoxes
.Count == 0)
590
FixedSOMTextRun lastLine = fixedBlock.
SemanticBoxes
[fixedBlock.
SemanticBoxes
.Count - 1] as FixedSOMTextRun;
605
compareLine = fixedBlock.
SemanticBoxes
[0] as FixedSOMTextRun;
610
compareLine = fixedBlock.
SemanticBoxes
[fixedBlock.
SemanticBoxes
.Count-1] as FixedSOMTextRun;
681
FixedSOMElement element = fixedBlock.
SemanticBoxes
[fixedBlock.
SemanticBoxes
.Count - 1] as FixedSOMElement;
859
if (_fixedSOMPage.
SemanticBoxes
.Count < 2)
868
prevBoxCount = _fixedSOMPage.
SemanticBoxes
.Count;
870
List<FixedSOMSemanticBox> boxes = _fixedSOMPage.
SemanticBoxes
;
910
} while (_fixedSOMPage.
SemanticBoxes
.Count > 1 && _fixedSOMPage.
SemanticBoxes
.Count != prevBoxCount);
1076
for (int i = 0; i < _fixedSOMPage.
SemanticBoxes
.Count;)
1079
if (_fixedSOMPage.
SemanticBoxes
[i] is FixedSOMFixedBlock &&
1080
table.AddContainer(_fixedSOMPage.
SemanticBoxes
[i] as FixedSOMContainer))
1082
_fixedSOMPage.
SemanticBoxes
.RemoveAt(i);
1097
foreach (FixedSOMTableRow row in table.
SemanticBoxes
)
1099
foreach (FixedSOMTableCell cell in row.
SemanticBoxes
)
1101
for (int i=0; i<cell.
SemanticBoxes
.Count;)
1103
FixedSOMTable innerTable = cell.
SemanticBoxes
[i] as FixedSOMTable;
1106
cell.
SemanticBoxes
.Remove(innerTable);
1114
cell.
SemanticBoxes
.Sort();
1128
if (container.
SemanticBoxes
.Count > 0)
1133
FixedSOMPageElement currentPageElement = container.
SemanticBoxes
[0] as FixedSOMPageElement;
1141
for (int i=1; i<container.
SemanticBoxes
.Count; i++)
1143
nextPageElement = container.
SemanticBoxes
[i] as FixedSOMPageElement;
System\Windows\Documents\FixedSOMTable.cs (22)
62
int colCount = row.
SemanticBoxes
.Count;
81
foreach (FixedSOMTableRow row in this.
SemanticBoxes
)
85
foreach (FixedSOMTableCell cell in row.
SemanticBoxes
)
146
foreach (FixedSOMTableRow row in this.
SemanticBoxes
)
161
if (this.
SemanticBoxes
.Count == 1)
163
FixedSOMTableRow row = this.
SemanticBoxes
[0] as FixedSOMTableRow;
165
return (row.
SemanticBoxes
.Count == 1);
177
for (int i=0; i<this.
SemanticBoxes
.Count;)
179
FixedSOMTableRow row = this.
SemanticBoxes
[i] as FixedSOMTableRow;
183
this.
SemanticBoxes
.RemoveAt(i);
197
int nRows = this.
SemanticBoxes
.Count;
207
FixedSOMTableRow row = (FixedSOMTableRow)(this.
SemanticBoxes
[r]);
211
deleteCol = deleteCol && idx < row.
SemanticBoxes
.Count;
214
cell = (FixedSOMTableCell)row.
SemanticBoxes
[idx];
220
if (idx + 1 < row.
SemanticBoxes
.Count)
222
cell = (FixedSOMTableCell)row.
SemanticBoxes
[idx+1];
245
FixedSOMTableRow row = (FixedSOMTableRow)(this.
SemanticBoxes
[r]);
246
row.
SemanticBoxes
.RemoveAt(indexInRow[r]);
266
FixedSOMTableRow row = (FixedSOMTableRow)(this.
SemanticBoxes
[r]);
268
if (idx + 1 < row.
SemanticBoxes
.Count && row.
SemanticBoxes
[idx + 1].BoundingRect.Left == nextCol)
274
((FixedSOMTableCell)row.
SemanticBoxes
[idx]).ColumnSpan++;
System\Windows\Documents\FixedSOMTableCell.cs (1)
109
foreach (FixedSOMContainer container in this.
SemanticBoxes
)
System\Windows\Documents\FixedSOMTableRow.cs (1)
78
foreach (FixedSOMTableCell cell in this.
SemanticBoxes
)
System\Windows\Documents\FixedTextBuilder.cs (2)
1031
foreach (FixedSOMContainer container in somPage.
SemanticBoxes
)
1056
List<FixedSOMSemanticBox> children = node.
SemanticBoxes
;