188 references to ToBoolean
PresentationFramework (188)
MS\Internal\PtsHost\CellParagraph.cs (2)
81PTS.ToBoolean(fEmptyOK), 100if (PTS.ToBoolean(fEmptyOK))
MS\Internal\PtsHost\ContainerParagraph.cs (7)
289if (PTS.ToBoolean(fFound) && !PTS.ToBoolean(fChangeFirst)) 316if (PTS.ToBoolean(fFound)) 318_ur.InProcessing = PTS.ToBoolean(fChangeFirst); 511if (PTS.ToBoolean(fSuppressTopSpace)) 638if (PTS.ToBoolean(fSuppressTopSpace)) 768if (PTS.ToBoolean(fSuppressTopSpace))
MS\Internal\PtsHost\FigureParaClient.cs (8)
88if (PTS.ToBoolean(subpageDetails.fSimple)) 149if (PTS.ToBoolean(subpageDetails.fSimple)) 240if (PTS.ToBoolean(subpageDetails.fSimple)) 298if (PTS.ToBoolean(subpageDetails.fSimple)) 377if (PTS.ToBoolean(subpageDetails.fSimple)) 498if (PTS.ToBoolean(subpageDetails.fSimple)) 562if (PTS.ToBoolean(subpageDetails.fSimple)) 658if (PTS.ToBoolean(subpageDetails.fSimple))
MS\Internal\PtsHost\FigureParagraph.cs (3)
189if(PTS.ToBoolean(fsbbox.fDefined)) 264if (!PTS.ToBoolean(fInTextLine)) 340!PTS.ToBoolean(fMustPosition)) // Can delay placement is handled by figure properties.
MS\Internal\PtsHost\FloaterParaClient.cs (8)
73if (PTS.ToBoolean(subpageDetails.fSimple)) 134if (PTS.ToBoolean(subpageDetails.fSimple)) 245if (PTS.ToBoolean(subpageDetails.fSimple)) 303if (PTS.ToBoolean(subpageDetails.fSimple)) 384if (PTS.ToBoolean(subpageDetails.fSimple)) 505if (PTS.ToBoolean(subpageDetails.fSimple)) 570if (PTS.ToBoolean(subpageDetails.fSimple)) 667if (PTS.ToBoolean(subpageDetails.fSimple))
MS\Internal\PtsHost\FloaterParagraph.cs (6)
181if (IsFloaterRejected(PTS.ToBoolean(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable))) 263if (PTS.ToBoolean(fsbbox.fDefined)) 334if(PTS.ToBoolean(fEmptyOk)) 394if (IsFloaterRejected(PTS.ToBoolean(fAtMaxWidth), TextDpi.FromTextDpi(durAvailable))) 441if (PTS.ToBoolean(fsbbox.fDefined)) 491(durFloaterWidth > durAvailable && !PTS.ToBoolean(fAtMaxWidth))
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
436if (PTS.ToBoolean(pageDetails.fSimple)) 469if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
MS\Internal\PtsHost\PtsHost.cs (24)
1068para.CollapseMargin(paraClient, mcs, fswdir, PTS.ToBoolean(fSuppressTopSpace), out dvr); 1380PTS.ToBoolean(fAllowHyphenation), PTS.ToBoolean(fClearOnLeft), PTS.ToBoolean(fClearOnRight), PTS.ToBoolean(fTreatAsFirstInPara), PTS.ToBoolean(fTreatAsLastInPara), 1381PTS.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres, 1439true/*fAllowHyphenation*/, PTS.ToBoolean(fClearOnLeft), PTS.ToBoolean(fClearOnRight), PTS.ToBoolean(fTreatAsFirstInPara), PTS.ToBoolean(fTreatAsLastInPara), 1440PTS.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBrokenIgnore, out fsflres, 1507PTS.ToBoolean(fAllowHyphenation), 1508PTS.ToBoolean(fClearOnLeft), 1509PTS.ToBoolean(fClearOnRight), 1510PTS.ToBoolean(fTreatAsFirstInPara), 1511PTS.ToBoolean(fTreatAsLastInPara), 1512PTS.ToBoolean(fSuppressTopSpace), 1619PTS.ToBoolean(fAllowHyphenation), PTS.ToBoolean(fClearOnLeft), PTS.ToBoolean(fClearOnRight), PTS.ToBoolean(fTreatAsFirstInPara), PTS.ToBoolean(fTreatAsLastInPara), 1620PTS.ToBoolean(fSuppressTopSpace), out pfsline, out dcpLine, out ppbrlineOut, out fForcedBroken, out fsflres,
MS\Internal\PtsHost\PtsPage.cs (14)
510if (PTS.ToBoolean(pageDetails.fSimple)) 559if (PTS.ToBoolean(pageDetails.fSimple)) 766if (!FinitePage && PTS.ToBoolean(bbox.fDefined)) 774if (PTS.ToBoolean(bbox.fDefined)) 832if (PTS.ToBoolean(pageDetails.fSimple)) 876if (PTS.ToBoolean(pageDetails.fSimple)) 907if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes)) 955if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes)) 1019if (PTS.ToBoolean(pageDetails.fSimple)) 1118if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes)) 1201if (PTS.ToBoolean(pageDetails.fSimple)) 1258if (PTS.ToBoolean(pageDetails.fSimple)) 1321if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes)) 1382if (PTS.ToBoolean(sectionDetails.fFootnotesAsPagenotes))
MS\Internal\PtsHost\SubpageParaClient.cs (7)
104if (PTS.ToBoolean(subpageDetails.fSimple)) 179if (PTS.ToBoolean(subpageDetails.fSimple)) 236if (PTS.ToBoolean(subpageDetails.fSimple)) 313if (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)
171if (PTS.ToBoolean(fSuppressTopSpace)) 225if (PTS.ToBoolean(fsbbox.fDefined)) 421if (PTS.ToBoolean(fsbbox.fDefined)) 580if (PTS.ToBoolean(fsbbox.fDefined))
MS\Internal\PtsHost\TextParaClient.cs (103)
103if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 212if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 289if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 355if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 532if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 639if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 697if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 773if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 841if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 891if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 934if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 991if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 1122if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 1250if (!PTS.ToBoolean(textDetails.u.full.fLinesComposite)) 1385Debug.Assert(!PTS.ToBoolean(textDetails.fLinesComposite)); 1389if (!PTS.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo || 1516ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 1568ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 1637ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 1660Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 1667TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 1725ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 1757Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 1764TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 1818ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 1925ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 2102Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 2107TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 2213Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(elemDesc.fClearOnLeft), PTS.ToBoolean(elemDesc.fClearOnRight), TextParagraph.TextRunCache); 2218TextParagraph.FormatLineCore(line, elemDesc.pfsbreakreclineclient, ctx, elemDesc.dcpFirst, elemDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), elemDesc.dcpFirst); 2367ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 2430Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 2437TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 2459ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 2554Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 2561TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 2585ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 2633Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 2640TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 2710ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 2799Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 2806TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 2875ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 2915Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 2922TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 2967ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3041Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 3048TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 3094ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3113Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 3120TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3147ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3175Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 3182TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 3208ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3221if (!PTS.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo) 3232Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 3240TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3277Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 3285TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3334Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 3342TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3366Debug.Assert(!PTS.ToBoolean(textDetails.fLinesComposite)); 3582ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3592if (!PTS.ToBoolean(textDetails.fUpdateInfoForLinesPresent) || ignoreUpdateInfo) 3626Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 3634TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 3695Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 3703TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 3779ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3799Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 3810TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3842if(PTS.ToBoolean(textDetails.fLinesComposite)) 3861ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3927Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(lineDesc.fClearOnLeft), PTS.ToBoolean(lineDesc.fClearOnRight), TextParagraph.TextRunCache); 3934TextParagraph.FormatLineCore(line, lineDesc.pfsbreakreclineclient, ctx, lineDesc.dcpFirst, lineDesc.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), lineDesc.dcpFirst); 3959ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 3990Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 4001TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst); 4041ErrorHandler.Assert(!PTS.ToBoolean(textDetails.fDropCapPresent), ErrorHandler.NotSupportedDropCap); 4126Line.FormattingContext ctx = new Line.FormattingContext(false, PTS.ToBoolean(element.fClearOnLeft), PTS.ToBoolean(element.fClearOnRight), TextParagraph.TextRunCache); 4133TextParagraph.FormatLineCore(line, element.pfsbreakreclineclient, ctx, element.dcpFirst, element.dur, PTS.ToBoolean(lineDesc.fTreatedAsFirst), element.dcpFirst);