188 references to ToBoolean
PresentationFramework (188)
src\Framework\MS\Internal\PtsHost\CellParagraph.cs (2)
94
PTS.
ToBoolean
(fEmptyOK),
113
if (PTS.
ToBoolean
(fEmptyOK))
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (7)
313
if (PTS.
ToBoolean
(fFound) && !PTS.
ToBoolean
(fChangeFirst))
340
if (PTS.
ToBoolean
(fFound))
342
_ur.InProcessing = PTS.
ToBoolean
(fChangeFirst);
547
if (PTS.
ToBoolean
(fSuppressTopSpace))
681
if (PTS.
ToBoolean
(fSuppressTopSpace))
818
if (PTS.
ToBoolean
(fSuppressTopSpace))
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (8)
118
if (PTS.
ToBoolean
(subpageDetails.fSimple))
185
if (PTS.
ToBoolean
(subpageDetails.fSimple))
284
if (PTS.
ToBoolean
(subpageDetails.fSimple))
350
if (PTS.
ToBoolean
(subpageDetails.fSimple))
437
if (PTS.
ToBoolean
(subpageDetails.fSimple))
566
if (PTS.
ToBoolean
(subpageDetails.fSimple))
638
if (PTS.
ToBoolean
(subpageDetails.fSimple))
742
if (PTS.
ToBoolean
(subpageDetails.fSimple))
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (3)
211
if(PTS.
ToBoolean
(fsbbox.fDefined))
286
if (!PTS.
ToBoolean
(fInTextLine))
366
!PTS.
ToBoolean
(fMustPosition)) // Can delay placement is handled by figure properties.
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (8)
99
if (PTS.
ToBoolean
(subpageDetails.fSimple))
167
if (PTS.
ToBoolean
(subpageDetails.fSimple))
286
if (PTS.
ToBoolean
(subpageDetails.fSimple))
352
if (PTS.
ToBoolean
(subpageDetails.fSimple))
441
if (PTS.
ToBoolean
(subpageDetails.fSimple))
570
if (PTS.
ToBoolean
(subpageDetails.fSimple))
643
if (PTS.
ToBoolean
(subpageDetails.fSimple))
748
if (PTS.
ToBoolean
(subpageDetails.fSimple))
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (6)
201
if (IsFloaterRejected(PTS.
ToBoolean
(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable)))
277
if (PTS.
ToBoolean
(fsbbox.fDefined))
348
if(PTS.
ToBoolean
(fEmptyOk))
415
if (IsFloaterRejected(PTS.
ToBoolean
(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable)))
460
if (PTS.
ToBoolean
(fsbbox.fDefined))
510
(durFloaterWidth > durAvailable && !PTS.
ToBoolean
(fAtMaxWidth))
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (2)
454
if (PTS.
ToBoolean
(pageDetails.fSimple))
487
if (PTS.
ToBoolean
(sectionDetails.fFootnotesAsPagenotes))
src\Framework\MS\Internal\PtsHost\PtsHost.cs (24)
1132
para.CollapseMargin(paraClient, mcs, fswdir, PTS.
ToBoolean
(fSuppressTopSpace), out dvr);
1458
PTS.
ToBoolean
(fAllowHyphenation), PTS.
ToBoolean
(fClearOnLeft), PTS.
ToBoolean
(fClearOnRight), PTS.
ToBoolean
(fTreatAsFirstInPara), PTS.
ToBoolean
(fTreatAsLastInPara),
1459
PTS.
ToBoolean
(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres,
1517
true/*fAllowHyphenation*/, PTS.
ToBoolean
(fClearOnLeft), PTS.
ToBoolean
(fClearOnRight), PTS.
ToBoolean
(fTreatAsFirstInPara), PTS.
ToBoolean
(fTreatAsLastInPara),
1518
PTS.
ToBoolean
(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBrokenIgnore, out fsflres,
1589
PTS.
ToBoolean
(fAllowHyphenation),
1590
PTS.
ToBoolean
(fClearOnLeft),
1591
PTS.
ToBoolean
(fClearOnRight),
1592
PTS.
ToBoolean
(fTreatAsFirstInPara),
1593
PTS.
ToBoolean
(fTreatAsLastInPara),
1594
PTS.
ToBoolean
(fSuppressTopSpace),
1705
PTS.
ToBoolean
(fAllowHyphenation), PTS.
ToBoolean
(fClearOnLeft), PTS.
ToBoolean
(fClearOnRight), PTS.
ToBoolean
(fTreatAsFirstInPara), PTS.
ToBoolean
(fTreatAsLastInPara),
1706
PTS.
ToBoolean
(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres,
src\Framework\MS\Internal\PtsHost\PtsPage.cs (14)
565
if (PTS.
ToBoolean
(pageDetails.fSimple))
622
if (PTS.
ToBoolean
(pageDetails.fSimple))
848
if (!FinitePage && PTS.
ToBoolean
(bbox.fDefined))
856
if (PTS.
ToBoolean
(bbox.fDefined))
923
if (PTS.
ToBoolean
(pageDetails.fSimple))
973
if (PTS.
ToBoolean
(pageDetails.fSimple))
1009
if (PTS.
ToBoolean
(sectionDetails.fFootnotesAsPagenotes))
1063
if (PTS.
ToBoolean
(sectionDetails.fFootnotesAsPagenotes))
1135
if (PTS.
ToBoolean
(pageDetails.fSimple))
1239
if (PTS.
ToBoolean
(sectionDetails.fFootnotesAsPagenotes))
1330
if (PTS.
ToBoolean
(pageDetails.fSimple))
1394
if (PTS.
ToBoolean
(pageDetails.fSimple))
1462
if (PTS.
ToBoolean
(sectionDetails.fFootnotesAsPagenotes))
1529
if (PTS.
ToBoolean
(sectionDetails.fFootnotesAsPagenotes))
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (7)
129
if (PTS.
ToBoolean
(subpageDetails.fSimple))
212
if (PTS.
ToBoolean
(subpageDetails.fSimple))
277
if (PTS.
ToBoolean
(subpageDetails.fSimple))
362
if (PTS.
ToBoolean
(subpageDetails.fSimple))
488
if (PTS.
ToBoolean
(subpageDetails.fSimple))
546
if (PTS.
ToBoolean
(subpageDetails.fSimple))
625
if (PTS.
ToBoolean
(subpageDetails.fSimple))
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (4)
200
if (PTS.
ToBoolean
(fSuppressTopSpace))
254
if (PTS.
ToBoolean
(fsbbox.fDefined))
462
if (PTS.
ToBoolean
(fsbbox.fDefined))
630
if (PTS.
ToBoolean
(fsbbox.fDefined))
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (103)
122
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
250
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
337
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
413
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
621
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
736
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
804
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
889
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
967
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
1027
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
1080
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
1146
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
1286
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
1435
if (!PTS.
ToBoolean
(textDetails.u.full.fLinesComposite))
1575
Debug.Assert(!PTS.
ToBoolean
(textDetails.fLinesComposite));
1579
if (!PTS.
ToBoolean
(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo ||
1712
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1771
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1844
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1867
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(lineDesc.fClearOnLeft), PTS.
ToBoolean
(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
1874
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
1937
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
1969
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(element.fClearOnLeft), PTS.
ToBoolean
(element.fClearOnRight), TextParagraph.TextRunCache);
1976
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), element.dcpFirst);
2034
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2146
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2323
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(lineDesc.fClearOnLeft), PTS.
ToBoolean
(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2328
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2434
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(elemDesc.fClearOnLeft), PTS.
ToBoolean
(elemDesc.fClearOnRight), TextParagraph.TextRunCache);
2439
TextParagraph.FormatLineCore(line, elemDesc.pfsbreakreclineclient, ctx, elemDesc.dcpFirst, elemDesc.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), elemDesc.dcpFirst);
2596
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2659
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(lineDesc.fClearOnLeft), PTS.
ToBoolean
(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2666
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2692
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2788
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(element.fClearOnLeft), PTS.
ToBoolean
(element.fClearOnRight), TextParagraph.TextRunCache);
2795
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), element.dcpFirst);
2823
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
2871
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(lineDesc.fClearOnLeft), PTS.
ToBoolean
(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
2878
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
2952
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3042
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(element.fClearOnLeft), PTS.
ToBoolean
(element.fClearOnRight), TextParagraph.TextRunCache);
3049
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), element.dcpFirst);
3122
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3162
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(lineDesc.fClearOnLeft), PTS.
ToBoolean
(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3169
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3218
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3292
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(element.fClearOnLeft), PTS.
ToBoolean
(element.fClearOnRight), TextParagraph.TextRunCache);
3299
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), element.dcpFirst);
3349
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3368
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(lineDesc.fClearOnLeft), PTS.
ToBoolean
(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3375
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3407
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3435
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(element.fClearOnLeft), PTS.
ToBoolean
(element.fClearOnRight), TextParagraph.TextRunCache);
3442
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), element.dcpFirst);
3472
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3485
if (!PTS.
ToBoolean
(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo)
3496
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(lineDesc.fClearOnLeft), PTS.
ToBoolean
(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3504
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3541
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(lineDesc.fClearOnLeft), PTS.
ToBoolean
(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3549
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3598
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(lineDesc.fClearOnLeft), PTS.
ToBoolean
(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
3606
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
3634
Debug.Assert(!PTS.
ToBoolean
(textDetails.fLinesComposite));
3864
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
3874
if (!PTS.
ToBoolean
(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo)
3908
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(element.fClearOnLeft), PTS.
ToBoolean
(element.fClearOnRight), TextParagraph.TextRunCache);
3916
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), element.dcpFirst);
3977
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(element.fClearOnLeft), PTS.
ToBoolean
(element.fClearOnRight), TextParagraph.TextRunCache);
3985
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), element.dcpFirst);
4070
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
4090
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(lineDesc.fClearOnLeft), PTS.
ToBoolean
(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
4101
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
4133
if(PTS.
ToBoolean
(textDetails.fLinesComposite))
4156
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
4222
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(lineDesc.fClearOnLeft), PTS.
ToBoolean
(lineDesc.fClearOnRight), TextParagraph.TextRunCache);
4229
TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst);
4259
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
4290
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(element.fClearOnLeft), PTS.
ToBoolean
(element.fClearOnRight), TextParagraph.TextRunCache);
4301
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), element.dcpFirst);
4346
ErrorHandler.Assert(!PTS.
ToBoolean
(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap);
4435
Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.
ToBoolean
(element.fClearOnLeft), PTS.
ToBoolean
(element.fClearOnRight), TextParagraph.TextRunCache);
4442
TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.
ToBoolean
(lineDesc.fTreatedAsFirst), element.dcpFirst);