Search found 13 matches

by fjeneau
Thu Jan 27, 2022 8:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: First topic as cover page
Replies: 1
Views: 513

First topic as cover page

In a DITA-OT PDF transformation, is there any out-of-the-box way to treat the first topic as the cover page. I know you couldn't do this in the past, but I was wondering if oXygen 24/DITA-OT 3.6.1 had added any kind of customization that would easily allow this. If not, would switching from a generi...
by fjeneau
Thu Jan 27, 2022 8:33 pm
Forum: General XML Questions
Topic: mini refresh on set/remove pseudoclass?
Replies: 7
Views: 2504

Re: mini refresh on set/remove pseudoclass?

I do not know exactly what your customization does. Do you call refresh on the entire document or on a certain node? Is it a large document or a node which contains lost of content? Do you call it a number of times? Or do you call the API to set a pseudo attribute? Do you call it on many elements w...
by fjeneau
Thu Dec 16, 2021 11:03 pm
Forum: General XML Questions
Topic: mini refresh on set/remove pseudoclass?
Replies: 7
Views: 2504

Re: mini refresh on set/remove pseudoclass?

The client has asked us to enable this macro in a read-only context. However, it takes up to 10 times as long for this operation to complete when the document is read-only. Can you think of a reason why it would take so much longer in this context? Would placing this on a separate thread prevent oXy...
by fjeneau
Thu Dec 16, 2021 10:50 pm
Forum: General XML Questions
Topic: image href - base64 string
Replies: 3
Views: 2480

Re: image href - base64 string

Hi, Oxygen has support to display base 64 embedded images, but the images need to be embedded, the URL itself for the image target needs to be of form "data:image/jpeg;base64,.....". In your case you are pointing Oxygen to an URL on an Exist server, URL which serves a string which is a ba...
by fjeneau
Wed Sep 29, 2021 2:09 am
Forum: General XML Questions
Topic: image href - base64 string
Replies: 3
Views: 2480

image href - base64 string

Hi, I have a client using DITA with oXygen 23.1. Their image tags looks like: <image href="456"/> The actual image data is stored as blobs in a SQL database. I have a REST endpoint (xquery) exposed in eXist-db that makes a SQL fetch to the server and returns the blob data as a base64-encod...
by fjeneau
Tue Sep 28, 2021 8:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: outputclass-based content completion
Replies: 2
Views: 763

outputclass-based content completion

We have a client that has transitioned from a custom schema to DITA. They are using oXygen 23.1. Their content has a particular order to it -- an example might be <section><intro/><body/><conclusion/></section>. They would want to maintain that order in DITA like: <section outputclass="about&qu...
by fjeneau
Wed Jul 28, 2021 9:39 pm
Forum: General XML Questions
Topic: CSS for image-before-bullet
Replies: 5
Views: 1784

Re: CSS for image-before-bullet

It looks like :marker is not supported in oXygen 21.1, so I'll have to go with list-style-image.

Thanks for the responses.
by fjeneau
Fri Jul 23, 2021 1:36 am
Forum: General XML Questions
Topic: CSS for image-before-bullet
Replies: 5
Views: 1784

Re: CSS for image-before-bullet

That produces a result like: image.png I need the image to appear before the disc. (I do understand that my version was faking it using the negative margin) If there's no other way, I'll probably need to use list-style-image with multiple images - images of book+bullet-style and images of empty spac...
by fjeneau
Wed Jul 14, 2021 12:37 am
Forum: General XML Questions
Topic: CSS for image-before-bullet
Replies: 5
Views: 1784

CSS for image-before-bullet

Hi, One of my clients would like to have an image show before the bullet of a listitem based on certain criteria. They are using oXygen 21.1. image.png Currently I'm accomplishing this in the CSS like: li[id]::before { content:url('images/book-brown.png')' '; margin-left:-2em; } This only works with...
by fjeneau
Thu Apr 01, 2021 5:43 pm
Forum: General XML Questions
Topic: mini refresh on set/remove pseudoclass?
Replies: 7
Views: 2504

Re: mini refresh on set/remove pseudoclass?

Thanks -- this worked.

The note on WSAuthorEditorPageBase -> refresh(AuthorNode authorNode), "Note: This should be called on the AWT thread because it will generate a layout event," can I assume that adc.setPseudoClass(String, AuthorElement) does that?
by fjeneau
Thu Apr 01, 2021 1:41 am
Forum: General XML Questions
Topic: mini refresh on set/remove pseudoclass?
Replies: 7
Views: 2504

mini refresh on set/remove pseudoclass?

Hi, I have a class that shows/hides tags based on whether or not a pseudoclass is applied to the root. ... private static final String PSEUDOCLASS = "show-all-data"; ... doOperation... AuthorElement root = adc.getAuthorDocumentNode().getRootElement(); boolean dataShown = root.hasPseudoClas...
by fjeneau
Tue Sep 29, 2020 6:51 pm
Forum: Feature Request
Topic: dynamic action name
Replies: 7
Views: 2700

dynamic action name

Is there any way to use editor variables like ${xpath_eval()} for the name of an action defined in a framework or to dynamically generate the action name used for oxy_button? We have a use-case where CSS is defining an oxy_button(...) and the hover text needs to be unique based on attributes of the ...
by fjeneau
Thu Sep 24, 2020 8:23 pm
Forum: Feature Request
Topic: ${answer feature request
Replies: 1
Views: 1753

${answer feature request

Is there a timeline for getting the ${answer editor-variable working in Web Author?