Microsoft Developer Network > 포럼 홈 > SharePoint - Excel Services > Cell background color in Excel Web Access webpart
질문하기질문하기
 

답변됨Cell background color in Excel Web Access webpart

  • 2009년 7월 1일 수요일 오전 9:48Vilius Simonaitis 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    I have an Excel file (Edited with MS Excel 2007) in which odd rows are colored Gray.
    When it is displayed through Excel Web Access webpart, Gray background color is rendered as Black (ExcelRenderer.aspx file returns 'background-color: Black' css for particular cells ).

    The funny thing is that the problem appears only in Intranet zone. In Internet zone Excel file appears correctly.

    This problem persists only with gray shades. When i apply greenish or custom color, the background is rendered fine.

    Is it Sharepoint bug (how do i submit it to MS?)
    or
    some configuration issue (how to resolve it)?

답변

  • 2009년 7월 1일 수요일 오후 4:42Anthony Valey - MSFT 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    It sounds as though you have gradient fill backgrounds present in the cells.  In Internet Explorer, Excel Web Access uses the Alpha/Gradient ActiveX filters to replicate Excel's rendering.  Unfortunately when ActiveX is disabled, in certain zones, the background shows with full saturation instead of with the specified opacity.

    You can:
    1) change the settings/trust for the specified web site(s)
    2) remove or change fills/table styles as you mentioned
    3) change ActiveX settings more widely than (1); this can be risky, so do so with caution
    S/W Engineer, Microsoft Office Excel Services

모든 응답

  • 2009년 7월 1일 수요일 오후 4:42Anthony Valey - MSFT 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    It sounds as though you have gradient fill backgrounds present in the cells.  In Internet Explorer, Excel Web Access uses the Alpha/Gradient ActiveX filters to replicate Excel's rendering.  Unfortunately when ActiveX is disabled, in certain zones, the background shows with full saturation instead of with the specified opacity.

    You can:
    1) change the settings/trust for the specified web site(s)
    2) remove or change fills/table styles as you mentioned
    3) change ActiveX settings more widely than (1); this can be risky, so do so with caution
    S/W Engineer, Microsoft Office Excel Services