Olivier Beltrami
Engaged
Olivier Beltrami
Engaged
Activity
‎Mar 06, 2025
09:20 PM
@Devibala I assume that you are using the SDK to get the color values. We found that the colors' numerical values can chnage. To avoid the issue, when we import an INDD file we create a small box of each of the defined colors of the file and then export that box to PNG from which we get an RGB value (see screenshot below). BTW: we had the same color variation issue in QuarkXPress and use the same workaround. Very best regards,
... View more
‎Feb 17, 2025
12:37 AM
1 Upvote
Thank you to everyone for their suggestions. It turned out that VS was not recompiling one of my .cpp files. Doing a full rebuild fixed the issue.
... View more
‎Feb 15, 2025
02:53 AM
@m1b Thank you for for post. There is the equivalent enum in the SDK enum PageResizeChoice { kResizeToMasterPageSize, kKeepCurrentPageSize, kAskUserForPageResizeChoice}; But it does not seem to make a difference (for the moment, still testing). Very best regards, Olivier
... View more
‎Feb 15, 2025
01:25 AM
Hello, I have a document where all the pages and parents are the same size, but when I try to apply a parent page to any page I get the message below. • Why am I getting this spurious message ? • Is there some preference setting to avoid this message ? • Is there some preference setting to have a document that has only 1 page size ? This spurious message is interrupting scripts and plugins trying to apply a master page. Very best regards, Olivier
... View more
‎Dec 21, 2024
09:07 AM
By length, I meant height. The page height affects the vertical positions.
... View more
‎Dec 21, 2024
05:35 AM
@Robert at ID-Tasker Thank you for your response. I am not able to find the corresponding concepts in the C++ SDK. I had to guess the offsets to use by trial and error.
... View more
‎Dec 21, 2024
03:12 AM
Hello, Is there a direct way to get/set the XY values of a frame ? Currently I use the following (pared-down down code for simplicity) which is really complex and relies on the page height/width and whether pages are facing or not. It seems unnecessariuly complex. Is there a more direct way ? Very best regards, Olivier InterfacePtr<IGeometry> itemGeometry(curBoxIDRef, UseDefaultIID());
gBoxRect = itemGeometry->GetPathBoundingBox(InnerToParentMatrix(itemGeometry));
if (IniSettings.FacingPages)
{
// left page object bounding boxes need to be shifted by a full page width
if (pcr->pageNum % 2 == 0)
{
gBoxRect.Left(gBoxRect.left + ToPMReal(IniSettings.PageWidth));
gBoxRect.Right(gBoxRect.right + ToPMReal(IniSettings.PageWidth));
}
}
else
{
// page object bounding boxes need to be shifted to the right by a half page width
gBoxRect.Left(gBoxRect.left + ToPMReal(IniSettings.PageWidth / 2.0));
gBoxRect.Right(gBoxRect.right + ToPMReal(IniSettings.PageWidth / 2.0));
}
// 2024-12-18: all box vert positions are shifted by 1/2 page length
gBoxRect.Top(gBoxRect.top + ToPMReal(IniSettings.PageLength / 2.0));
gBoxRect.Bottom(gBoxRect.bottom + ToPMReal(IniSettings.PageLength / 2.0));
... View more
‎Dec 08, 2024
05:07 AM
1 Upvote
@Eugene Tyson Thank you very much for the suggestion.
... View more
‎Dec 03, 2024
05:43 AM
I know, but it's the Default Install Language choice that determines if you are running the World-Ready composer or not. And that is what determines if books run from left to right or the opposite.
... View more
‎Dec 03, 2024
05:03 AM
In principle, yes. You just change the Default Install Language.
... View more
‎Dec 03, 2024
03:16 AM
For some reason the closing parenthesis got caught in the URL of my previous post. The correct URL is: https://www.qppstudio.net/webhelp_xv4/mena-version-of-indesign.htm
... View more
‎Dec 03, 2024
03:14 AM
@Frans van der Vleuten You have to go back to the non-Arabic version of InDesign (see instructions at https://www.qppstudio.net/webhelp_xv4/mena-version-of-indesign.htm). Note that this is just a minor update and goes very quickly. Olivier
... View more
‎Oct 23, 2024
10:39 AM
What version of C++ were you using for your version 19 plugins ? Try using the exact same settings as for previous versions.
... View more
‎Oct 23, 2024
08:27 AM
@HotMetalPress If you can send me a WeTransfer link at any of the addresses of our contact page (https://www.qppstudio.net/coord.htm), I'd be happy to look at it. Olivier
... View more
‎Oct 23, 2024
07:30 AM
@Alam5EC6 When the pre-release version 20 SDK came out, there was a lot of mentioning that the version 20 plugins should be compliant with the C++17 standard. I made sure my code was ... but it turned out that the SDK was not ! Are you trying to build using the C++17 standard ? So I went back to C++14 and everything works fine.
... View more
‎Oct 16, 2024
03:18 AM
Hello, In my plugin, I use the following to determine if an object is a text frame or a graphic frame. Utils<IPageItemTypeUtils>()->IsTextFrame(pageItemUIDRef)
Utils<IPageItemTypeUtils>()->IsGraphicFrame(pageItemUIDRef)
Utils<IPageItemTypeUtils>()->IsEmptyGraphicFrame(pageItemUIDRef) But I cannot find a corresponding function for frames with "unassigned content". The best I can do is to see if it is a spline object and, if so, what type, using the path geometry by calling the 2 functions below (error-handling code removed for the sake of clarity): InterfacePtr<IPathGeometry> pathGeometry(itemUIDRef, UseDefaultIID();
pathType = Utils<IPathUtils>()->WhichKindOfPageItem(pathGeometry); Are frames with "unassigned content" actually splines ? Very best regards, Olivier
... View more
‎Oct 06, 2024
12:40 PM
@ARTICREATOR see the instructions at https://www.qppstudio.net/webhelp_xv4/mena-version-of-indesign.htm to install the MENA version of InDesign (MENA= Middle East and North African Languages).
... View more
‎Sep 26, 2024
10:12 PM
@Robert at ID-Tasker Ah, srry I thought he was referring to linked/chained text frames.
... View more
‎Sep 26, 2024
02:43 PM
@Lordrhavin The frames in a series of linked/chined frames are not parent of one another but rather Previous and Next frames relative to one another. I'm not sure how this would translate to scripting, but using the SDK, finding the previous frame in a chain goes something like: int32 mcfFirstFrameIndex = frameList->GetFrameIndex(mcf->GetUIDInFrameList(kFalse/*first*/));
if (mcfFirstFrameIndex == 0) {
// The given graphic frame contains the first frame in the frame list.
// There is no previous frame.
break;
}
// Determine the graphic frame that contains the previous kFrameItemBoss in the frame list.
InterfacePtr<ITextFrameColumn> previousTFC(frameList->QueryNthFrame(mcfFirstFrameIndex-1));
if (!previousTFC) {
break;
}
UIDRef previousGraphicFrameRef = this->GetGraphicFrameRef(previousTFC, kTrue/*isTOPFrameAllowed*/);
result = previousGraphicFrameRef;
Very best regards, Olivier
... View more
‎Sep 13, 2024
01:29 AM
@d1malien Interesting; I often get an exception due to public.dll at the end of a debug session in Visual C++ on Windows, when InDesign is shutting down, but never outside of the debugger. Are you experiencing this using InDesign outside of any debugger ?
... View more
‎Jun 05, 2024
08:55 PM
@dazapper This can happen if the textbox is too small to display any text in the default font size (this issue is particularly egregious in tables). Try to make your textbox larger, change the font size, and then restore its original size. Alternatively you could change the font size of your default text style.
... View more
‎May 13, 2024
03:27 AM
@karinm0510 Try re-installing the MENA version of InDesign as described at https://www.qppstudio.net/webhelp_xv4/mena-version-of-indesign.htm . Very best regards, Olivier
... View more
‎Apr 18, 2024
01:30 AM
@Lokesh29835019mhvn Here they are; they need to all be renamed as .h files instead of .txt. Very best regards, Olivier
... View more
‎Apr 17, 2024
12:35 AM
Hi @Lokesh29835019mhvn , I did finally find the hack files up to and including 17.7 but unfortunately the forum UI does not allow the attachment of H or ZIP files 😞 Please contact me via https://www.qppstudio.net/coord.htm and I'll send them to you. Very best regards, Olivier
... View more
‎Feb 27, 2024
02:23 AM
@RDI33054067w5ck Note that if you are compiling your plugin in DEBUG mode, then you must install the debug version of InDesign (which is installed in a separate folder with a diffewrent name). That is to say, you cannot use the normal version of InDesign with a plugin compiled in DEBUG mode. However, you can compile your plugin in RELEASE mode and still test it in the debugger for all intents and purposes. That is what I do 99% of the time; it is extremely rare for me to use the DEBUG version of InDesign to do any debugging.
... View more
‎Feb 27, 2024
02:15 AM
@RDI33054067w5ck You have to make sure that the major version of the SDK that you are using is the same as that of the version of InDesign that you are using. That is to say, if you are building your plugin with SDK version 17.2.0.18 then you need to be using InDesign version 17 (aka. 2022). Additionally, the minor version of your InDesign must be the same or greater than that of the SDK you are using. Again, if you are building your plugin with SDK version 17.2.0.18 then you need to be using InDesign version 17.2 or above (but not 18 or 19).
... View more
‎Feb 26, 2024
03:50 AM
1 Upvote
@Erik Vos - Het Lab I had this problem a while back and thought that I was going crazy. The problem is due to the "right-to-left" binding option that is a sticky option when creating new documents. The binding can also be changed after a document is created using the File -> Document Setup menu sequence.
... View more
‎Jan 26, 2024
09:09 PM
1 Upvote
@Esther32939330bo6v A beta version of the impending "save to cloud" functionality was introduced to version 18.5 of InDesign 2023, causing problems for many users and causing then to revert back to version 18.4. Not being connected to the internet was one of the major causes for the problems with version 18.5.
... View more
‎Jan 26, 2024
02:18 AM
@Linton291763373h32 Attached is a list of all the styles used/defined in your document, and their detailed definition. The paragraph styles are the 15 rows beginning with "para". Hope this helps you identify the issue. Very best regards, Olivier
... View more