To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74525
                 Issue #|74525
                 Summary|com.sun.star.XStyle - need some enhancement
               Component|api
                 Version|OOo 2.2
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|brinzing





------- Additional comments from [EMAIL PROTECTED] Wed Feb 14 09:52:18 +0000 
2007 -------
Hi,

I am missing some methods for the css.XStyle interface:

- hasChildrenSytyles()
- getChildrenStyles()

this would make it easier to change style trees, or deploy custom
gui applications (e.g. oo extensions) for handling styles ...

- cloneStyle()
- cloneChildrenStyles()

this would allow copying whole style trees e.g.

- Default
  -Custom Text 10pt
   - Custom Text 10pt bold
   - Custom Text 10pt outline

copy  -Custom Text 12pt
       - Custom Text 12pt bold
       - Custom Text 12pt outline

result:

- Default
  -Custom Text 10pt
   - Custom Text 10pt bold
   - Custom Text 10pt outline
  -Custom Text 12pt
   - Custom Text 12pt bold
   - Custom Text 12pt outline

the style names could be changed by traversing the clone before 
inserting it into the styles, e.g. setting a postfix after all names
to avoid duplicates ..

this feature could also be included into the stylist ...

and last: Why don't we have a global styles container inside oo, where a
          user can import/export styles ? This would be easier as copying
          styles between documents ...

I also want to point to the following issues:

http://qa.openoffice.org/issues/show_bug.cgi?id=12339
http://qa.openoffice.org/issues/show_bug.cgi?id=15889

regrads 

Oliver

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to