[Bug 61972] New: Adding chart in Document of MS-Word File without reading Temp MS-Word File

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 61972] New: Adding chart in Document of MS-Word File without reading Temp MS-Word File

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

            Bug ID: 61972
           Summary: Adding chart in Document of MS-Word File without
                    reading Temp MS-Word File
           Product: POI
           Version: 4.0-dev
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

This patch contains 1 new java file and 5 modified filed including test file.
This patch can use for create chart in XWPFDocument without reading any temp
MS-Word file{Extension of bug id 61745}.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61972] Adding chart in Document of MS-Word File without reading Temp MS-Word File

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

SANDEEP TIWARI <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
                   |                            |m

--- Comment #1 from SANDEEP TIWARI <[hidden email]> ---
Created attachment 35656
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35656&action=edit
patch file which contains modified java file which used to create XWPFChart
object in XWPFDocument without reading temp MS-WORD file

this patch contains changes for creating XWPFChart object in XWPFDocument
object without reading Temp ms-Word File which contains chart and then
modifying them.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61972] Adding chart in Document of MS-Word File without reading Temp MS-Word File

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

--- Comment #2 from SANDEEP TIWARI <[hidden email]> ---
Created attachment 35657
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35657&action=edit
Test Java File Which Explain how to create chart in XWPFDocument

this test file have a example for creating chart in document.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61972] Adding chart in Document of MS-Word File without reading Temp MS-Word File

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

--- Comment #3 from SANDEEP TIWARI <[hidden email]> ---
Created attachment 35658
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35658&action=edit
OutPut of TestChart class

Created ms-Word File using TestChart class

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61972] Adding chart in Document of MS-Word File without reading Temp MS-Word File

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

SANDEEP TIWARI <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #4 from SANDEEP TIWARI <[hidden email]> ---
Hi sir,

Along with all changes,i tried to use existing Data file class i.e.
XDDFChartData class object,but due to some difference between excel and ms-word
chart creating i ma not able to use that class so for now i created
XWPFChartData class. As we need to embedded excel file in MS-Word and MS-PPT
file for chart data.
please give me suggestion on this so that i can update Document code along with
power point chart creation code.

i also used some setter in XWPFChart object itself because i not got any other
class where its already implemented and i thought it is right place from where
a user can expect getters and setters.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61972] Adding chart in Document of MS-Word File without reading Temp MS-Word File

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

--- Comment #5 from PJ Fanning <[hidden email]> ---
Thanks Sandeep for the patch. Would it be possible to make a Pull Request to
https://github.com/apache/poi/ instead? I find it easier to review Pull
Requests than svn diffs.
I had a quick look at TestChart.java and it uses a lot of the OOXML
XMLBeans-generated CT classes directly and we are trying to abstract POI so
that it does not require the direct use of these generated classes. The hope is
to eventually replace the use of XMLBeans.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61972] Adding chart in Document of MS-Word File without reading Temp MS-Word File

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

--- Comment #6 from SANDEEP TIWARI <[hidden email]> ---
Hi P J Fanning sir,
Should i used XDDFChart class method to create charts,
when i wrote that test class at that time there are no XDDFChart class so
that's why i need to used ct class object.
i am updating test class with XDDFchart class method.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61972] Adding chart in Document of MS-Word File without reading Temp MS-Word File

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

--- Comment #7 from SANDEEP TIWARI <[hidden email]> ---
hi sir,
please review code from Git Commit
Adding chart in Document of MS-Word File without reading Temp MS-Word File #89
https://github.com/apache/poi/pull/89

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61972] Adding chart in Document of MS-Word File without reading Temp MS-Word File

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

PJ Fanning <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from PJ Fanning <[hidden email]> ---
https://svn.apache.org/viewvc?view=revision&revision=1821764

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]