Bugzilla – Attachment 109339 Details for
Bug 86199
Inserted macro in Writer is not evaluated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Example macro to reproduce behaviour
exampleMacro.txt (text/plain), 444 bytes, created by
Jez
on 2014-11-12 14:11:54 UTC
(
hide
)
Description:
Example macro to reproduce behaviour
Filename:
MIME Type:
Creator:
Jez
Created:
2014-11-12 14:11:54 UTC
Size:
444 bytes
patch
obsolete
>Sub FieldInsertTest > Dim doc As Object > doc = ThisComponent > Dim currentCursor As Object > currentCursor = doc.CurrentController.ViewCursor > Dim textField As Object > textField = doc.createInstance("com.sun.star.text.TextField.ConditionalText") > > textField.Condition = "True" > textField.TrueContent = "My true text" > textField.FalseContent = "My false text" > > doc.Text.insertTextContent(currentCursor.End, textField, False) >End Sub
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 86199
: 109339 |
109743