You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/01/06 17:40:13 UTC

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

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: dev@poi.apache.org
          Reporter: er.sandeeptiwari32@gmail.com
  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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

--- Comment #3 from SANDEEP TIWARI <er...@gmail.com> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

SANDEEP TIWARI <er...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |er.sandeeptiwari32@gmail.co
                   |                            |m

--- Comment #1 from SANDEEP TIWARI <er...@gmail.com> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

--- Comment #2 from SANDEEP TIWARI <er...@gmail.com> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

PJ Fanning <fa...@yahoo.com> changed:

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

--- Comment #8 from PJ Fanning <fa...@yahoo.com> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

--- Comment #5 from PJ Fanning <fa...@yahoo.com> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

SANDEEP TIWARI <er...@gmail.com> changed:

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

--- Comment #4 from SANDEEP TIWARI <er...@gmail.com> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

--- Comment #7 from SANDEEP TIWARI <er...@gmail.com> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61972

--- Comment #6 from SANDEEP TIWARI <er...@gmail.com> ---
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org