예제 #1
0
 // Token: 0x06006B22 RID: 27426 RVA: 0x001EEC70 File Offset: 0x001ECE70
 internal void GetTextProperties(int iArea, ref PTS.FSTXTPROPS fstxtprops)
 {
     fstxtprops.fswdir                              = PTS.FlowDirectionToFswdir((FlowDirection)base.Element.GetValue(FrameworkElement.FlowDirectionProperty));
     fstxtprops.dcpStartContent                     = 0;
     fstxtprops.fKeepTogether                       = PTS.FromBoolean(DynamicPropertyReader.GetKeepTogether(base.Element));
     fstxtprops.cMinLinesAfterBreak                 = DynamicPropertyReader.GetMinOrphanLines(base.Element);
     fstxtprops.cMinLinesBeforeBreak                = DynamicPropertyReader.GetMinWidowLines(base.Element);
     fstxtprops.fDropCap                            = 0;
     fstxtprops.fVerticalGrid                       = 0;
     fstxtprops.fOptimizeParagraph                  = PTS.FromBoolean(this.IsOptimalParagraph);
     fstxtprops.fAvoidHyphenationAtTrackBottom      = 0;
     fstxtprops.fAvoidHyphenationOnLastChainElement = 0;
     fstxtprops.cMaxConsecutiveHyphens              = int.MaxValue;
 }