You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/05/30 09:07:36 UTC

[Bug 119577] New: [From Symphony] The "file name" field change to "file name without extension" in AOO 3.4

https://issues.apache.org/ooo/show_bug.cgi?id=119577

          Priority: P3
            Bug ID: 119577
          Assignee: ooo-issues@incubator.apache.org
           Summary: [From Symphony] The "file name" field change to "file
                    name without extension" in AOO 3.4
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: tingxiaox@gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: AOO340
         Component: open-import
           Product: word processor

Created attachment 77794
  --> https://issues.apache.org/ooo/attachment.cgi?id=77794&action=edit
File Name

Steps:

1. Launch MS Office 2010,new a Word document, save it as .docx and reopen, then
insert a "file name" field into the docx (Insert-->Text--> Quick Parts).
You can see the file's name was inserted into the file.
2.Launch AOO 3.4,open the attached sample file then check field.

Problem:
The "file name" field change to "file name without extension" one.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119577] [From Symphony] The "file name" field change to "file name without extension" in AOO 3.4

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119577

Yolanda Zhang Ying <tl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tldyzem@gmail.com

--- Comment #1 from Yolanda Zhang Ying <tl...@gmail.com> ---
The field of File Name display format defined as 4 types as below in AOO:
FULL = 0   //The content of the URL is completely displayed.
PATH = 1   //Only the path of the file is displayed
NAME = 2   //Only the name of the file is displayed
NAME_AND_EXT = 3  //The file name including the file extension is displayed

But in OOXML definition
The field of file name including below field code and type:
\* Caps      //Capitalizes the first letter of each word
\* FirstCap  //Capitalizes the first letter of the first word
\* Lower     //ALl the character is Lower case
\* Upper     //ALl the character is Upper case
\p           //Add the file system's path to the file name

So all the file name will contains file name and file extension.
But we wrong map the file format to the file name without file extension.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119577] [From Symphony] The "file name" field change to "file name without extension" in AOO 3.4

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119577

Steve Yin <st...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
                 CC|                            |steve.yin.aoo@gmail.com
         Resolution|---                         |FIXED

--- Comment #9 from Steve Yin <st...@gmail.com> ---
Verified the fix patch, it works.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Bug 119577] [From Symphony] The "file name" field change to "file name without extension" in AOO 3.4

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119577

Oliver-Rainer Wittmann <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Bug 119577] [From Symphony] The "file name" field change to "file name without extension" in AOO 3.4

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119577

--- Comment #8 from SVN Robot <sv...@dev.null.org> ---
"steve_y" committed SVN revision 1554781 into trunk:
Bug 119577 - [From Symphony] The "file name" field change to "file name
witho...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Bug 119577] [From Symphony] The "file name" field change to "file name without extension" in AOO 3.4

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119577

Andre <aw...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78381|review?                     |review-
              Flags|                            |

--- Comment #5 from Andre <aw...@googlemail.com> ---
Comment on attachment 78381
  --> https://issues.apache.org/ooo/attachment.cgi?id=78381
Fix the issue of import file name field with file extension

Can not verify the patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119577] [From Symphony] The "file name" field change to "file name without extension" in AOO 3.4

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119577

Yan Ji <ya...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #3 from Yan Ji <ya...@gmail.com> ---
It can be reproduced in AOO 3.4, change status to "CONFIRMED"

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119577] [From Symphony] The "file name" field change to "file name without extension" in AOO 3.4

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119577

Andre <af...@a-w-f.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |af@a-w-f.de

--- Comment #4 from Andre <af...@a-w-f.de> ---
Hm, when I load the attached test document into AOO then the FileName field is
not replaced with the filename, with or without the patch.
What am I doing wrong?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119577] [From Symphony] The "file name" field change to "file name without extension" in AOO 3.4

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119577

--- Comment #7 from Yolanda Zhang Ying <tl...@gmail.com> ---
(In reply to comment #5)
> Comment on attachment 78381 [details]
> Fix the issue of import file name field with file extension
> 
> Can not verify the patch.

Hi, Andre

Is there any problem for this patch, waiting for your response, thx!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Issue 119577] [From Symphony] The "file name" field change to "file name without extension" in AOO 3.4

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119577

liuping <do...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED
                 CC|                            |doneyourself@gmail.com

--- Comment #10 from liuping <do...@gmail.com> ---
verified on windows7 on AOO410m15(Build:9761)  -  Rev. 1583666
2014-04-01 13:53:14 (Di, 01 Apr 2014)

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Bug 119577] [From Symphony] The "file name" field change to "file name without extension" in AOO 3.4

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119577

--- Comment #6 from Yolanda Zhang Ying <tl...@gmail.com> ---
Thx, Andre

And is there anything unclear any more, and could u help commit this fix. thx!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119577] [From Symphony] The "file name" field change to "file name without extension" in AOO 3.4

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119577

Yolanda Zhang Ying <tl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78381|                            |review?
              Flags|                            |

--- Comment #2 from Yolanda Zhang Ying <tl...@gmail.com> ---
Created attachment 78381
  --> https://issues.apache.org/ooo/attachment.cgi?id=78381&action=edit
Fix the issue of import file name field with file extension

Root Cause:
Since the different for file name field definition, AOO should import file name
field with file name + file extension by default. Otherwise, the extension may
lost.

Solution:
Modify the file name field format type.

Other problems:
Since the file name filed has support limitation, so below problem will be
remained unfix.
1. if change the text of the field in MS Office 2007/2010 to make the content
different with the correct file name content, AOO can not keep the snapshot
content for file name field;
2. Some of the format code in OOXML can't be supported by AOO, like:
\* Caps      //Capitalizes the first letter of each word
\* FirstCap  //Capitalizes the first letter of the first word
\* Lower     //ALl the character is Lower case
\* Upper     //ALl the character is Upper case

-- 
You are receiving this mail because:
You are the assignee for the bug.