Vertical text word wrap

  • In a tablix, I have the column headers' WritingMode set to Vertical and CanGrow True.  The text prints vertically, but in Chrome the text wraps after each word.  How can I prevent the text from wrapping?

    Here is a sample textbox from the .rdl file:


    <Textbox Name="textbox4">
             <CanGrow>true</CanGrow>
             <KeepTogether>true</KeepTogether>
             <Paragraphs>
              <Paragraph>
              <TextRuns>
               <TextRun>
                <Value>User ID</Value>
                <Style>
                <FontSize>8pt</FontSize>
                <FontWeight>Bold</FontWeight>
                <Color>White</Color>
                </Style>
               </TextRun>
              </TextRuns>
              <Style>
               <TextAlign>Center</TextAlign>
              </Style>
              </Paragraph>
             </Paragraphs>
             <rd:DefaultName>textbox4</rd:DefaultName>
             <ZIndex>73</ZIndex>
             <Style>
              <Border>
              <Color>LightGrey</Color>
              <Style>Solid</Style>
              </Border>
              <BackgroundColor>Gray</BackgroundColor>
              <VerticalAlign>Middle</VerticalAlign>
              <PaddingLeft>2pt</PaddingLeft>
              <PaddingRight>2pt</PaddingRight>
              <PaddingTop>2pt</PaddingTop>
              <PaddingBottom>2pt</PaddingBottom>
              <WritingMode>Vertical</WritingMode>
             </Style>
            </Textbox>


    Here are the styles for the div in Chrome:

    1.   word-wrap: break-word;
    2.   white-space: pre-wrap;
    3.   font-style: normal;
    4.   font-family: Arial;
    5.   font-size: 8pt;
    6.   font-weight: 700;
    7.   text-decoration: none;
    8.   unicode-bidi: normal;
    9.   color: White;
    10.   direction: ltr;
    11.   layout-flow: vertical-ideographic;
    12.   writing-mode: tb-rl;
    13.   vertical-align: middle;
    14.   text-align: center;
  • I'm doubtful that Chrome will ever react appropriately to SSRS.   I don't normally use Chrome for anything that I'm not forced to (e.g. my current work laptop), and never use it with SSRS reports.  Only a Microsoft browser is likely to be certain to be fully compatible with SSRS.

    Steve (aka sgmunson) 🙂 🙂 🙂
    Rent Servers for Income (picks and shovels strategy)

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply