OWC intreface

  • Hi!

    Just installed OWC for MS Office 2003, but can not find where to open it: no shortcuts, no menus, etc.  Is there some different way to open OWC for cube browsing?  Would appriciate any links to introductory information on the subject.

    Thanks.

  • This was removed by the editor as SPAM

  • Maybe last post of Alamir in this tread could be useful:

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=17&messageid=129940&p=2

  • Find below the code for getting OWC Excel component in html page. But you will have to pump an XML stream into the OWC component. Also note that OWC used in this example is version 9, while 2003 OWC is version 11. hence, make adjustments accordingly. (Also appropriately replace the emoticons with appropriate decoded String)

    All the best.

    Cheers

    Gan

    ==============================================

    <html xmlns:o="urn:schemas-microsoft-com:office:office"

    xmlns:x="urn:schemas-microsoft-com:office:excel"

    xmlns="http://www.w3.org/TR/REC-html40">

    <head>

    <meta name=ProgId content=FrontPage.Editor.Document>

    <meta name=Generator content="Microsoft Excel 9">

    </head>

    <LINK REL=stylesheet HREF="stylesheets/MyStyles.css" TYPE="text/css">

    <body>

    <!--[if !excel]>&nbsp;&nbsp;<![endif]-->

    <!--The following information was generated by Microsoft Excel's Publish as Web

    Page wizard.-->

    <!--If the same item is republished from Excel, all information between the DIV

    tags will be replaced.-->

    <!----------------------------->

    <!--START OF OUTPUT FROM EXCEL PUBLISH AS WEB PAGE WIZARD -->

    <!----------------------------->

    <div id="chartContainer" style="z-index:1">

    <div id="Test_24468" align=center x:publishsource="Excel"><object

     id="Test_24468_WebChart" codebase="file:msowc.cab#version=9,0,0,2710"

     classid="CLSID:0002E500-0000-0000-C000-000000000046" width="100%" height="90%">

     <param name=XMLData

     value="&lt;xml xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot;&gt;

     &lt;x:WebChart&gt;

      &lt;xWCVersion&gt;9.0.0.6430&lt;/xWCVersion&gt;

      &lt;x:Width&gt;32597&lt;/x:Width&gt;

      &lt;x:Height&gt;8308&lt;/x:Height&gt;

      &lt;xataSource&gt;

       &lt;x:Type&gt;OSP&lt;/x:Type&gt;

      &lt;/xataSource&gt;

      &lt;xalette&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#000080&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#FF00FF&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#FFFF00&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#00FFFF&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#800080&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#800000&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#008080&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#0000FF&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#00CCFF&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#CCFFFF&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#CCFFCC&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#FFFF99&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#99CCFF&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#FF99CC&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#CC99FF&lt;/x:Entry&gt;

       &lt;x:Entry&gt;#FFCC99&lt;/x:Entry&gt;

      &lt;/xalette&gt;

      &lt;x:Chart&gt;

       &lt;xlotArea&gt;

        &lt;x:Border&gt;

         &lt;x:Color&gt;#808080&lt;/x:Color&gt;

         &lt;x:Weight&gt;1&lt;/x:Weight&gt;

        &lt;/x:Border&gt;

        &lt;x:Interior&gt;

         &lt;x:Color&gt;#C0C0C0&lt;/x:Color&gt;

        &lt;/x:Interior&gt;

        &lt;x:Graph&gt;

         &lt;x:Type&gt;Line&lt;/x:Type&gt;

         &lt;x:SubType&gt;Standard&lt;/x:SubType&gt;

         &lt;x:SubType&gt;Marker&lt;/x:SubType&gt;

         &lt;x:Series&gt;

          &lt;x:Name&gt;Series&lt;/x:Name&gt;

          &lt;x:Caption&gt;

           &lt;xataSource&gt;0&lt;/xataSource&gt;

           &lt;xata&gt;$A$:$$&lt;/xata&gt;

          &lt;/x:Caption&gt;

          &lt;x:Index&gt;0&lt;/x:Index&gt;

          &lt;x:Category&gt;

           &lt;xataSource&gt;0&lt;/xataSource&gt;

           &lt;xata&gt;$$1:$$1&lt;/xata&gt;

          &lt;/x:Category&gt;

          &lt;x:Value&gt;

           &lt;xataSource&gt;0&lt;/xataSource&gt;

           &lt;xata&gt;$$:$$&lt;/xata&gt;

          &lt;/x:Value&gt;

          &lt;x:Marker&gt;

           &lt;x:Size&gt;5&lt;/x:Size&gt;

          &lt;/x:Marker&gt;

          &lt;x:Explode&gt;0&lt;/x:Explode&gt;

         &lt;/x:Series&gt;

         &lt;x:ScaleID&gt;54466024&lt;/x:ScaleID&gt;

         &lt;x:ScaleID&gt;54466180&lt;/x:ScaleID&gt;

         &lt;xverlap&gt;100&lt;/xverlap&gt;

         &lt;x:GapWidth&gt;150&lt;/x:GapWidth&gt;

         &lt;x:FirstSliceAngle&gt;0&lt;/x:FirstSliceAngle&gt;

        &lt;/x:Graph&gt;

        &lt;x:Axis&gt;

         &lt;x:AxisID&gt;54468324&lt;/x:AxisID&gt;

         &lt;x:ScaleID&gt;54466024&lt;/x:ScaleID&gt;

         &lt;x:Type&gt;Category&lt;/x:Type&gt;

         &lt;x:Font&gt;

          &lt;x:FontName&gt;Arial&lt;/x:FontName&gt;

          &lt;x:Size&gt;10&lt;/x:Size&gt;

         &lt;/x:Font&gt;

         &lt;x:Number&gt;

          &lt;x:FormatString&gt;General&lt;/x:FormatString&gt;

         &lt;/x:Number&gt;

         &lt;x:CrossingAxis&gt;54468976&lt;/x:CrossingAxis&gt;

         &lt;x:MajorTick&gt;Outside&lt;/x:MajorTick&gt;

         &lt;x:MinorTick&gt;None&lt;/x:MinorTick&gt;

         &lt;xlacement&gt;Bottom&lt;/xlacement&gt;

        &lt;/x:Axis&gt;

        &lt;x:Axis&gt;

         &lt;x:AxisID&gt;54468976&lt;/x:AxisID&gt;

         &lt;x:ScaleID&gt;54466180&lt;/x:ScaleID&gt;

         &lt;x:Type&gt;Value&lt;/x:Type&gt;

         &lt;x:Font&gt;

          &lt;x:FontName&gt;Arial&lt;/x:FontName&gt;

          &lt;x:Size&gt;10&lt;/x:Size&gt;

         &lt;/x:Font&gt;

         &lt;x:Number&gt;

          &lt;x:FormatString&gt;0.00%&lt;/x:FormatString&gt;

         &lt;/x:Number&gt;

         &lt;x:CrossingAxis&gt;54468324&lt;/x:CrossingAxis&gt;

         &lt;x:MajorGridlines&gt;

         &lt;/x:MajorGridlines&gt;

         &lt;x:MajorTick&gt;Outside&lt;/x:MajorTick&gt;

         &lt;x:MinorTick&gt;None&lt;/x:MinorTick&gt;

         &lt;xlacement&gt;Left&lt;/xlacement&gt;

        &lt;/x:Axis&gt;

       &lt;/xlotArea&gt;

       &lt;x:Name&gt;Chart 2&lt;/x:Name&gt;

       &lt;x:Legend&gt;

        &lt;x:Font&gt;

         &lt;x:FontName&gt;Arial&lt;/x:FontName&gt;

         &lt;x:Size&gt;10&lt;/x:Size&gt;

        &lt;/x:Font&gt;

        &lt;xlacement&gt;Right&lt;/xlacement&gt;

       &lt;/x:Legend&gt;

      &lt;/x:Chart&gt;

      &lt;x:Scaling&gt;

       &lt;x:ScaleID&gt;54466024&lt;/x:ScaleID&gt;

      &lt;/x:Scaling&gt;

      &lt;x:Scaling&gt;

       &lt;x:ScaleID&gt;54466180&lt;/x:ScaleID&gt;

      &lt;/x:Scaling&gt;

     &lt;/x:WebChart&gt;

    &lt;/xml&gt;">

     <param name="ScreenUpdating" value="-1">

    <p style='margin-top:100;font-family:Arial;font-size:8.0pt'>To use this Web

     page interactively, you must have Microsoft® Internet Explorer 4.01 or later

     and the Microsoft Office Web Components.<span style="mso-spacerun: yes"> 

     </span>See the <a

     HRef="Microsoft'>http://officeupdate.microsoft.com/office/redirect/fromOffice9/MSOWCPub.htm?&amp;HelpLCID=1033">Microsoft

     Office Web site</a> for more information.</p>

    </object>

    </DIV>

    <object id="Test_24468_DSC"

     codebase="file:msowc.cab#version=9,0,0,2710"

     classid="CLSID:0002E530-0000-0000-C000-000000000046" VIEWASTEXT>

     <param name=XMLData

     value="<!--[if gte mso 9]><xml xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot;> <x:ElementExtension>   <x:ElementID>Test_24468_WebChart</x:ElementID>   <x:ConsumesRecordset/>   <x:AlternateDataSource>Test_24468_WebCalc</x:AlternateDataSource> </x:ElementExtension> </xml><![endif]-->">

    </object>

    <DIV id="Spreadsheet" style="display:none;">

    <OBJECT classid="CLSID:0002E510-0000-0000-C000-000000000046" codeBase=file:msowc.cab#version=9,0,0,2710

     id=Test_24468_WebCalc style="LEFT: 0px; TOP: 0px" VIEWASTEXT>

     <PARAM NAME="HTMLURL" VALUE="">

     <PARAM NAME="HTMLData"

     value="&lt;html xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot;

    xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

    &lt;head&gt;

    &lt;style type=&quot;text/css&quot;&gt;

    &lt;!--tr

     {mso-height-source:auto;}

    td

     {white-space:nowrap;}

    .wc8483F33

     {white-space:nowrap;

     font-family:Arial;

     mso-number-format:General;

     font-size:auto;

     font-weight:auto;

     font-style:auto;

     text-decoration:auto;

     mso-background-source:auto;

     mso-pattern:auto;

     mso-color-source:auto;

     text-align:general;

     vertical-align:bottom;

     border-top:none;

     border-left:none;

     border-right:none;

     border-bottom:none;

     mso-protection:locked;}

    .wcCA26F33

     {white-space:nowrap;

     font-family:Arial;

     mso-number-formatercent;

     font-size:10pt;

     font-weight:700;

     font-style:normal;

     text-decoration:auto;

     mso-background-source:auto;

     mso-pattern:auto;

     color:black;

     text-align:general;

     vertical-align:bottom;

     border-top:none;

     border-left:none;

     border-right:none;

     border-bottom:none;

     mso-protection:locked;}

    .wc0B36F33

     {white-space:nowrap;

     font-family:Arial;

     mso-number-formatercent;

     font-size:10pt;

     font-weight:400;

     font-style:normal;

     text-decoration:auto;

     mso-background-source:auto;

     mso-pattern:auto;

     color:black;

     text-align:general;

     vertical-align:bottom;

     border-top:none;

     border-left:none;

     border-right:none;

     border-bottom:none;

     mso-protection:locked;}

    --&gt;

    &lt;/style&gt;

    &lt;/head&gt;

    &lt;body&gt;

    &lt;!--[if gte mso 9]&gt;&lt;xml&gt;

     &lt;x:ExcelWorkbook&gt;

      &lt;x:ExcelWorksheets&gt;

       &lt;x:ExcelWorksheet&gt;

        &lt;xWCVersion&gt;9.0.0.6430&lt;/xWCVersion&gt;

        &lt;x:Label Style='border-top:solid .5pt silver;border-left:solid .5pt silver;

         border-right:solid .5pt silver;border-bottom:solid .5pt silver'&gt;

         &lt;x:Caption&gt;Microsoft Office Spreadsheet&lt;/x:Caption&gt;

        &lt;/x:Label&gt;

        &lt;x:Name&gt;Sheet1&lt;/x:Name&gt;

        &lt;x:WorksheetOptions&gt;

         &lt;x:Selected/&gt;

         &lt;x:Height&gt;7620&lt;/x:Height&gt;

         &lt;x:Width&gt;15240&lt;/x:Width&gt;

         &lt;x:TopRowVisible&gt;0&lt;/x:TopRowVisible&gt;

         &lt;x:LeftColumnVisible&gt;0&lt;/x:LeftColumnVisible&gt;

         &lt;xrotectContents&gt;False&lt;/xrotectContents&gt;

         &lt;xefaultRowHeight&gt;255&lt;/xefaultRowHeight&gt;

         &lt;x:StandardWidth&gt;2340&lt;/x:StandardWidth&gt;

        &lt;/x:WorksheetOptions&gt;

       &lt;/x:ExcelWorksheet&gt;

      &lt;/x:ExcelWorksheets&gt;

      &lt;x:SpreadsheetAutoFit/&gt;

      &lt;x:MaxHeight&gt;95%&lt;/x:MaxHeight&gt;

      &lt;x:MaxWidth&gt;95%&lt;/x:MaxWidth&gt;

     &lt;/x:ExcelWorkbook&gt;

    &lt;/xml&gt;&lt;![endif]--&gt;

    &lt;table class=wc8483F33 x:str&gt;

     &lt;col width=&quot;64&quot;&gt;

     &lt;col width=&quot;64&quot;&gt;

     &lt;col width=&quot;64&quot;&gt;

     &lt;col width=&quot;64&quot;&gt;

     &lt;tr height=&quot;17&quot;&gt;

      &lt;td class=wcCA26F33&gt;&lt;/td&gt;

      &lt;td class=wcCA26F33&gt;&lt;/td&gt;

      &lt;td class=wcCA26F33&gt;&lt;/td&gt;

      &lt;td&gt;&lt;/td&gt;

     &lt;/tr&gt;

     &lt;tr height=&quot;17&quot;&gt;

      &lt;td&gt;&lt;/td&gt;

      &lt;td&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&nbsp;&lt;/span&gt;x:num=&amp;quot;&amp;quot;&amp;gt;&lt;/td&gt;

      &lt;td class=wc0B36F33 x:str=&quot;n/r&quot;&gt;&lt;/td&gt;

      &lt;td class=wc0B36F33 x:str=&quot;n/r&quot;&gt;&lt;/td&gt;

     &lt;/tr&gt;

     &lt;tr height=&quot;17&quot;&gt;

      &lt;td&gt;&lt;span style=&quot;mso-spacerun: yes&quot;&gt;&nbsp;&lt;/span&gt;x:num=&amp;quot;&amp;quot;&amp;gt;&lt;/td&gt;

      &lt;td&gt;&lt;/td&gt;

      &lt;td&gt;&lt;/td&gt;

      &lt;td&gt;&lt;/td&gt;

     &lt;/tr&gt;

    &lt;/table&gt;

    &lt;/body&gt;

    &lt;/html&gt;

    ">

     <PARAM NAME="DataType" VALUE="HTMLDATA">

     <PARAM NAME="AutoFit" VALUE="-1">

     <PARAM NAME="DisplayColHeaders" VALUE="-1">

     <PARAM NAME="DisplayGridlines" VALUE="-1">

     <PARAM NAME="DisplayHorizontalScrollBar" VALUE="-1">

     <PARAM NAME="DisplayRowHeaders" VALUE="-1">

     <PARAM NAME="DisplayTitleBar" VALUE="0">

     <PARAM NAME="DisplayToolbar" VALUE="-1">

     <PARAM NAME="DisplayVerticalScrollBar" VALUE="-1">

     <PARAM NAME="EnableAutoCalculate" VALUE="-1">

     <PARAM NAME="EnableEvents" VALUE="-1">

     <PARAM NAME="MoveAfterReturn" VALUE="-1">

     <PARAM NAME="MoveAfterReturnDirection" VALUE="0">

     <PARAM NAME="RightToLeft" VALUE="0">

     <PARAM NAME="ViewableRange" VALUE="1:65536"></OBJECT>

     </DIV>

    </div>

    <!----------------------------->

    <!--END OF OUTPUT FROM EXCEL PUBLISH AS WEB PAGE WIZARD-->

    <!----------------------------->

    </body>

    </html>

    =====================================================

Viewing 4 posts - 1 through 3 (of 3 total)

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