Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E4E210725 for ; Wed, 19 Jun 2013 16:33:36 +0000 (UTC) Received: (qmail 1988 invoked by uid 500); 19 Jun 2013 16:33:36 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 1851 invoked by uid 500); 19 Jun 2013 16:33:35 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 1841 invoked by uid 99); 19 Jun 2013 16:33:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 16:33:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rajaths.rajaths@gmail.com designates 209.85.214.178 as permitted sender) Received: from [209.85.214.178] (HELO mail-ob0-f178.google.com) (209.85.214.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 16:33:28 +0000 Received: by mail-ob0-f178.google.com with SMTP id fb19so6079511obc.23 for ; Wed, 19 Jun 2013 09:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Zw6TExO+S8hWacLeqCuLetTwWn3yoCWxmcHKfaVfIEQ=; b=KWUZH0oH3knCzcVK0mkInB4NZNC/2Nnq7leblFWXjoeZueBBpAlzxrH4n0Rl04OZvt rwXJOQ2e4zWpCsWbQScUHuv/iVvITQvA0oi/V+nj3BmNiIiE9vXARxIud+q4TFwag7bW SuY6jrbPigEQH2nYCBBrbupiLF5kzDTbS84mwjOkfZJBe5e7Xn26UZbzrqiF85MVRaru IGwtLkeeLfYKX/3JvCXdYZXQf4JODahS/eVtiZ8z8gJ0FTwaMI12bv/zYlx89erCbNUu BJSzxyUZJDXYLycgvmVDxcRuJ04fd75gUAFw5OWk0TlKQd2XrFNJESw1aujudZxWfsXk TDag== MIME-Version: 1.0 X-Received: by 10.60.138.234 with SMTP id qt10mr2533117oeb.118.1371659587630; Wed, 19 Jun 2013 09:33:07 -0700 (PDT) Received: by 10.76.113.228 with HTTP; Wed, 19 Jun 2013 09:33:07 -0700 (PDT) In-Reply-To: References: Date: Wed, 19 Jun 2013 22:03:07 +0530 Message-ID: Subject: Re: OpenCommandArgument2 Data Sink From: Rajath Shashidhara To: dev Content-Type: multipart/alternative; boundary=047d7b414170793e2e04df84627f X-Virus-Checked: Checked by ClamAV on apache.org --047d7b414170793e2e04df84627f Content-Type: text/plain; charset=ISO-8859-1 Hello, with reference to my previous mail. >From webdav ucp, this is the statement I'm not understanding: uno::Reference< io::XActiveDataSink > xSink( rArg.Sink, uno::UNO_QUERY ); Where is this constructor coming from? On Wed, Jun 19, 2013 at 9:55 PM, Rajath Shashidhara < rajaths.rajaths@gmail.com> wrote: > Hello, > > I'm working on the XActiveDataSink. > I'm slightly confused about how to handle OpenCommandArgument2.Sink . > The object is the one which is filled with the XActiveDataSink object for > which I have to set the InputStream by calling setInputStream() and pass > the XInputStream implementation. > This is what I have understood. But, the confusing thing is why is the > datatype for Sink - Object? Shoudnt it be XActiveDataSink? I'm not > understanding how to handle this Sink. > > -- > Rajath S, > M.Sc(Hons.) Physics, > Birla Institute of Technology and Science - Pilani, > Pilani > -- Rajath S, M.Sc(Hons.) Physics, Birla Institute of Technology and Science - Pilani, Pilani --047d7b414170793e2e04df84627f--