Search found 47 matches

by Gabriel Titerlea
Mon Nov 07, 2016 11:19 am
Forum: Common Problems
Topic: Mathml visualization in webapp 18.1
Replies: 9
Views: 3199

Re: Mathml visualization in webapp 18.1

Hello,

It looks like you forgot to declare the mml namespace.

Code: Select all

<mml:math class="+ topic/foreign math-d/math "> 
should be

Code: Select all

<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" class="+ topic/foreign math-d/math "> 
Best,
Gabriel
by Gabriel Titerlea
Fri Nov 04, 2016 4:18 pm
Forum: Common Problems
Topic: Refresh KeyDefinitionInfo values
Replies: 6
Views: 2609

Re: Refresh KeyDefinitionInfo values

How can I refresh references without setting status dirty? or maybe can I change dirty to FALSE after that operation? Hello, What version of Web Author are you using? How is a user initiating the call to the refresh references action? I was not able to reproduce the bug where the Redo button is act...
by Gabriel Titerlea
Tue Oct 04, 2016 2:14 pm
Forum: Common Problems
Topic: Web author: hide processing instructions
Replies: 7
Views: 2521

Re: Web author: hide processing instructions

Hello,

The option author.show.processing.instructions does not work in 18.0.x. It will be available in version 18.1.x
oxy|processing-instruction[*]
{
display:none !important;
}
You need to remove the "[*]" at the end of the selector and PIs will be hidden.

Best,
Gabriel
by Gabriel Titerlea
Mon Oct 03, 2016 10:49 am
Forum: Common Problems
Topic: Refresh KeyDefinitionInfo values
Replies: 6
Views: 2609

Re: Refresh KeyDefinitionInfo values

