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)
303if (PTS.ToBoolean(fFound) && !PTS.ToBoolean(fChangeFirst)) 330if (PTS.ToBoolean(fFound)) 332_ur.InProcessing = PTS.ToBoolean(fChangeFirst); 530if (PTS.ToBoolean(fSuppressTopSpace)) 657if (PTS.ToBoolean(fSuppressTopSpace)) 787if (PTS.ToBoolean(fSuppressTopSpace))
MS\Internal\PtsHost\FigureParaClient.cs (8)
92if (PTS.ToBoolean(subpageDetails.fSimple)) 152if (PTS.ToBoolean(subpageDetails.fSimple)) 243if (PTS.ToBoolean(subpageDetails.fSimple)) 301if (PTS.ToBoolean(subpageDetails.fSimple)) 380if (PTS.ToBoolean(subpageDetails.fSimple)) 501if (PTS.ToBoolean(subpageDetails.fSimple)) 565if (PTS.ToBoolean(subpageDetails.fSimple)) 661if (PTS.ToBoolean(subpageDetails.fSimple))
MS\Internal\PtsHost\FigureParagraph.cs (3)
195if(PTS.ToBoolean(fsbbox.fDefined)) 270if (!PTS.ToBoolean(fInTextLine)) 346!PTS.ToBoolean(fMustPosition)) // Can delay placement is handled by figure properties.
MS\Internal\PtsHost\FloaterParaClient.cs (8)
77if (PTS.ToBoolean(subpageDetails.fSimple)) 137if (PTS.ToBoolean(subpageDetails.fSimple)) 248if (PTS.ToBoolean(subpageDetails.fSimple)) 306if (PTS.ToBoolean(subpageDetails.fSimple)) 387if (PTS.ToBoolean(subpageDetails.fSimple)) 508if (PTS.ToBoolean(subpageDetails.fSimple)) 573if (PTS.ToBoolean(subpageDetails.fSimple)) 670if (PTS.ToBoolean(subpageDetails.fSimple))
MS\Internal\PtsHost\FloaterParagraph.cs (6)
189if (IsFloaterRejected(PTS.ToBoolean(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable))) 265if (PTS.ToBoolean(fsbbox.fDefined)) 336if(PTS.ToBoolean(fEmptyOk)) 396if (IsFloaterRejected(PTS.ToBoolean(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable))) 441if (PTS.ToBoolean(fsbbox.fDefined)) 491(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)
1078para.CollapseMargin(paraClient, mcs, fswdir, PTS.ToBoolean(fSuppressTopSpace), out dvr); 1390PTS.ToBoolean(fAllowHyphenation), PTS.ToBoolean(fClearOnLeft), PTS.ToBoolean(fClearOnRight), PTS.ToBoolean(fTreatAsFirstInPara), PTS.ToBoolean(fTreatAsLastInPara), 1391PTS.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres, 1449true/*fAllowHyphenation*/, PTS.ToBoolean(fClearOnLeft), PTS.ToBoolean(fClearOnRight), PTS.ToBoolean(fTreatAsFirstInPara), PTS.ToBoolean(fTreatAsLastInPara), 1450PTS.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBrokenIgnore, out fsflres, 1517PTS.ToBoolean(fAllowHyphenation), 1518PTS.ToBoolean(fClearOnLeft), 1519PTS.ToBoolean(fClearOnRight), 1520PTS.ToBoolean(fTreatAsFirstInPara), 1521PTS.ToBoolean(fTreatAsLastInPara), 1522PTS.ToBoolean(fSuppressTopSpace), 1633PTS.ToBoolean(fAllowHyphenation), PTS.ToBoolean(fClearOnLeft), PTS.ToBoolean(fClearOnRight), PTS.ToBoolean(fTreatAsFirstInPara), PTS.ToBoolean(fTreatAsLastInPara), 1634PTS.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)) 770if (!FinitePage && PTS.ToBoolean(bbox.fDefined)) 778if (PTS.ToBoolean(bbox.fDefined)) 839if (PTS.ToBoolean(pageDetails.fSimple)) 883if (PTS.ToBoolean(pageDetails.fSimple)) 914if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes)) 962if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes)) 1026if (PTS.ToBoolean(pageDetails.fSimple)) 1125if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes)) 1208if (PTS.ToBoolean(pageDetails.fSimple)) 1265if (PTS.ToBoolean(pageDetails.fSimple)) 1328if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes)) 1389if (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)) 431if (PTS.ToBoolean(subpageDetails.fSimple)) 482if (PTS.ToBoolean(subpageDetails.fSimple)) 553if (PTS.ToBoolean(subpageDetails.fSimple))
MS\Internal\PtsHost\SubpageParagraph.cs (4)
182if (PTS.ToBoolean(fSuppressTopSpace)) 236if (PTS.ToBoolean(fsbbox.fDefined)) 432if (PTS.ToBoolean(fsbbox.fDefined)) 591if (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);