188 references to ToBoolean
PresentationFramework (188)
MS\Internal\PtsHost\CellParagraph.cs (2)
82PTS.ToBoolean(fEmptyOK), 101if (PTS.ToBoolean(fEmptyOK))
MS\Internal\PtsHost\ContainerParagraph.cs (7)
290if (PTS.ToBoolean(fFound) && !PTS.ToBoolean(fChangeFirst)) 317if (PTS.ToBoolean(fFound)) 319_ur.InProcessing = PTS.ToBoolean(fChangeFirst); 512if (PTS.ToBoolean(fSuppressTopSpace)) 639if (PTS.ToBoolean(fSuppressTopSpace)) 769if (PTS.ToBoolean(fSuppressTopSpace))
MS\Internal\PtsHost\FigureParaClient.cs (8)
89if (PTS.ToBoolean(subpageDetails.fSimple)) 150if (PTS.ToBoolean(subpageDetails.fSimple)) 241if (PTS.ToBoolean(subpageDetails.fSimple)) 299if (PTS.ToBoolean(subpageDetails.fSimple)) 378if (PTS.ToBoolean(subpageDetails.fSimple)) 499if (PTS.ToBoolean(subpageDetails.fSimple)) 563if (PTS.ToBoolean(subpageDetails.fSimple)) 659if (PTS.ToBoolean(subpageDetails.fSimple))
MS\Internal\PtsHost\FigureParagraph.cs (3)
190if(PTS.ToBoolean(fsbbox.fDefined)) 265if (!PTS.ToBoolean(fInTextLine)) 341!PTS.ToBoolean(fMustPosition)) // Can delay placement is handled by figure properties.
MS\Internal\PtsHost\FloaterParaClient.cs (8)
74if (PTS.ToBoolean(subpageDetails.fSimple)) 135if (PTS.ToBoolean(subpageDetails.fSimple)) 246if (PTS.ToBoolean(subpageDetails.fSimple)) 304if (PTS.ToBoolean(subpageDetails.fSimple)) 385if (PTS.ToBoolean(subpageDetails.fSimple)) 506if (PTS.ToBoolean(subpageDetails.fSimple)) 571if (PTS.ToBoolean(subpageDetails.fSimple)) 668if (PTS.ToBoolean(subpageDetails.fSimple))
MS\Internal\PtsHost\FloaterParagraph.cs (6)
182if (IsFloaterRejected(PTS.ToBoolean(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable))) 264if (PTS.ToBoolean(fsbbox.fDefined)) 335if(PTS.ToBoolean(fEmptyOk)) 395if (IsFloaterRejected(PTS.ToBoolean(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable))) 442if (PTS.ToBoolean(fsbbox.fDefined)) 492(durFloaterWidth > durAvailable && !PTS.ToBoolean(fAtMaxWidth))
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
437if (PTS.ToBoolean(pageDetails.fSimple)) 470if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
MS\Internal\PtsHost\PtsHost.cs (24)
1069para.CollapseMargin(paraClient, mcs, fswdir, PTS.ToBoolean(fSuppressTopSpace), out dvr); 1381PTS.ToBoolean(fAllowHyphenation), PTS.ToBoolean(fClearOnLeft), PTS.ToBoolean(fClearOnRight), PTS.ToBoolean(fTreatAsFirstInPara), PTS.ToBoolean(fTreatAsLastInPara), 1382PTS.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres, 1440true/*fAllowHyphenation*/, PTS.ToBoolean(fClearOnLeft), PTS.ToBoolean(fClearOnRight), PTS.ToBoolean(fTreatAsFirstInPara), PTS.ToBoolean(fTreatAsLastInPara), 1441PTS.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBrokenIgnore, out fsflres, 1508PTS.ToBoolean(fAllowHyphenation), 1509PTS.ToBoolean(fClearOnLeft), 1510PTS.ToBoolean(fClearOnRight), 1511PTS.ToBoolean(fTreatAsFirstInPara), 1512PTS.ToBoolean(fTreatAsLastInPara), 1513PTS.ToBoolean(fSuppressTopSpace), 1620PTS.ToBoolean(fAllowHyphenation), PTS.ToBoolean(fClearOnLeft), PTS.ToBoolean(fClearOnRight), PTS.ToBoolean(fTreatAsFirstInPara), PTS.ToBoolean(fTreatAsLastInPara), 1621PTS.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres,
MS\Internal\PtsHost\PtsPage.cs (14)
511if (PTS.ToBoolean(pageDetails.fSimple)) 560if (PTS.ToBoolean(pageDetails.fSimple)) 767if (!FinitePage && PTS.ToBoolean(bbox.fDefined)) 775if (PTS.ToBoolean(bbox.fDefined)) 833if (PTS.ToBoolean(pageDetails.fSimple)) 877if (PTS.ToBoolean(pageDetails.fSimple)) 908if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes)) 956if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes)) 1020if (PTS.ToBoolean(pageDetails.fSimple)) 1119if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes)) 1202if (PTS.ToBoolean(pageDetails.fSimple)) 1259if (PTS.ToBoolean(pageDetails.fSimple)) 1322if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes)) 1383if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
MS\Internal\PtsHost\SubpageParaClient.cs (7)
105if (PTS.ToBoolean(subpageDetails.fSimple)) 180if (PTS.ToBoolean(subpageDetails.fSimple)) 237if (PTS.ToBoolean(subpageDetails.fSimple)) 314if (PTS.ToBoolean(subpageDetails.fSimple)) 432if (PTS.ToBoolean(subpageDetails.fSimple)) 483if (PTS.ToBoolean(subpageDetails.fSimple)) 554if (PTS.ToBoolean(subpageDetails.fSimple))
MS\Internal\PtsHost\SubpageParagraph.cs (4)
172if (PTS.ToBoolean(fSuppressTopSpace)) 226if (PTS.ToBoolean(fsbbox.fDefined)) 422if (PTS.ToBoolean(fsbbox.fDefined)) 581if (PTS.ToBoolean(fsbbox.fDefined))
MS\Internal\PtsHost\TextParaClient.cs (103)
104if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 213if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 290if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 356if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 533if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 640if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 698if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 774if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 842if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 892if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 935if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 992if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 1123if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 1251if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 1386Debug.Assert(!PTS.ToBoolean(textDetails.fLinesComposite)); 1390if (!PTS.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo || 1517ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 1569ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 1638ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 1661Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 1668TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 1726ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 1758Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 1765TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 1819ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 1926ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 2103Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 2108TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 2214Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache); 2219TextParagraph.FormatLineCore(line, elemDesc.pfsbreakreclineclient, ctx, elemDesc.dcpFirst, elemDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), elemDesc.dcpFirst); 2368ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 2431Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 2438TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 2460ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 2555Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 2562TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 2586ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 2634Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 2641TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 2711ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 2800Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 2807TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 2876ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 2916Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 2923TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 2968ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3042Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 3049TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 3095ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3114Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 3121TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3148ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3176Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 3183TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 3209ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3222if (!PTS.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo) 3233Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 3241TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3278Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 3286TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3335Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 3343TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3367Debug.Assert(!PTS.ToBoolean(textDetails.fLinesComposite)); 3583ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3593if (!PTS.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo) 3627Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 3635TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 3696Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 3704TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 3780ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3800Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 3811TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3843if(PTS.ToBoolean(textDetails.fLinesComposite)) 3862ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3928Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 3935TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3960ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3991Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 4002TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 4042ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 4127Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 4134TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);