Maybe there is better way to do it ? Hello, Calling: AuthorActionsProvider actionsProvider = authorAccess.getEditorAccess().getActionsProvider(); Map<String, Object> authorCommonActions = actionsProvider.getAuthorCommonActions(); Object refreshRefAction = authorCommonActions.get("Author/Refresh_ref...
by Gabriel Titerlea
Thu Sep 29, 2016 11:02 am
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 3044

Re: Webapp customReferencesResolver

Could you say is this bug fixed ? We already use Webapp 18.0.0.6 and it does not works. Hello, I'm sorry for the confusion. The bug is fixed in the next version, meaning version 18.1. Version 18.0.0.6 is a minor, maintenance, version. The next sdk version (18.1) is scheduled for release around 17th...
by Gabriel Titerlea
Thu Aug 18, 2016 3:41 pm
Forum: Common Problems
Topic: ReadOnly mode
Replies: 2
Views: 1401

Re: ReadOnly mode

Hello,

This method is the API:

Code: Select all

editor.getActionsManager().invokeOperation(
'SetReadOnlyStatusOperation',
{'read-only': true}
);
It will work in text mode as well in the next release (18.1)

Regards,
Gabriel
by Gabriel Titerlea
Mon Aug 01, 2016 4:17 pm
Forum: Common Problems
Topic: Webapp 18 Highlighting
Replies: 9
Views: 3630

Re: Webapp 18 Highlighting

Hello Konstantin, There's an even better solution for highlighting specific attributes. You can use an Author Stylesheet Plugin Extension [1] in your plugin. You can write css selectors specific to your document type without the extra "data-attr-". example: title[attribute="value"] { color: red } Re...
by Gabriel Titerlea
Tue Jul 26, 2016 3:08 pm
Forum: Common Problems
Topic: AuthorDocumentModel features
Replies: 17
Views: 4507

Re: AuthorDocumentModel features

Hello Konstantin, Like I've previously mentioned, the server does not know where the client-side caret is. The server receives the client-sides caret position whenever an editing action is performed (E.g. inserting text or invoking an action). So I'm afraid that you can't do these changes from a dif...
by Gabriel Titerlea
Fri Jul 22, 2016 1:27 pm
Forum: Common Problems
Topic: Webapp 18 Highlighting
Replies: 9
Views: 3630

Re: Webapp 18 Highlighting

We don't support AuthorHighlighter, but if the only thing you want to do is change the color of elements depending on an attribute value you could add a css to the WebApp using a javascript plugin [1]. In your css you can select attributes with certain values like this: // Note that the attribute na...
by Gabriel Titerlea
Fri Jul 22, 2016 11:12 am
Forum: Common Problems
Topic: Webapp 18 set content
Replies: 8
Views: 3103

Re: Webapp 18 set content

Dear Konstantin, The Web Author client does not know that the server model has changed unless it asks for the specific information. I have added an issue for your request and it should be available in the next maintenance build (about 3 weeks from now). The new API will allow you to synchronize the ...
by Gabriel Titerlea
Thu Jul 21, 2016 4:40 pm
Forum: Common Problems
Topic: AuthorDocumentModel features
Replies: 17
Views: 4507

Re: AuthorDocumentModel features

Else I found bug final AuthorAccess authorAccess = authorDocumentModel.getAuthorAccess() final AuthorDocumentController documentController = authorAccess.getDocumentController(); int currentOffset = authorAccess.getEditorAccess().getCaretOffset(); AuthorNode node = documentController.getNodeAtOffse...
by Gabriel Titerlea
Thu Jul 21, 2016 4:34 pm
Forum: Common Problems
Topic: AuthorDocumentModel features
Replies: 17
Views: 4507

Re: AuthorDocumentModel features

Hi I have problem with refreshing after editing content. We used this code in Applet and text in AuthorMode was refreshed final AuthorAccess authorAccess = getAccess(); final AuthorDocumentController documentController = authorAccess.getDocumentController(); documentController.beginCompoundEdit(); ...
by Gabriel Titerlea
Thu Jul 21, 2016 3:28 pm
Forum: Common Problems
Topic: Webapp 18 Highlighting
Replies: 9
Views: 3630

Re: Webapp 18 Highlighting

Hello,

Can you explain exactly what you want to achieve with the highlighter?
We do not support the AuthorHighlighter in the WebApp. We will have a method of inserting non-persistent markers on the client-side with javascript though. Would this suit your needs?

Regards,
Gabriel
by Gabriel Titerlea
Mon Jul 18, 2016 9:52 am
Forum: Other Issues
Topic: Use of alternate CSS available in Oxygen Web Author
Replies: 5
Views: 3104

Re: Use of alternate CSS available in Oxygen Web Author

Yes, alternate CSS is available. You only need to add the alternate stylesheet to the framework [1] you are using or to an extension [2] of the framework. After that, add the modified framework to the web author [3][4]. You can switch the active style-sheet by passing in a stylesheet-titles url para...
by Gabriel Titerlea
Mon Jul 04, 2016 3:57 pm
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 3044

Re: Webapp customReferencesResolver

Hello, You can add a parentClassLoaderID field to you .framework file. [1] This will make both the framework and your plugin share the same class-loader. Thus allowing the classes to see each other. <field name="classpath"> <String-array> <String>${framework}/dita.jar</String> <String>${framework}/r...
by Gabriel Titerlea
Tue Jun 14, 2016 4:21 pm
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 3044

Re: Webapp customReferencesResolver

Hi Konstantin, There seems to be a bug at the moment and setting MIXED_CONTENT is not working. We have recorded the issue and it will be fixed in the next version. As a workaround you will have to use custom css functions [1] and modify your frameworks CSS. You might want to look at the oxy_url and ...
by Gabriel Titerlea
Thu Jun 09, 2016 2:56 pm
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 3044

Re: Webapp customReferencesResolver

Hi Konstantin, The recommended method of adding functionality to a framework is to extend it [1]. This way you will benefit from changes to the original framework without having to update the extended framework. After creating the extension and adding your reference resolver you should copy it insid...