To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=89845
                 Issue #|89845
                 Summary|TextFrame - can't remove hardcoded formatting
               Component|Word processor
                 Version|1.0.0
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mru
             Reported by|rvojta





------- Additional comments from [EMAIL PROTECTED] Fri May 23 10:29:04 +0000 
2008 -------
My goal is to remove text frames hardcoded formatting and replace it
with styles (frame width and horizontal position in my case, Java
extension). So, when I change frame width and horizontal position (in
frame style), all affected frames will be changed too. I tried
following things ...

a) call setPropertyToDefault( ... ) on all HoriOrient* properties

b) copy HoriOrient* property values from frame style directly to text
frame (to synchronize them) and call setPropertyToDefault( ... )

... and it doesn't work (yes, the correct style is applied to this
frame). There's still DIRECT_VALUE instead of DEFAULT_VALUE = still
hardcoded. Should I treat text frames in another way? Because when I
try this on simple text with setPropertyToDefault( "CharWeight" ) for
example, hardcoded formatting is removed and DIRECT_VALUE is switched
to DEFAULT_VALUE = style is followed.

--- Frank Meies response ---

I had a look at the code in unoframe.cxx. This code handling your case looks
like it has been designed to do nothing. Please file an issue for this. Oliver
(OS) volunteered to take over ;-)

---------------------------------------------------------------------
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